Optional
width: numberThe width of the render target.
Optional
height: numberThe height of the render target.
Optional
count: numberThe number of render targets.
Optional
options: RenderTargetOptionsobject that holds texture parameters for an auto-generated target texture and depthBuffer/stencilBuffer booleans. For an explanation of the texture parameters see Texture.
Readonly
isReadonly
isReadonly
isDefines whether the depth buffer should be resolved when rendering into a multisampled render target.
Defines whether the stencil buffer should be resolved when rendering into a multisampled render target.
This property has no effect when .resolveDepthBuffer is set to false
.
Defines the count of MSAA samples. Can only be used with WebGL 2. Default is 0.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Fire an event type.
Checks if listener is added to an event type.
The type of event to listen to.
The function 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 function that gets removed.
Deprecated
THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the "count" parameter to enable MRT.