interface WebGLRenderTargetOptions {
    anisotropy?: number;
    colorSpace?: ColorSpace;
    depthBuffer?: boolean;
    depthTexture?: DepthTexture;
    encoding?: TextureEncoding;
    format?: number;
    generateMipmaps?: boolean;
    internalFormat?: null | PixelFormatGPU;
    magFilter?: MagnificationTextureFilter;
    minFilter?: MinificationTextureFilter;
    samples?: number;
    stencilBuffer?: boolean;
    type?: TextureDataType;
    wrapS?: Wrapping;
    wrapT?: Wrapping;
}

Hierarchy (view full)

Properties

anisotropy?: number
colorSpace?: ColorSpace
depthBuffer?: boolean
depthTexture?: DepthTexture
encoding?: TextureEncoding

Use 'colorSpace' in three.js r152+.

format?: number
generateMipmaps?: boolean
internalFormat?: null | PixelFormatGPU
samples?: number

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

0
stencilBuffer?: boolean
wrapS?: Wrapping
wrapT?: Wrapping