Inheritance: EventDispatcher → Texture → DepthTexture →
This class can be used to automatically save the depth information of a cube rendering into a cube texture with depth format. Used for PointLight shadows.
Constructs a new cube depth texture.
size
The size (width and height) of each cube face.
type
The texture type.
Default is UnsignedIntType.
mapping
The texture mapping.
Default is CubeReflectionMapping.
wrapS
The wrapS value.
Default is ClampToEdgeWrapping.
wrapT
The wrapT value.
Default is ClampToEdgeWrapping.
magFilter
The mag filter value.
Default is NearestFilter.
minFilter
The min filter value.
Default is NearestFilter.
anisotropy
The anisotropy value.
Default is Texture.DEFAULT_ANISOTROPY.
format
The texture format.
Default is DepthFormat.
Alias for CubeDepthTexture#image.
This flag can be used for type testing.
Default is true.
Set to true for cube texture handling in WebGLTextures.
Default is true.