Readback
EditReadbacks track the progress of an asynchronous read of a Buffer or Texture. The Readback can be polled for completion or the CPU with Readback:isComplete, or you can wait for it to finish using Readback:wait.
Constructors
| Buffer:newReadback | Read back the contents of the Buffer asynchronously. |
| Texture:newReadback | Read back the contents of the Texture asynchronously. |
Methods
| Readback:getBlob | Get Readback's data as a Blob. |
| Readback:getData | Get Readback's data as a table. |
| Readback:getImage | Get Readback's data as an Image. |
| Readback:isComplete | Check if a Readback is complete. |
| Readback:wait | Wait for the Readback to finish. |
| Object:release | Immediately release the Lua reference to an object. |
| Object:type | Get the type name of the object. |