On this page
Texture3D
Inherits: TextureLayered < Resource < Reference < Object
Texture with 3 dimensions.
Description
Texture3D is a 3-dimensional Texture that has a width, height, and depth. See also TextureArray.
Note: Texture3Ds can only be sampled in shaders in the GLES3 backend. In GLES2, their data can be accessed via scripting, but there is no way to render them in a hardware-accelerated manner.
Properties
data |
|
|
flags |
|
Methods
Method Descriptions
void create ( int width, int height, int depth, Format format, int flags=4 )
Creates the Texture3D with specified width, height, and depth. See Format for format options. See Flags enumerator for flags options.
© 2014–2022 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.4/classes/class_texture3d.html