WebGLRenderTarget

WebGL3DRenderTarget

Represents a three-dimensional render target.

Constructor

WebGL3DRenderTarget(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 of the render target. Default is 1.

Creates a new WebGL3DRenderTarget.

Properties

See WebGLRenderTarget for inherited properties

.depth : Integer

The depth of the render target.

.texture : Data3DTexture

The texture property is overwritten with an instance of Data3DTexture.

Methods

See WebGLRenderTarget for inherited methods

Source

For more info on how to obtain the source code of this module see this page.