isTemporary.lua 442 B

12345678910111213141516171819202122
  1. return {
  2. deprecated = true,
  3. tag = 'buffer-metadata',
  4. summary = 'Check if the Buffer is temporary.',
  5. description = 'Returns whether the Buffer is temporary.',
  6. arguments = {},
  7. returns = {
  8. temporary = {
  9. type = 'boolean',
  10. description = 'Whether the Buffer is temporary.'
  11. }
  12. },
  13. variants = {
  14. {
  15. arguments = {},
  16. returns = { 'temporary' }
  17. }
  18. },
  19. related = {
  20. 'lovr.graphics.getBuffer'
  21. }
  22. }