|
@@ -10569,13 +10569,27 @@ return {
|
|
variants = {
|
|
variants = {
|
|
{
|
|
{
|
|
arguments = {},
|
|
arguments = {},
|
|
- returns = {
|
|
|
|
|
|
+ returns = {}
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ arguments = {
|
|
{
|
|
{
|
|
- name = "map",
|
|
|
|
|
|
+ name = "t",
|
|
type = "table",
|
|
type = "table",
|
|
- description = "The list of indices in the vertex map, or nil if no vertex map is set."
|
|
|
|
|
|
+ description = "The table to fill with the vertex map."
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ returns = {}
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ arguments = {
|
|
|
|
+ {
|
|
|
|
+ name = "blob",
|
|
|
|
+ type = "Blob",
|
|
|
|
+ description = "The Blob to fill with the vertex map data."
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ returns = {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -11274,6 +11288,25 @@ return {
|
|
key = "Texture",
|
|
key = "Texture",
|
|
module = "lovr.graphics",
|
|
module = "lovr.graphics",
|
|
methods = {
|
|
methods = {
|
|
|
|
+ {
|
|
|
|
+ name = "getDepth",
|
|
|
|
+ summary = "Get the depth of the Texture.",
|
|
|
|
+ description = "Returns the depth of the Texture, or the number of images stored in the Texture.",
|
|
|
|
+ key = "Texture:getDepth",
|
|
|
|
+ module = "lovr.graphics",
|
|
|
|
+ variants = {
|
|
|
|
+ {
|
|
|
|
+ arguments = {},
|
|
|
|
+ returns = {
|
|
|
|
+ {
|
|
|
|
+ name = "depth",
|
|
|
|
+ type = "number",
|
|
|
|
+ description = "The depth of the Texture."
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
{
|
|
{
|
|
name = "getDimensions",
|
|
name = "getDimensions",
|
|
summary = "Get the dimensions of the Texture.",
|
|
summary = "Get the dimensions of the Texture.",
|
|
@@ -11293,6 +11326,11 @@ return {
|
|
name = "height",
|
|
name = "height",
|
|
type = "number",
|
|
type = "number",
|
|
description = "The height of the Texture, in pixels."
|
|
description = "The height of the Texture, in pixels."
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name = "depth",
|
|
|
|
+ type = "number",
|
|
|
|
+ description = "The number of images stored in the Texture."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|