init.lua 397 B

123456789101112
  1. return {
  2. summary = 'An asynchronous read of a GPU resource.',
  3. description = [[
  4. Readbacks track the progress of an asynchronous read of a `Buffer` or `Texture`. The Readback
  5. can be polled for completion or the CPU with `Readback:isComplete`, or you can wait for it to
  6. finish using `Readback:wait`.
  7. ]],
  8. constructors = {
  9. 'Buffer:newReadback',
  10. 'Texture:newReadback'
  11. }
  12. }