Interface IRenderTarget

interface IRenderTarget {
    assetType?: "renderTarget";
    depth: number;
    depthBuffer: boolean;
    depthTexture: DepthTexture;
    height: number;
    isTemporary?: boolean;
    isWebGLCubeRenderTarget?: boolean;
    isWebGLMultipleRenderTargets?: boolean;
    isWebGLRenderTarget: boolean;
    name?: string;
    renderManager?: IRenderManager<IRenderManagerEvent, IRenderManagerEventTypes>;
    samples: number;
    scissor: Vector4;
    scissorTest: boolean;
    sizeMultiplier?: number;
    stencilBuffer: boolean;
    targetKey?: string;
    texture: ValOrArr<Texture & {
        _target?: IRenderTarget;
    }>;
    uuid?: string;
    viewport: Vector4;
    width: number;
    clone(trackTarget?): this;
    copy(source): this;
    dispose(): void;
    setSize(width, height, depth?): void;
}

Hierarchy

Properties

assetType?: "renderTarget"
depth: number
depthBuffer: boolean

Default

true
depthTexture: DepthTexture

Default

null
height: number
isTemporary?: boolean
isWebGLCubeRenderTarget?: boolean
isWebGLMultipleRenderTargets?: boolean
isWebGLRenderTarget: boolean
name?: string
samples: number

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

Default

0
scissor: Vector4
scissorTest: boolean

Default

false
sizeMultiplier?: number
stencilBuffer: boolean

Default

true
targetKey?: string
texture: ValOrArr<Texture & {
    _target?: IRenderTarget;
}>
uuid?: string
viewport: Vector4
width: number

Methods

Generated using TypeDoc