OpenXR is an open-source, royalty-free standard for interfacing with virtual reality (VR) and augmented reality (AR) devices — collectively referred to as XR. It is developed by a working group managed by the Khronos Group consortium, the same organization behind standards such as Vulkan, OpenGL, and glTF.
History
OpenXR was announced on February 27, 2017, during the Game Developers Conference (GDC) 2017. A provisional version (0.90) was released on March 18, 2019, to gather developer feedback. The first stable release, OpenXR 1.0, was published on July 29, 2019, at SIGGRAPH 2019. The current major revision, OpenXR 1.1, was released on April 15, 2024.
Architecture
The standard defines a cross-platform API that enables developers to build applications compatible with a wide range of XR devices. Its core elements include:
- XrSpace: Representation of 3D space.
- XrInstance: Representation of the OpenXR runtime.
- System / XrSystemId: Representation of devices, including headsets and controllers.
- XrActions: Mechanism for handling user input.
- XrSession: Represents the interaction session between the application and the user.
The full specification is available via the OpenXR Registry on GitHub.
Implementations
Conformant OpenXR platforms include (among others):
- Meta (Quest line of devices, PC platform)
- Microsoft (HoloLens 2, Windows Mixed Reality headsets)
- Valve (SteamVR, since version 1.16 in February 2021)
- HTC (VIVE Cosmos, VIVE Focus 3)
- ByteDance (PICO 4, Neo3)
- Qualcomm (Snapdragon Spaces XR Developer Platform)
- Magic Leap 2
- Sony (Spatial Reality Displays)
- Collabora (Monado Runtime for GNU/Linux, since version 21.0.0)
- Canon (MREAL platform)
- Varjo (various headsets)
- Acer (SpatialLabs Display Series)
Engine and Browser Support
OpenXR application development is supported in:
- Unreal Engine (since 4.24)
- Unity (since 2020.2)
- Godot (since 4.0)
- Blender (since 2.83 LTS)
- Nvidia Omniverse
- Unigine (since version 2.19)
- Autodesk VRED
- StereoKit
- S&box
For web browsing, Google Chrome and Microsoft Edge enable WebXR support using OpenXR by default through the Chromium code base.
License
OpenXR is licensed under the Apache License 2.0.
See also
- OpenVR — Software development kit and API by Valve
- WebXR — Experimental JavaScript API for AR/VR devices
- ARCore — SDK for building augmented reality applications (Google)
- ARKit — Augmented reality API for Apple platforms