getFormat.lua 563 B

12345678910111213141516171819
  1. return {
  2. summary = 'Get the format of the Texture.',
  3. description = [[
  4. Returns the format of the Texture. This describes how many color channels are in the texture
  5. as well as the size of each one. The most common format used is `rgba`, which contains red,
  6. green, blue, and alpha color channels. See `TextureFormat` for all of the possible formats.
  7. ]],
  8. arguments = {},
  9. returns = {
  10. {
  11. name = 'format',
  12. type = 'TextureFormat',
  13. description = 'The format of the Texture.'
  14. }
  15. },
  16. related = {
  17. 'TextureFormat'
  18. }
  19. }