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.
源代码
关于如何获取此模块的源代码,请查看 本页。