Texture with 3 dimensions.
3D textures are typically used to store density maps for FogMaterial, color correction LUTs for Environment, vector fields for GPUParticlesAttractorVectorField3D and collision maps for GPUParticlesCollisionSDF3D. 3D textures can also be used in custom shaders.
Creates the ImageTexture3D with specified
depth. See Format for
format options. If
true, then generate mipmaps for the ImageTexture3D.
void update ( Image data )
Replaces the texture's existing data with the layers specified in
data. The size of
data must match the parameters that were used for create. In other words, the texture cannot be resized or have its format changed by calling update.