reset.lua 520 B

1234567891011121314151617181920212223
  1. return {
  2. tag = 'pass-misc',
  3. summary = 'Reset the Pass.',
  4. description = [[
  5. Resets the Pass, clearing all of its draws and computes and resetting all of its state to the
  6. default values.
  7. ]],
  8. arguments = {},
  9. returns = {},
  10. variants = {
  11. {
  12. arguments = {},
  13. returns = {}
  14. }
  15. },
  16. notes = [[
  17. The following things won't be reset:
  18. - Pass canvas, set with `Pass:setCanvas`.
  19. - Pass clears, set with `Pass:setClear`.
  20. - The tally buffer, set with `Pass:setTallyBuffer`.
  21. ]]
  22. }