Browse Source

Add missing Shader:getVariable argument description;

bjorn 1 year ago
parent
commit
64cdcbd03e
2 changed files with 3 additions and 1 deletions
  1. 2 1
      api/init.lua
  2. 1 0
      api/lovr/graphics/Shader/hasVariable.lua

+ 2 - 1
api/init.lua

@@ -22833,7 +22833,8 @@ return {
                   arguments = {
                   arguments = {
                     {
                     {
                       name = "name",
                       name = "name",
-                      type = "string"
+                      type = "string",
+                      description = "The name of the variable to check."
                     }
                     }
                   },
                   },
                   returns = {
                   returns = {

+ 1 - 0
api/lovr/graphics/Shader/hasVariable.lua

@@ -4,6 +4,7 @@ return {
   arguments = {
   arguments = {
     name = {
     name = {
       type = 'string',
       type = 'string',
+      description = 'The name of the variable to check.'
     }
     }
   },
   },
   returns = {
   returns = {