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

    Interface WebGLRendererParameters

    interface WebGLRendererParameters {
        alpha?: boolean;
        antialias?: boolean;
        canvas?: HTMLCanvasElement | OffscreenCanvas;
        context?: WebGLRenderingContext;
        depth?: boolean;
        failIfMajorPerformanceCaveat?: boolean;
        logarithmicDepthBuffer?: boolean;
        outputBufferType?: TextureDataType;
        powerPreference?: WebGLPowerPreference;
        precision?: string;
        premultipliedAlpha?: boolean;
        preserveDrawingBuffer?: boolean;
        reversedDepthBuffer?: boolean;
        stencil?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    alpha?: boolean

    default is false.

    antialias?: boolean

    default is false.

    canvas?: HTMLCanvasElement | OffscreenCanvas

    A Canvas where the renderer draws its output.

    depth?: boolean

    default is true.

    failIfMajorPerformanceCaveat?: boolean

    default is false.

    logarithmicDepthBuffer?: boolean

    default is false.

    outputBufferType?: TextureDataType
    UnsignedByteType
    
    powerPreference?: WebGLPowerPreference

    Can be "high-performance", "low-power" or "default"

    precision?: string

    shader precision. Can be "highp", "mediump" or "lowp".

    premultipliedAlpha?: boolean

    default is true.

    preserveDrawingBuffer?: boolean

    default is false.

    reversedDepthBuffer?: boolean

    default is false.

    stencil?: boolean

    default is false.