StackType.lua 576 B

12345678910111213141516171819
  1. return {
  2. summary = 'Types of stacks that can be pushed and popped.',
  3. description = [[
  4. Different types of stacks that can be pushed and popped with `Pass:push` and `Pass:pop`.
  5. ]],
  6. values = {
  7. {
  8. name = 'transform',
  9. description = 'The transform stack (`Pass:transform`, `Pass:translate`, etc.).'
  10. },
  11. {
  12. name = 'state',
  13. description = [[
  14. Graphics state, like `Pass:setColor`, `Pass:setFont`, etc. Notably this does not include
  15. camera poses/projections or shader variables changed with `Pass:send`.
  16. ]]
  17. }
  18. }
  19. }