encode.lua 311 B

123456789101112131415
  1. return {
  2. summary = 'Encode the TextureData as png.',
  3. description = 'Encodes the TextureData to a png.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'blob',
  8. type = 'Blob',
  9. description = 'A new Blob containing the PNG image data.'
  10. }
  11. },
  12. related = {
  13. 'lovr.filesystem.write'
  14. }
  15. }