submit.lua 501 B

123456789101112131415161718192021
  1. return {
  2. tag = 'headset-misc',
  3. summary = 'Submit a frame to the headset display.',
  4. description = [[
  5. Submits the current headset texture to the VR display. This should be called after calling
  6. `lovr.graphics.submit` with the headset render pass. Normally this is taken care of by
  7. `lovr.run`.
  8. ]],
  9. arguments = {},
  10. returns = {},
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = {}
  15. }
  16. },
  17. related = {
  18. 'lovr.headset.getPass',
  19. 'lovr.headset.getTexture'
  20. }
  21. }