API

Function isWebGpuXrSupported

  • Whether the draft WebXR/WebGPU binding is implemented by this UA — i.e. the global XRGPUBinding constructor exists. No browser ships it yet, so this returns false everywhere today; it is the single gate the rest of the XR code checks before attempting a WebGPU XR session.

    Returns boolean