Implement OpenXR Settings Panel and Stereo Overlay

This commit is contained in:
iChris4 committed 2026-09-17 04:32:22 +02:00
1 parent f222eedf6b
commit 1346e53cd6
22 files changed
+1466 -101

No files matched your search

+4
View File
@@ -238,6 +238,10 @@ void set_stereo_hud_screen(bool enabled, float width, float distance) noexcept {
g_stereoHudScreenEnabled.store(enabled, std::memory_order_relaxed);
}
bool get_stereo_hud_screen_enabled() noexcept { return g_stereoHudScreenEnabled.load(std::memory_order_relaxed); }
void get_stereo_hud_screen_size(float& width, float& distance) noexcept {
width = g_stereoHudScreenWidth.load(std::memory_order_relaxed);
distance = g_stereoHudScreenDistance.load(std::memory_order_relaxed);
}
// The desktop mirror choice. Normal is the ordinary mono presentation, so a
// build that never touches this setting presents exactly as it did before.