Add OpenXR 1.1 support

This commit is contained in:
Bastiaan Olij 2025-07-28 10:13:23 +10:00
parent 9dd6c4dbac
commit c0bc43d1de
88 changed files with 638 additions and 251 deletions

View file

@ -332,7 +332,7 @@ void OpenXRSpatialAnchorCapability::_bind_methods() {
BIND_ENUM_CONSTANT(PERSISTENCE_SCOPE_LOCAL_ANCHORS);
}
HashMap<String, bool *> OpenXRSpatialAnchorCapability::get_requested_extensions() {
HashMap<String, bool *> OpenXRSpatialAnchorCapability::get_requested_extensions(XrVersion p_version) {
HashMap<String, bool *> request_extensions;
if (GLOBAL_GET_CACHED(bool, "xr/openxr/extensions/spatial_entity/enabled") && GLOBAL_GET_CACHED(bool, "xr/openxr/extensions/spatial_entity/enable_spatial_anchors")) {