Browse Source

Add anisotropy system limit;

bjorn 7 years ago
parent
commit
c553255d49
2 changed files with 10 additions and 0 deletions
  1. 5 0
      api/init.lua
  2. 5 0
      api/lovr/graphics/getSystemLimits.lua

+ 5 - 0
api/init.lua

@@ -3783,6 +3783,11 @@ return {
                       name = "texturemsaa",
                       type = "number",
                       description = "The maximum MSAA value supported by `lovr.graphics.newTexture`."
+                    },
+                    {
+                      name = "anisotropy",
+                      type = "number",
+                      description = "The maximum anisotropy value supported by `Texture:setFilter`."
                     }
                   }
                 }

+ 5 - 0
api/lovr/graphics/getSystemLimits.lua

@@ -26,6 +26,11 @@ return {
           name = 'texturemsaa',
           type = 'number',
           description = 'The maximum MSAA value supported by `lovr.graphics.newTexture`.'
+        },
+        {
+          name = 'anisotropy',
+          type = 'number',
+          description = 'The maximum anisotropy value supported by `Texture:setFilter`.'
         }
       }
     }