getImage.lua 455 B

12345678910111213141516171819202122
  1. return {
  2. summary = 'Get Readback\'s data as an Image.',
  3. description = 'Returns the Readback\'s data as an Image.',
  4. arguments = {},
  5. returns = {
  6. image = {
  7. type = 'Image',
  8. description = 'The Image.'
  9. }
  10. },
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = { 'image' }
  15. }
  16. },
  17. notes = 'If the Readback is not reading back a Texture, returns `nil`.',
  18. related = {
  19. 'Readback:getData',
  20. 'Readback:getBlob'
  21. }
  22. }