OpenXR samples
Introduction to OpenXR
cpp
#define XR_USE_PLATFORM_WIN32
#define XR_USE_GRAPHICS_API_D3D11
arraySize = 1
openxr-simple-example
cpp
#define XR_USE_GRAPHICS_API_OPENGL
#define XR_USE_PLATFORM_WIN32
arraySize = 1
OpenXR-SDK-Source
Platform(WIN32, ANDROID...etc)
x Graphics(D3D11, D3D12, OpenGL, OpenGLES, Vulkan...etc)
cross platform(win, android...) x cross gpu(vulkan, opengl, d3d...) で難読。 Swapchain 周りが難読。
android_openxr_gles
openxr + GLES2 ? + imgui
TODO: vao を使うように改造。
https://github.com/terryky/android_openxr_gles
Meta OpenXR SDK
OVR
ライブラリーが難読。OpenXR => OVR => OpenXR のような処理あり。
https://github.com/meta-quest/Meta-OpenXR-SDK