File: CubeRenderTarget.md | Updated: 11/15/2025
This class represents a cube render target. It is a special version of WebGLCubeRenderTarget which is compatible with WebGPURenderer.
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.
Converts the given equirectangular texture to a cube map.
renderer | The renderer.
---|---
texture | The equirectangular texture.
Overrides: WebGLCubeRenderTarget#fromEquirectangularTexture
Returns: A reference to this cube render target.