Browse Source

rm removed Layer methods;

bjorn 6 months ago
parent
commit
472744dfc7
3 changed files with 0 additions and 80 deletions
  1. 0 38
      api/init.lua
  2. 0 21
      api/lovr/headset/Layer/getViewMask.lua
  3. 0 21
      api/lovr/headset/Layer/setViewMask.lua

+ 0 - 38
api/init.lua

@@ -26884,25 +26884,6 @@ return {
                 }
               }
             },
-            {
-              name = "getViewMask",
-              summary = "Get the view mask of the layer.",
-              description = "Returns the view mask of the layer.  This is which eyes the layer will show up in, and is meant to be used for stereo images, where 1 layer is rendered in the left eye and another layer is rendred in the right eye at the same position.",
-              key = "Layer:getViewMask",
-              module = "lovr.headset",
-              variants = {
-                {
-                  arguments = {},
-                  returns = {
-                    {
-                      name = "views",
-                      type = "ViewMask",
-                      description = "The view mask of the layer."
-                    }
-                  }
-                }
-              }
-            },
             {
               name = "getViewport",
               summary = "Get the viewport of the layer.",
@@ -27118,25 +27099,6 @@ return {
                 }
               }
             },
-            {
-              name = "setViewMask",
-              summary = "Set the view mask of the layer.",
-              description = "Sets the view mask of the layer.  This is which eyes the layer will show up in, and is meant to be used for stereo images, where 1 layer is rendered in the left eye and another layer is rendred in the right eye at the same position.",
-              key = "Layer:setViewMask",
-              module = "lovr.headset",
-              variants = {
-                {
-                  arguments = {
-                    {
-                      name = "views",
-                      type = "ViewMask",
-                      description = "The view mask of the layer."
-                    }
-                  },
-                  returns = {}
-                }
-              }
-            },
             {
               name = "setViewport",
               summary = "Set the viewport of the layer.",

+ 0 - 21
api/lovr/headset/Layer/getViewMask.lua

@@ -1,21 +0,0 @@
-return {
-  summary = 'Get the view mask of the layer.',
-  description = [[
-    Returns the view mask of the layer.  This is which eyes the layer will show up in, and is meant
-    to be used for stereo images, where 1 layer is rendered in the left eye and another layer is
-    rendred in the right eye at the same position.
-  ]],
-  arguments = {},
-  returns = {
-    views = {
-      type = 'ViewMask',
-      description = 'The view mask of the layer.'
-    }
-  },
-  variants = {
-    {
-      arguments = {},
-      returns = { 'views' }
-    }
-  }
-}

+ 0 - 21
api/lovr/headset/Layer/setViewMask.lua

@@ -1,21 +0,0 @@
-return {
-  summary = 'Set the view mask of the layer.',
-  description = [[
-    Sets the view mask of the layer.  This is which eyes the layer will show up in, and is meant to
-    be used for stereo images, where 1 layer is rendered in the left eye and another layer is
-    rendred in the right eye at the same position.
-  ]],
-  arguments = {
-    views = {
-      type = 'ViewMask',
-      description = 'The view mask of the layer.'
-    }
-  },
-  returns = {},
-  variants = {
-    {
-      arguments = { 'views' },
-      returns = {}
-    }
-  }
-}