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

    Options that createWebGPURenderer honours.

    interface CreateWebGPUOptions {
        debug?: boolean;
        webgpuForceWebGL?: boolean;
        perfTimestamp?: boolean;
        rendererOverride?: "webgpu" | "webgl";
    }
    Index
    debug?: boolean

    When true, log hardware point-size limits for diagnostics.

    webgpuForceWebGL?: boolean

    Diagnostic mode: keep WebGPURenderer + TSL NodeMaterial dispatch but make Three use its internal WebGL2 backend. Mutually exclusive with a pre-built device.

    perfTimestamp?: boolean

    Opt into GPU timestamp queries. Three.js gates the pool's allocation on device.features.has('timestamp-query'), so setting this is safe on drivers without the feature.

    rendererOverride?: "webgpu" | "webgl"

    Honour an explicit ?renderer=webgpu override even when the adapter advertises maxVertexBuffers < 8. Used by the WebGPU auto-fallback logic to decide whether to drop to WebGL or push through on a degenerate adapter.