Creates a new WebGLArrayRenderTarget.
Optional
width: numberthe width of the render target, in pixels. Default is 1
.
Optional
height: numberthe height of the render target, in pixels. Default is 1
.
Optional
depth: numberthe depth/layer count of the render target. Default is 1
.
Optional
options: WebGLRenderTargetOptionsoptional object that holds texture parameters for an auto-generated target texture and depthBuffer/stencilBuffer booleans. See WebGLRenderTarget for details.
The depth of the render target.
true
null
Readonly
isReadonly
isReadonly
isDefines the count of MSAA samples. Can only be used with WebGL 2. Default is 0.
0
false
true
The texture property is overwritten with an instance of DataArrayTexture.
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.
This type of render target represents an array of textures.