client: support XR_META_foveation_eye_tracked (#1123)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user