flush.lua 472 B

123456789101112131415
  1. return {
  2. tag = 'graphicsPrimitives',
  3. summary = 'Flush any pending batched draw calls.',
  4. description = [[
  5. Flushes the internal queue of draw batches. Under normal circumstances this is done
  6. automatically when needed, but the ability to flush manually may be helpful if you're
  7. integrating a LÖVR project with some external rendering code.
  8. ]],
  9. arguments = {},
  10. returns = {},
  11. related = {
  12. 'lovr.graphics.clear',
  13. 'lovr.graphics.discard'
  14. }
  15. }