Code Examples and References

If you want to read and learn more about OpenXR and the currently project available, feel free to check these repositories below:

Github

hello_ar

  • Platform: Linux, Windows
  • Graphics API: OpenGL, Vulkan, D3D
  • Language: C++

rgears

  • Platform: Linux
  • Graphics API: Vulkan
  • Language: C++

openxr-simple-example

  • Platform: Linux
  • Graphics API: OpenGL
  • Language: C

OpenXR-SDK-VisualStudio

  • Platform: Windows
  • Graphics API: D3D
  • Language: C++

OpenXR-Samples

  • Platform: Windows
  • Graphics API: OpenGL
  • Language: C++

gxr

  • Platform: Linux
  • Graphics API: Vulkan with OpenGL through external memory/memory objects
  • Language: C with glib

OpenXR-MixedReality

  • Platform: Windows
  • Graphics API: D3D
  • Language: C++

OpenXRSamples / Introduction-to-openxr

  • Platform: Windows
  • Graphics API: D3D
  • Language: C++

Stereokit

  • Platform: Windows
  • Graphics API: D3D
  • Language: C#

Games

The Dark Mod VR

  • Platform: Windows, Linux
  • Graphics API: OpenGL
  • Language: C++

OpenMW (fork) (Requires commercial assets)

  • Platform: Windows, Linux
  • Graphics API: OpenGL
  • Language: C++

Others

openxr Rust bindings

blender Blender OpenXR “Scene Inspection” GSOC progress reports with links to implementation commits

quick3d-openxr OpenXR in a Qt QML component