client: support XR_META_foveation_eye_tracked (#1123)

This commit is contained in:
galister
2026-10-22 18:52:55 +02:00
committed by GitHub
parent 2e60fa75e4
commit 76da2e1cb7
20 changed files with 896 additions and 266 deletions
+12
View File
@@ -131,6 +131,8 @@ private:
std::vector<std::pair<XrPath, xr::space>> generic_trackers;
bool eye_gaze_supported = false;
bool foveation_center_supported = false;
bool foveation_vulkan_supported = false;
bool openxr_post_processing_supported = false;
@@ -407,6 +409,16 @@ public:
return instance().eye_gaze_supported;
}
static bool get_foveation_center_supported()
{
return instance().foveation_center_supported;
}
static bool get_foveation_vulkan_supported()
{
return instance().foveation_vulkan_supported;
}
static bool get_openxr_post_processing_supported()
{
return instance().openxr_post_processing_supported;