Browse Source

Add related for CompareMode;

bjorn 7 years ago
parent
commit
dc6661e346
2 changed files with 12 additions and 0 deletions
  1. 6 0
      api/init.lua
  2. 6 0
      api/lovr/graphics/CompareMode.lua

+ 6 - 0
api/init.lua

@@ -5532,6 +5532,12 @@ return {
               name = "greater",
               description = "The depth test passes when the new depth value is greater than the existing one."
             }
+          },
+          related = {
+            "lovr.graphics.getDepthTest",
+            "lovr.graphics.setDepthTest",
+            "lovr.graphics.getStencilTest",
+            "lovr.graphics.setStencilTest"
           }
         },
         {

+ 6 - 0
api/lovr/graphics/CompareMode.lua

@@ -38,5 +38,11 @@ return {
         The depth test passes when the new depth value is greater than the existing one.
       ]]
     }
+  },
+  related = {
+    'lovr.graphics.getDepthTest',
+    'lovr.graphics.setDepthTest',
+    'lovr.graphics.getStencilTest',
+    'lovr.graphics.setStencilTest'
   }
 }