Three.V8

3D rendering engine using JavaScript as user script.

View on GitHub

<–Home

class CubeRenderTarget

A cubemap render target.

Can be used in GLRenderer.renderCube().

class CubeRenderTarget

Name Description
Constructors  
CubeRenderTarget() Creates a new CubeRenderTarget.
Methods  
dispose Dispose the unmanaged resource.

Constructors

CubeRenderTarget()

CubeRenderTarget(width: Number, height: Number)

Create a new CubeRenderTarget.

Parameters

width: width of the image data

height: height of the image data

Methods

dispose()

.dispose(): undefined

Dispose the unmanaged resource.