pop.lua 542 B

1234567891011121314151617
  1. return {
  2. tag = 'graphicsTransforms',
  3. summary = 'Pop the current transform off the stack.',
  4. description = [[
  5. Pops the current transform from the stack, returning to the transformation that was applied
  6. before `lovr.graphics.push` was called.
  7. ]],
  8. arguments = {},
  9. returns = {},
  10. notes = [[
  11. An error is thrown if there isn't a transform to pop. This can happen if you forget to call
  12. push before calling pop, or if you have an unbalanced sequence of pushes and pops.
  13. ]],
  14. related = {
  15. 'lovr.graphics.push'
  16. }
  17. }