Overview of the WebXR Device API
mainThe WebXR Device API provides web developers with access to the input and output capabilities of Virtual Reality (VR), Augmented Reality (AR), and Mixed Reality (MR) devices. It enables the development and hosting of immersive experiences directly in the browser.
Core Goals
- Capability Detection: Determine if XR capabilities are available on the user's device.
- Device Querying: Query specific XR device capabilities.
- Input Polling: Poll the state of the XR device and its associated input devices.
- High-Performance Rendering: Display imagery on the XR device at the appropriate frame rate.
Target Hardware
The API is designed to work across a wide range of hardware, including:
- ARCore-compatible devices and Android XR-compatible devices.
- Meta Quest (1, 2, and Pro).
- Microsoft HoloLens and Windows Mixed Reality headsets.
- HTC Vive and Magic Leap One.
- Samsung Galaxy XR.