@@ -23433,6 +23433,31 @@ return {
},
variants = {
{
+ description = "Create a 2D texture view referencing a single layer and mipmap.",
+ arguments = {
+ {
+ name = "layer",
+ type = "number",
+ description = "The index of the first layer in the view.",
+ default = "1"
+ },
+ name = "mipmap",
+ description = "The index of the first mipmap in the view.",
+ }
+ returns = {
+ name = "view",
+ type = "Texture",
+ description = "The new texture view."
+ description = "Create a texture view with an explicit type, layer range, and mipmap range.",
arguments = {
name = "type",
@@ -49,6 +49,12 @@ return {
+ description = 'Create a 2D texture view referencing a single layer and mipmap.',
+ arguments = { 'layer', 'mipmap' },
+ returns = { 'view' }
+ description = 'Create a texture view with an explicit type, layer range, and mipmap range.',
arguments = { 'type', 'layer', 'layerCount', 'mipmap', 'mipmapCount' },
returns = { 'view' }
}