The base class from which ColorRenderTarget and DepthStencilRenderTarget are derived from

interface BaseRenderTarget {
    inputTexture: Texture;
    maskTexture: Texture;
    targetTexture: Texture;
    getTypeName(): string;
    isOfType(type: string): boolean;
    isSame(other: ScriptObject): boolean;
}

Hierarchy (view full)

Properties

inputTexture: Texture

Color texture used in clear color operation in "CustomTexture" mode.

maskTexture: Texture

Texture used like a color mask for target texture.

targetTexture: Texture

Render target texture. Camera will render scene color values to this texture.

Methods

  • Returns true if the object matches or derives from the passed in type.

    Parameters

    • type: string

    Returns boolean

  • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

    Parameters

    Returns boolean