Browse Source

rm Canvas:getFormat;

bjorn 6 years ago
parent
commit
9ebc52d404
2 changed files with 0 additions and 39 deletions
  1. 0 23
      api/init.lua
  2. 0 16
      api/lovr/graphics/Canvas/getFormat.lua

+ 0 - 23
api/init.lua

@@ -9535,29 +9535,6 @@ return {
               },
               notes = "The dimensions of a Canvas can not be changed after it is created."
             },
-            {
-              name = "getFormat",
-              summary = "Get the format of the Canvas texture.",
-              description = "Returns the internal storage format used for the Canvas.",
-              key = "Canvas:getFormat",
-              module = "lovr.graphics",
-              related = {
-                "TextureFormat",
-                "lovr.graphics.newCanvas"
-              },
-              variants = {
-                {
-                  arguments = {},
-                  returns = {
-                    {
-                      name = "format",
-                      type = "TextureFormat",
-                      description = "The texture format used by the Canvas."
-                    }
-                  }
-                }
-              }
-            },
             {
               name = "getHeight",
               summary = "Get the height of the Canvas.",

+ 0 - 16
api/lovr/graphics/Canvas/getFormat.lua

@@ -1,16 +0,0 @@
-return {
-  summary = 'Get the format of the Canvas texture.',
-  description = 'Returns the internal storage format used for the Canvas.',
-  arguments = {},
-  returns = {
-    {
-      name = 'format',
-      type = 'TextureFormat',
-      description = 'The texture format used by the Canvas.'
-    }
-  },
-  related = {
-    'TextureFormat',
-    'lovr.graphics.newCanvas'
-  }
-}