Browse Source

Add tag for lovr.headset.getTime;

bjorn 1 year ago
parent
commit
db84c8bc19
2 changed files with 2 additions and 0 deletions
  1. 1 0
      api/init.lua
  2. 1 0
      api/lovr/headset/getTime.lua

+ 1 - 0
api/init.lua

@@ -24880,6 +24880,7 @@ return {
         },
         },
         {
         {
           name = "getTime",
           name = "getTime",
+          tag = "headset-misc",
           summary = "Get the predicted display time.",
           summary = "Get the predicted display time.",
           description = "Returns the estimated time in the future at which the light from the pixels of the current frame will hit the eyes of the user.\n\nThis can be used as a replacement for `lovr.timer.getTime` for timestamps that are used for rendering to get a smoother result that is synchronized with the display of the headset.",
           description = "Returns the estimated time in the future at which the light from the pixels of the current frame will hit the eyes of the user.\n\nThis can be used as a replacement for `lovr.timer.getTime` for timestamps that are used for rendering to get a smoother result that is synchronized with the display of the headset.",
           key = "lovr.headset.getTime",
           key = "lovr.headset.getTime",

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

@@ -1,4 +1,5 @@
 return {
 return {
+  tag = 'headset-misc',
   summary = 'Get the predicted display time.',
   summary = 'Get the predicted display time.',
   description = [[
   description = [[
     Returns the estimated time in the future at which the light from the pixels of the current frame
     Returns the estimated time in the future at which the light from the pixels of the current frame