Luxar Viewer API Documentation - v2026.10.22
    Preparing search index...
    • Consume a core device request started by the early entry, or negotiate a fresh one for direct callers and device-loss recovery, then make the fallback decision: no adapter (when requireNativeAdapter is set), an adapter outside the platform policy's platformRules, an adapter below the spec's maxVertexBuffers, or a failed native device request.

      Parameters

      • OptionalrendererOverride: "webgl" | "webgpu"
      • OptionalrequireNativeAdapter: boolean
      • OptionalplatformRules: readonly WebGPUPlatformRule[]
      • OptionalpreRequestedDevice: Promise<CoreDeviceRequest>

      Returns Promise<WebGPUDeviceRequest>