API

Function isXrSessionSupported

  • Resolve whether a given immersive session mode is supported, combining the WebXR device check, the draft WebGPU-binding check, and the UA's isSessionSupported answer. Never throws — returns false on any failure.

    Parameters

    Returns Promise<boolean>