Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Interface WebGLContextAttributes

    WebGL context attributes

    interface WebGLContextAttributes {
        alpha: boolean;
        antialias: boolean;
        depth: boolean;
        stencil: boolean;
        powerPreference: "high-performance" | "low-power" | "default";
        preserveDrawingBuffer: boolean;
        desynchronized: boolean;
        premultipliedAlpha: boolean;
        failIfMajorPerformanceCaveat: boolean;
    }
    Index
    alpha: boolean
    antialias: boolean
    depth: boolean
    stencil: boolean
    powerPreference: "high-performance" | "low-power" | "default"
    preserveDrawingBuffer: boolean
    desynchronized: boolean
    premultipliedAlpha: boolean
    failIfMajorPerformanceCaveat: boolean