File: WebGLCubeRenderTarget.md | Updated: 11/15/2025
A cube render target used in context of WebGLRenderer.
Constructs a new cube render target.
size | The size of the render target. Default is 1.
---|---
options | The configuration object.
This flag can be used for type testing.
Default is true.
Overwritten with a different texture type.
Overrides: WebGLRenderTarget#texture
Clears this cube render target.
renderer | The renderer.
---|---
color | Whether the color buffer should be cleared or not. Default is true.
depth | Whether the depth buffer should be cleared or not. Default is true.
stencil | Whether the stencil buffer should be cleared or not. Default is true.
Converts the given equirectangular texture to a cube map.
renderer | The renderer.
---|---
texture | The equirectangular texture.
Returns: A reference to this cube render target.