Creates a new WebGLCubeRenderTarget
The size, in pixels.
object that holds texture parameters for an auto-generated target texture and depthBuffer/stencilBuffer booleans. For an explanation of the texture parameters see Texture. The following are valid options:
The width of the renderTarget.
The height of the renderTarget.
(optional object that holds texture parameters for an auto-generated target texture and depthBuffer/stencilBuffer booleans.
Creates eventDispatcher object. It needs to be call with '.call' to add the functionality to an object.
Renders to the depth buffer. Default is true.
If set, the scene depth will be rendered to this texture. Default is null.
The height of the render target.
A rectangular area inside the render target's viewport. Fragments that are outside the area will be discarded.
Indicates whether the scissor test is active or not.
Renders to the stencil buffer. Default is false.
The viewport of this render target.
The width of the render target.
Adds a listener to an event type.
The type of event to listen to.
The that gets called when the event is fired.
Call this to clear the renderTarget's color, depth, and/or stencil buffers. The color buffer is set to the renderer's current clear color. Arguments default to true.
Creates a copy of this render target.
Adopts the settings of the given render target.
Fire an event type.
Dispatches a dispose event.
Use this method if you want to convert an equirectangular panorama to the cubemap format.
The renderer.
The equirectangular texture.
Checks if listener is added to an event type.
The type of event to listen to.
The that gets called when the event is fired.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener that gets removed.
Sets the size of the render target.
Generated using TypeDoc
Used by the CubeCamera as its WebGLRenderTarget. See CubeCamera for examples.