Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Texture3D¶
Inherits: Texture < Resource < RefCounted < Object
Inherited By: CompressedTexture3D, ImageTexture3D, NoiseTexture3D, PlaceholderTexture3D, Texture3DRD
Base class for 3-dimensionnal textures.
Description¶
Base class for ImageTexture3D and CompressedTexture3D. Cannot be used directly, but contains all the functions necessary for accessing the derived resource types. Texture3D is the base class for all 3-dimensional texture types. See also TextureLayered.
All images need to have the same width, height and number of mipmap levels.
To create such a texture file yourself, reimport your image files using the Godot Editor import presets.
Methods¶
_get_data ( ) virtual const |
|
_get_depth ( ) virtual const |
|
_get_format ( ) virtual const |
|
_get_height ( ) virtual const |
|
_get_width ( ) virtual const |
|
_has_mipmaps ( ) virtual const |
|
create_placeholder ( ) const |
|
get_data ( ) const |
|
get_depth ( ) const |
|
get_format ( ) const |
|
get_height ( ) const |
|
get_width ( ) |