Browse Source

Minor note about quad views;

bjorn 1 month ago
parent
commit
2caaff4439
2 changed files with 3 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 2 1
      api/lovr/headset/getViewCount.lua

+ 1 - 1
api/init.lua

@@ -23756,7 +23756,7 @@ return {
           name = "getViewCount",
           tag = "headset",
           summary = "Get the number of views used for rendering.",
-          description = "Returns the number of views used for rendering.  Each view consists of a pose in space and a set of angle values that determine the field of view.\n\nThis is usually 2 for stereo rendering configurations, but it can also be different.  For example, one way of doing foveated rendering uses 2 views for each eye -- one low quality view with a wider field of view, and a high quality view with a narrower field of view.",
+          description = "Returns the number of views used for rendering.  Each view consists of a pose in space and a set of angle values that determine the field of view.\n\nThis is usually 2 for stereo rendering configurations, but it can also be different.  For example, one way of doing foveated rendering uses 2 views for each eye -- one low quality view with a wider field of view, and a high quality view with a narrower field of view.  On those systems, this function will return 4.",
           key = "lovr.headset.getViewCount",
           module = "lovr.headset",
           related = {

+ 2 - 1
api/lovr/headset/getViewCount.lua

@@ -7,7 +7,8 @@ return {
 
     This is usually 2 for stereo rendering configurations, but it can also be different.  For
     example, one way of doing foveated rendering uses 2 views for each eye -- one low quality view
-    with a wider field of view, and a high quality view with a narrower field of view.
+    with a wider field of view, and a high quality view with a narrower field of view.  On those
+    systems, this function will return 4.
   ]],
   arguments = {},
   returns = {