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

    Function requiresNativeWebGPU

    • Whether a page at pageURL must be running on a native WebGPU backend in the native-WebGPU project: it is a viewer page asking for renderer=webgpu without the webgpuForceWebgl diagnostic (which pins three's WebGL2 backend on purpose).

      Parameters

      • pageURL: string

        page.url() after the viewer reported ready

      Returns boolean

      True when a non-native backend there is a failure, not a fallback