WebGLRenderTarget →
WebGLArrayRenderTarget
This type of render target represents an array of textures.
Constructor
WebGLArrayRenderTarget(width : Integer, height : Integer, depth : Integer)
- width — the width of the render target, in pixels. Default is
1.
- height — the height of the render target, in pixels. Default is
1.
- depth — the depth/layer count of the render target. Default is
1.
Creates a new WebGLArrayRenderTarget.
Properties
See WebGLRenderTarget for inherited properties.
The depth/layer count of the render target.
The texture property is overwritten with an instance of DataArrayTexture.
Methods
See WebGLRenderTarget for inherited methods.
Source
For more info on how to obtain the source code of this module see this page.