Browse Source

Add headset tag to getPass/submit;

bjorn 2 years ago
parent
commit
f33c46a13c
3 changed files with 902 additions and 1126 deletions
  1. 900 1126
      api/init.lua
  2. 1 0
      api/lovr/headset/getPass.lua
  3. 1 0
      api/lovr/headset/submit.lua

File diff suppressed because it is too large
+ 900 - 1126
api/init.lua


+ 1 - 0
api/lovr/headset/getPass.lua

@@ -1,4 +1,5 @@
 return {
 return {
+  tag = 'headset',
   summary = 'Get a Pass that renders to the headset.',
   summary = 'Get a Pass that renders to the headset.',
   description = 'Returns a `Pass` that renders to the headset display.',
   description = 'Returns a `Pass` that renders to the headset display.',
   arguments = {},
   arguments = {},

+ 1 - 0
api/lovr/headset/submit.lua

@@ -1,4 +1,5 @@
 return {
 return {
+  tag = 'headset',
   summary = 'Submit a frame to the headset display.',
   summary = 'Submit a frame to the headset display.',
   description = [[
   description = [[
     Submits the current headset texture to the VR display.  This should be called after calling
     Submits the current headset texture to the VR display.  This should be called after calling

Some files were not shown because too many files changed in this diff