Luxar Viewer API Documentation - v2026.10.22
    Preparing search index...
    • Construct a WebGPURenderer. Consumes a pre-requested device or starts a fresh request with raised limits to bypass three's compat-mode defaults (see forwardedAdapterLimits in early-device-request.ts). Performs await renderer.init() before returning.

      Returns { fallback: true } so the caller can drop to WebGL when the adapter advertises maxVertexBuffers < 8 (WebGPU spec minimum) and rendererOverride !== 'webgpu', or when requireNativeAdapter is set and no native device was obtained. A browser without navigator.gpu skips the chunk prefetch; a later adapter or device failure may not.

      Parameters

      Returns Promise<CreateWebGPUResult>