Selva Compute API Reference - v1.1.2
    Preparing search index...

    Interface RenderTargetOptions

    interface RenderTargetOptions {
        anisotropy?: number;
        colorSpace?: ColorSpace;
        count?: number;
        depth?: number;
        depthBuffer?: boolean;
        depthTexture?: DepthTexture | null;
        flipY?: boolean;
        format?: PixelFormat;
        generateMipmaps?: boolean;
        internalFormat?: PixelFormatGPU | null;
        magFilter?: MagnificationTextureFilter;
        mapping?: AnyMapping;
        minFilter?: MinificationTextureFilter;
        multiview?: boolean;
        resolveDepthBuffer?: boolean;
        resolveStencilBuffer?: boolean;
        samples?: number;
        stencilBuffer?: boolean;
        type?: TextureDataType;
        wrapR?: Wrapping;
        wrapS?: Wrapping;
        wrapT?: Wrapping;
    }

    Hierarchy (View Summary)

    Index

    Properties

    anisotropy?: number
    colorSpace?: ColorSpace
    count?: number
    depth?: number
    depthBuffer?: boolean
    depthTexture?: DepthTexture | null
    flipY?: boolean
    format?: PixelFormat
    generateMipmaps?: boolean
    internalFormat?: PixelFormatGPU | null
    mapping?: AnyMapping
    multiview?: boolean
    resolveDepthBuffer?: boolean
    resolveStencilBuffer?: boolean
    samples?: number

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

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