|
@@ -905,7 +905,7 @@
|
|
<param index="4" name="mipmaps" type="int" default="1" />
|
|
<param index="4" name="mipmaps" type="int" default="1" />
|
|
<param index="5" name="slice_type" type="int" enum="RenderingDevice.TextureSliceType" default="0" />
|
|
<param index="5" name="slice_type" type="int" enum="RenderingDevice.TextureSliceType" default="0" />
|
|
<description>
|
|
<description>
|
|
- Creates a shared texture using the specified [param view] and the texture information from [param with_texture]'s [param layer] and [param mipmap]. The number of included mipmaps from the original texture can be controlled using the [param mipmaps] parameter. Only relevant for textures with multiple layers, such as 3D textures, texture arrays and cubemaps. For single-layer textures, use [method texture_create_shared]
|
|
|
|
|
|
+ Creates a shared texture using the specified [param view] and the texture information from [param with_texture]'s [param layer] and [param mipmap]. The number of included mipmaps from the original texture can be controlled using the [param mipmaps] parameter. Only relevant for textures with multiple layers, such as 3D textures, texture arrays and cubemaps. For single-layer textures, use [method texture_create_shared].
|
|
For 2D textures (which only have one layer), [param layer] must be [code]0[/code].
|
|
For 2D textures (which only have one layer), [param layer] must be [code]0[/code].
|
|
[b]Note:[/b] Layer slicing is only supported for 2D texture arrays, not 3D textures or cubemaps.
|
|
[b]Note:[/b] Layer slicing is only supported for 2D texture arrays, not 3D textures or cubemaps.
|
|
</description>
|
|
</description>
|