Remove hand tracker from application.h

This commit is contained in:
Patrick Nicolas
2025-08-19 19:14:10 +02:00
parent 5f6641c38f
commit 0acfe7cd24
12 changed files with 79 additions and 64 deletions
+8
View File
@@ -41,6 +41,9 @@ xr::system::system(xr::instance & inst, XrFormFactor formfactor)
CHECK_XR(xrGetSystem(inst, &system_info, &id));
assert(id != XR_NULL_SYSTEM_ID);
if (inst.has_extension(XR_EXT_HAND_TRACKING_EXTENSION_NAME))
hand_tracking_supported_ = hand_tracking_properties().supportsHandTracking;
}
XrGraphicsRequirementsVulkan2KHR xr::system::graphics_requirements() const
@@ -236,6 +239,11 @@ xr::system::passthrough_type xr::system::passthrough_supported() const
return passthrough_type::no_passthrough;
}
bool xr::system::hand_tracking_supported() const
{
return hand_tracking_supported_;
}
vk::raii::PhysicalDevice xr::system::physical_device(vk::raii::Instance & vulkan) const
{
auto xrGetVulkanGraphicsDevice2KHR =