Browse Source

Add missing tag for Pass:getHeight;

bjorn 3 years ago
parent
commit
2b9109f780
2 changed files with 11 additions and 9 deletions
  1. 10 9
      api/init.lua
  2. 1 0
      api/lovr/graphics/Pass/getHeight.lua

+ 10 - 9
api/init.lua

@@ -14907,18 +14907,12 @@ return {
             },
             {
               name = "getHeight",
+              tag = "pass-misc",
               summary = "Get the texture height of a render pass.",
               description = "Returns the height of the textures attached to the render pass.",
               key = "Pass:getHeight",
               module = "lovr.graphics",
-              related = {
-                "Pass:getWidth",
-                "Pass:getDimensions",
-                "Pass:getViewCount",
-                "lovr.graphics.getPass",
-                "lovr.system.getWindowHeight",
-                "lovr.headset.getDisplayHeight"
-              },
+              notes = "If the pass is not a render pass, this function returns zero.",
               variants = {
                 {
                   arguments = {},
@@ -14931,7 +14925,14 @@ return {
                   }
                 }
               },
-              notes = "If the pass is not a render pass, this function returns zero."
+              related = {
+                "Pass:getWidth",
+                "Pass:getDimensions",
+                "Pass:getViewCount",
+                "lovr.graphics.getPass",
+                "lovr.system.getWindowHeight",
+                "lovr.headset.getDisplayHeight"
+              }
             },
             {
               name = "getProjection",

+ 1 - 0
api/lovr/graphics/Pass/getHeight.lua

@@ -1,4 +1,5 @@
 return {
+  tag = 'pass-misc',
   summary = 'Get the texture height of a render pass.',
   description = 'Returns the height of the textures attached to the render pass.',
   arguments = {},