getType.lua 464 B

12345678910111213141516171819202122
  1. return {
  2. deprecated = true,
  3. tag = 'pass-misc',
  4. summary = 'Get the type of the Pass.',
  5. description = [[
  6. Returns the type of the pass (render, compute, or transfer). The type restricts what kinds of
  7. functions can be called on the pass.
  8. ]],
  9. arguments = {},
  10. returns = {
  11. type = {
  12. type = 'PassType',
  13. description = 'The type of the Pass.'
  14. }
  15. },
  16. variants = {
  17. {
  18. arguments = {},
  19. returns = { 'type' }
  20. }
  21. }
  22. }