Class WebGL3DRenderTarget

Represents a three-dimensional render target.

Hierarchy

Constructors

  • Creates a new WebGL3DRenderTarget.

    Parameters

    • width: number

      the width of the render target, in pixels.

    • height: number

      the height of the render target, in pixels.

    • depth: number

      the depth of the render target.

    Returns WebGL3DRenderTarget

Properties

anisotropy: any

Deprecated

Use texture.anisotropy instead.

depth: number

The depth of the render target.

depthBuffer: boolean

Default

true

depthTexture: DepthTexture

Default

null

format: any

Deprecated

Use texture.format instead.

generateMipmaps: any

Deprecated

Use texture.generateMipmaps instead.

height: number
isWebGL3DRenderTarget: true
isWebGLRenderTarget: true
magFilter: any

Deprecated

Use texture.magFilter instead.

minFilter: any

Deprecated

Use texture.minFilter instead.

offset: any

Deprecated

Use texture.offset instead.

repeat: any

Deprecated

Use texture.repeat instead.

samples: number

Defines the count of MSAA samples. Can only be used with WebGL 2. Default is 0.

Default

0

scissor: THREE.Vector4
scissorTest: boolean

Default

false

stencilBuffer: boolean

Default

true

texture: Data3DTexture

The texture property is overwritten with an instance of Data3DTexture.

type: any

Deprecated

Use texture.type instead.

viewport: THREE.Vector4
width: number
wrapS: any

Deprecated

Use texture.wrapS instead.

wrapT: any

Deprecated

Use texture.wrapT instead.

Methods

  • Fire an event type.

    Parameters

    Returns void

  • Returns void

  • Parameters

    • width: number
    • height: number
    • Optional depth: number

    Returns void

Generated using TypeDoc