Luxar Viewer API Documentation - v2026.10.22
    Preparing search index...
    WebGPUDeviceRequest:
        | { fallback: true }
        | { fallback: false; device: unknown; webgpuModule?: Promise<__module> }

    The result of Luxar's core-adapter negotiation, before constructing Three's renderer.

    Type Declaration

    • { fallback: true }
    • { fallback: false; device: unknown; webgpuModule?: Promise<__module> }
      • fallback: false
      • device: unknown
      • OptionalwebgpuModule?: Promise<__module>

        The three/webgpu chunk, prefetched as soon as the adapter answered (not after requestDevice, since getting an adapter already means this session is going WebGPU). Threaded through so the eventual WebGPURenderer construction reuses this fetch instead of starting a second one.