A cube render target used in context of WebGLRenderer for cube map rendering. This is useful for creating dynamic cube maps for reflections, environment mapping, etc.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Clears this cube render target.
Clears this cube render target.
Value parameters
- color
-
Whether the color buffer should be cleared or not.
- depth
-
Whether the depth buffer should be cleared or not.
- renderer
-
The renderer.
- stencil
-
Whether the stencil buffer should be cleared or not.
Attributes
Converts the given equirectangular texture to a cube map.
Converts the given equirectangular texture to a cube map.
Value parameters
- renderer
-
The renderer.
- texture
-
The equirectangular texture.
Attributes
- Returns
-
A reference to this cube render target.
Inherited methods
Attributes
- Inherited from:
- WebGLRenderTarget
Attributes
- Inherited from:
- WebGLRenderTarget
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- WebGLRenderTarget
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- WebGLRenderTarget
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Concrete fields
This flag can be used for type testing.
This flag can be used for type testing.
Attributes
Inherited fields
The depth of the render target
Whether to allocate a depth buffer or not.
Instead of saving the depth in a renderbuffer, a texture can be used instead which is useful for further processing e.g. in context of post-processing.
Instead of saving the depth in a renderbuffer, a texture can be used instead which is useful for further processing e.g. in context of post-processing.
Attributes
- Inherited from:
- WebGLRenderTarget
The height of the render target
This flag can be used for type testing.
Whether this target is used for multiview rendering.
Whether to resolve the depth buffer or not.
Whether to resolve the stencil buffer or not.
The number of MSAA samples. A value of 0 disables MSAA.
The number of MSAA samples. A value of 0 disables MSAA.
Attributes
- Inherited from:
- WebGLRenderTarget
A rectangular area inside the render target's viewport. Fragments that are outside the area will be discarded.
A rectangular area inside the render target's viewport. Fragments that are outside the area will be discarded.
Attributes
- Inherited from:
- WebGLRenderTarget
Indicates whether the scissor test should be enabled when rendering into this render target or not.
Indicates whether the scissor test should be enabled when rendering into this render target or not.
Attributes
- Inherited from:
- WebGLRenderTarget
Whether to allocate a stencil buffer or not.
The texture representing the default color attachment.
An array of textures. Each color attachment is represented as a separate texture. Has at least a single entry for the default color attachment.
An array of textures. Each color attachment is represented as a separate texture. Has at least a single entry for the default color attachment.
Attributes
- Inherited from:
- WebGLRenderTarget
A rectangular area representing the render target's viewport.
A rectangular area representing the render target's viewport.
Attributes
- Inherited from:
- WebGLRenderTarget
The width of the render target