From f653c5e91c2a3594edd63677cabeae2d71317727 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 10 Jul 2026 03:55:50 +0300 Subject: [PATCH] update khronos headers from mainstream. --- src/video/khronos/openxr/openxr.h | 577 +++++++- src/video/khronos/openxr/openxr_reflection.h | 1218 ++++++++++++++++- .../openxr/openxr_reflection_parent_structs.h | 18 + .../openxr/openxr_reflection_structs.h | 33 + src/video/khronos/vulkan/vulkan_core.h | 25 +- 5 files changed, 1859 insertions(+), 12 deletions(-) diff --git a/src/video/khronos/openxr/openxr.h b/src/video/khronos/openxr/openxr.h index 5b3c5424cd..eaeb2af43a 100644 --- a/src/video/khronos/openxr/openxr.h +++ b/src/video/khronos/openxr/openxr.h @@ -26,7 +26,7 @@ extern "C" { ((((major) & 0xffffULL) << 48) | (((minor) & 0xffffULL) << 32) | ((patch) & 0xffffffffULL)) // OpenXR current version number. -#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 1, 60) +#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 1, 61) // OpenXR 1.0 version number #define XR_API_VERSION_1_0 XR_MAKE_VERSION(1, 0, XR_VERSION_PATCH(XR_CURRENT_API_VERSION)) @@ -313,8 +313,14 @@ typedef enum XrResult { XR_ERROR_SPATIAL_COMPONENT_NOT_ENABLED_EXT = -1000740006, XR_ERROR_SPATIAL_PERSISTENCE_SCOPE_UNSUPPORTED_EXT = -1000763001, XR_ERROR_SPATIAL_PERSISTENCE_SCOPE_INCOMPATIBLE_EXT = -1000781001, + XR_ERROR_KEYLESS_AUTH_NOT_SETUP_ANDROID = -1000787000, + XR_ERROR_KEYLESS_AUTH_FAILED_ANDROID = -1000787001, + XR_ERROR_GEOSPATIAL_TRACKER_NOT_RUNNING_ANDROID = -1000789000, + XR_ERROR_GEOSPATIAL_COORDINATES_INVALID_ANDROID = -1000789001, + XR_ERROR_GEOSPATIAL_CLOUD_AUTH_FAILED_ANDROID = -1000789002, XR_ERROR_SPATIAL_ANCHOR_ATTACHABLE_COMPONENT_NOT_FOUND_ANDROID = -1000790001, XR_ERROR_SPATIAL_ANCHOR_ENTITY_ID_INVALID_ANDROID = -1000795001, + XR_ERROR_SURFACE_ANCHOR_LOCATION_UNSUPPORTED_ANDROID = -1000797000, XR_ERROR_EXTENSION_DEPENDENCY_NOT_ENABLED_KHR = XR_ERROR_EXTENSION_DEPENDENCY_NOT_ENABLED, XR_ERROR_PERMISSION_INSUFFICIENT_KHR = XR_ERROR_PERMISSION_INSUFFICIENT, XR_RESULT_MAX_ENUM = 0x7FFFFFFF @@ -755,6 +761,7 @@ typedef enum XrStructureType { XR_TYPE_SPATIAL_ENTITY_STATE_BD = 1000389019, XR_TYPE_SPATIAL_ENTITY_ANCHOR_CREATE_INFO_BD = 1000389020, XR_TYPE_ANCHOR_SPACE_CREATE_INFO_BD = 1000389021, + XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_SPHERE_BD = 1000389022, XR_TYPE_SYSTEM_SPATIAL_ANCHOR_PROPERTIES_BD = 1000390000, XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_BD = 1000390001, XR_TYPE_SPATIAL_ANCHOR_CREATE_COMPLETION_BD = 1000390002, @@ -768,6 +775,10 @@ typedef enum XrStructureType { XR_TYPE_SYSTEM_SPATIAL_MESH_PROPERTIES_BD = 1000393000, XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_SPATIAL_MESH_BD = 1000393001, XR_TYPE_FUTURE_POLL_RESULT_PROGRESS_BD = 1000394001, + XR_TYPE_BODY_TRACKING_POSTURE_DATA_BD = 1000395001, + XR_TYPE_BODY_JOINT_VELOCITIES_BD = 1000395002, + XR_TYPE_BODY_JOINT_ACCELERATIONS_BD = 1000395003, + XR_TYPE_BODY_TRACKING_STATE_BD = 1000395004, XR_TYPE_SYSTEM_SPATIAL_PLANE_PROPERTIES_BD = 1000396000, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_PLANE_ORIENTATION_BD = 1000396001, XR_TYPE_SENSE_DATA_FILTER_PLANE_ORIENTATION_BD = 1000396002, @@ -880,6 +891,8 @@ typedef enum XrStructureType { XR_TYPE_ENVIRONMENT_RAYCAST_FILTER_DISTANCE_META = 1000592005, XR_TYPE_TILE_PROPERTIES_META = 1000609000, XR_TYPE_TILE_PROPERTIES_HINT_META = 1000609001, + XR_TYPE_HAND_TRACKING_UNEXTRAPOLATED_POSES_REQUEST_META = 1000683000, + XR_TYPE_HAND_TRACKING_UNEXTRAPOLATED_POSES_META = 1000683001, XR_TYPE_LIGHT_ESTIMATOR_CREATE_INFO_ANDROID = 1000700000, XR_TYPE_LIGHT_ESTIMATE_GET_INFO_ANDROID = 1000700001, XR_TYPE_LIGHT_ESTIMATE_ANDROID = 1000700002, @@ -940,6 +953,16 @@ typedef enum XrStructureType { XR_TYPE_SPATIAL_MARKER_SIZE_EXT = 1000743004, XR_TYPE_SPATIAL_MARKER_STATIC_OPTIMIZATION_EXT = 1000743005, XR_TYPE_SPATIAL_COMPONENT_MARKER_LIST_EXT = 1000743006, + XR_TYPE_SYSTEM_DYNAMIC_OBJECT_TRACKING_PROPERTIES_BD = 1000746000, + XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_DYNAMIC_OBJECT_BD = 1000746001, + XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_DYNAMIC_OBJECT_BD = 1000746002, + XR_TYPE_DYNAMIC_OBJECT_DATA_BD = 1000746003, + XR_TYPE_SENSE_DATA_FILTER_DYNAMIC_OBJECT_TYPE_BD = 1000746004, + XR_TYPE_SYSTEM_DYNAMIC_OBJECT_KEYBOARD_PROPERTIES_BD = 1000747000, + XR_TYPE_SYSTEM_DYNAMIC_OBJECT_MOUSE_PROPERTIES_BD = 1000748000, + XR_TYPE_SPATIAL_BOUNDS_SPHEREF_ANDROID = 1000761000, + XR_TYPE_SPATIAL_BOUNDS_BOXF_ANDROID = 1000761001, + XR_TYPE_SPATIAL_BOUNDS_FRUSTUMF_ANDROID = 1000761002, XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ANCHOR_EXT = 1000762000, XR_TYPE_SPATIAL_COMPONENT_ANCHOR_LIST_EXT = 1000762001, XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_EXT = 1000762002, @@ -961,10 +984,26 @@ typedef enum XrStructureType { XR_TYPE_SPATIAL_RAYCAST_INFO_ANDROID = 1000786001, XR_TYPE_SPATIAL_COMPONENT_RAYCAST_RESULT_LIST_ANDROID = 1000786002, XR_TYPE_SPATIAL_RAYCAST_SNAPSHOT_CREATE_INFO_ANDROID = 1000786003, + XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_API_KEY_ANDROID = 1000787000, + XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_TOKEN_ANDROID = 1000787001, + XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_KEYLESS_ANDROID = 1000787002, + XR_TYPE_GOOGLE_CLOUD_AUTH_ERROR_RESULT_ANDROID = 1000787003, + XR_TYPE_SYSTEM_GEOSPATIAL_PROPERTIES_ANDROID = 1000789000, + XR_TYPE_GEOSPATIAL_TRACKER_CREATE_INFO_ANDROID = 1000789001, + XR_TYPE_EVENT_DATA_GEOSPATIAL_TRACKER_STATE_CHANGED_ANDROID = 1000789002, + XR_TYPE_GEOSPATIAL_POSE_FROM_POSE_LOCATE_INFO_ANDROID = 1000789003, + XR_TYPE_GEOSPATIAL_POSE_RESULT_ANDROID = 1000789004, + XR_TYPE_GEOSPATIAL_POSE_LOCATE_INFO_ANDROID = 1000789005, + XR_TYPE_VPS_AVAILABILITY_CHECK_COMPLETION_ANDROID = 1000789006, XR_TYPE_SPATIAL_ANCHOR_PARENT_ANDROID = 1000790000, XR_TYPE_SPATIAL_DISCOVERY_UNIQUE_ENTITIES_FILTER_ANDROID = 1000791001, XR_TYPE_SPATIAL_COMPONENT_SUBSUMED_BY_LIST_ANDROID = 1000791002, XR_TYPE_SPATIAL_ANCHOR_SPACE_FROM_ID_CREATE_INFO_ANDROID = 1000795000, + XR_TYPE_GEOSPATIAL_ANCHOR_CREATE_INFO_ANDROID = 1000797000, + XR_TYPE_SURFACE_ANCHOR_CREATE_INFO_ANDROID = 1000797001, + XR_TYPE_SURFACE_ANCHOR_CREATE_COMPLETION_ANDROID = 1000797002, + XR_TYPE_SYSTEM_GEOSPATIAL_ANCHOR_PROPERTIES_ANDROID = 1000797003, + XR_TYPE_GEOSPATIAL_TRACKER_ANCHOR_TRACKING_INFO_ANDROID = 1000797004, XR_TYPE_BATTERY_STATE_DISPLAY_EXT = 1000836000, XR_TYPE_LOADER_INIT_INFO_PROPERTIES_EXT = 1000838000, XR_TYPE_EVENT_DATA_VIEW_CONFIGURATION_VIEWS_CHANGED_EXT = 1000839000, @@ -1107,6 +1146,7 @@ typedef enum XrObjectType { XR_OBJECT_TYPE_SPATIAL_CONTEXT_EXT = 1000740001, XR_OBJECT_TYPE_SPATIAL_SNAPSHOT_EXT = 1000740002, XR_OBJECT_TYPE_SPATIAL_PERSISTENCE_CONTEXT_EXT = 1000763000, + XR_OBJECT_TYPE_GEOSPATIAL_TRACKER_ANDROID = 1000789000, XR_OBJECT_TYPE_MAX_ENUM = 0x7FFFFFFF } XrObjectType; typedef XrFlags64 XrInstanceCreateFlags; @@ -8142,7 +8182,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetRenderModelPoseTopLevelUserPathEXT( // XR_QCOM_tracking_optimization_settings is a preprocessor guard. Do not pass it to API calls. #define XR_QCOM_tracking_optimization_settings 1 -#define XR_QCOM_tracking_optimization_settings_SPEC_VERSION 1 +#define XR_QCOM_tracking_optimization_settings_SPEC_VERSION 2 #define XR_QCOM_TRACKING_OPTIMIZATION_SETTINGS_EXTENSION_NAME "XR_QCOM_tracking_optimization_settings" typedef enum XrTrackingOptimizationSettingsDomainQCOM { @@ -8152,10 +8192,14 @@ typedef enum XrTrackingOptimizationSettingsDomainQCOM { typedef enum XrTrackingOptimizationSettingsHintQCOM { XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_NONE_QCOM = 0, - XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LONG_RANGE_PRIORIZATION_QCOM = 1, - XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_CLOSE_RANGE_PRIORIZATION_QCOM = 2, - XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LOW_POWER_PRIORIZATION_QCOM = 3, - XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_HIGH_POWER_PRIORIZATION_QCOM = 4, + XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LONG_RANGE_PRIORITIZATION_QCOM = 1, + XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_CLOSE_RANGE_PRIORITIZATION_QCOM = 2, + XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LOW_POWER_PRIORITIZATION_QCOM = 3, + XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_HIGH_POWER_PRIORITIZATION_QCOM = 4, + XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LONG_RANGE_PRIORIZATION_QCOM = XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LONG_RANGE_PRIORITIZATION_QCOM, + XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_CLOSE_RANGE_PRIORIZATION_QCOM = XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_CLOSE_RANGE_PRIORITIZATION_QCOM, + XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LOW_POWER_PRIORIZATION_QCOM = XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LOW_POWER_PRIORITIZATION_QCOM, + XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_HIGH_POWER_PRIORIZATION_QCOM = XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_HIGH_POWER_PRIORITIZATION_QCOM, XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_MAX_ENUM_QCOM = 0x7FFFFFFF } XrTrackingOptimizationSettingsHintQCOM; typedef XrResult (XRAPI_PTR *PFN_xrSetTrackingOptimizationSettingsHintQCOM)(XrSession session, XrTrackingOptimizationSettingsDomainQCOM domain, XrTrackingOptimizationSettingsHintQCOM hint); @@ -8844,7 +8888,7 @@ XR_DEFINE_ATOM(XrSpatialEntityIdBD) XR_DEFINE_HANDLE(XrSenseDataProviderBD) XR_DEFINE_HANDLE(XrSenseDataSnapshotBD) XR_DEFINE_HANDLE(XrAnchorBD) -#define XR_BD_spatial_sensing_SPEC_VERSION 1 +#define XR_BD_spatial_sensing_SPEC_VERSION 2 #define XR_BD_SPATIAL_SENSING_EXTENSION_NAME "XR_BD_spatial_sensing" typedef enum XrSpatialEntityComponentTypeBD { @@ -8854,7 +8898,9 @@ typedef enum XrSpatialEntityComponentTypeBD { XR_SPATIAL_ENTITY_COMPONENT_TYPE_POLYGON_BD = 3, XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_3D_BD = 4, XR_SPATIAL_ENTITY_COMPONENT_TYPE_TRIANGLE_MESH_BD = 5, + XR_SPATIAL_ENTITY_COMPONENT_TYPE_SPHERE_BD = 6, XR_SPATIAL_ENTITY_COMPONENT_TYPE_PLANE_ORIENTATION_BD = 1000396000, + XR_SPATIAL_ENTITY_COMPONENT_TYPE_DYNAMIC_OBJECT_BD = 1000746000, XR_SPATIAL_ENTITY_COMPONENT_TYPE_MAX_ENUM_BD = 0x7FFFFFFF } XrSpatialEntityComponentTypeBD; @@ -8892,6 +8938,7 @@ typedef enum XrSenseDataProviderTypeBD { XR_SENSE_DATA_PROVIDER_TYPE_SCENE_BD = 1000392000, XR_SENSE_DATA_PROVIDER_TYPE_MESH_BD = 1000393000, XR_SENSE_DATA_PROVIDER_TYPE_PLANE_BD = 1000396000, + XR_SENSE_DATA_PROVIDER_TYPE_DYNAMIC_OBJECT_BD = 1000746000, XR_SENSE_DATA_PROVIDER_TYPE_MAX_ENUM_BD = 0x7FFFFFFF } XrSenseDataProviderTypeBD; @@ -8978,6 +9025,13 @@ typedef struct XrSpatialEntityComponentDataTriangleMeshBD { uint16_t* indices; } XrSpatialEntityComponentDataTriangleMeshBD; +// XrSpatialEntityComponentDataSphereBD extends XrSpatialEntityComponentDataBaseHeaderBD +typedef struct XrSpatialEntityComponentDataSphereBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrSpheref sphere; +} XrSpatialEntityComponentDataSphereBD; + typedef struct XrSenseDataProviderCreateInfoBD { XrStructureType type; const void* XR_MAY_ALIAS next; @@ -9394,6 +9448,99 @@ typedef struct XrFuturePollResultProgressBD { +// XR_BD_body_tracking_auxiliary_metrics is a preprocessor guard. Do not pass it to API calls. +#define XR_BD_body_tracking_auxiliary_metrics 1 +#define XR_BD_body_tracking_auxiliary_metrics_SPEC_VERSION 1 +#define XR_BD_BODY_TRACKING_AUXILIARY_METRICS_EXTENSION_NAME "XR_BD_body_tracking_auxiliary_metrics" + +typedef enum XrBodyTrackingPostureBD { + XR_BODY_TRACKING_POSTURE_STOMP_BD = 1, + XR_BODY_TRACKING_POSTURE_STATIC_BD = 2, + XR_BODY_TRACKING_POSTURE_MAX_ENUM_BD = 0x7FFFFFFF +} XrBodyTrackingPostureBD; + +typedef enum XrBodyTrackingStatusBD { + XR_BODY_TRACKING_STATUS_INVALID_BD = 0, + XR_BODY_TRACKING_STATUS_VALID_BD = 1, + XR_BODY_TRACKING_STATUS_LIMITED_BD = 2, + XR_BODY_TRACKING_STATUS_MAX_ENUM_BD = 0x7FFFFFFF +} XrBodyTrackingStatusBD; + +typedef enum XrBodyTrackingMessageBD { + XR_BODY_TRACKING_MESSAGE_NO_ERROR_BD = 0, + XR_BODY_TRACKING_MESSAGE_TRACKER_NOT_CALIBRATED_BD = 1, + XR_BODY_TRACKING_MESSAGE_TRACKER_NUM_NOT_ENOUGH_BD = 2, + XR_BODY_TRACKING_MESSAGE_TRACKER_STATE_NOT_SATISFIED_BD = 3, + XR_BODY_TRACKING_MESSAGE_TRACKER_PERSISTENT_INVISIBILITY_BD = 4, + XR_BODY_TRACKING_MESSAGE_TRACKER_DATA_ERROR_BD = 5, + XR_BODY_TRACKING_MESSAGE_USER_CHANGE_BD = 6, + XR_BODY_TRACKING_MESSAGE_TRACKING_POSE_ERROR_BD = 7, + XR_BODY_TRACKING_MESSAGE_MAX_ENUM_BD = 0x7FFFFFFF +} XrBodyTrackingMessageBD; +typedef XrFlags64 XrSpaceAccelerationFlagsBD; + +// Flag bits for XrSpaceAccelerationFlagsBD +static const XrSpaceAccelerationFlagsBD XR_SPACE_ACCELERATION_LINEAR_VALID_BIT_BD = 0x00000001; +static const XrSpaceAccelerationFlagsBD XR_SPACE_ACCELERATION_ANGULAR_VALID_BIT_BD = 0x00000002; + +// XrBodyTrackingPostureDataBD extends XrBodyJointLocationsBD +typedef struct XrBodyTrackingPostureDataBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + uint32_t postureCount; + XrBodyTrackingPostureBD* postureData; +} XrBodyTrackingPostureDataBD; + +typedef struct XrBodyJointVelocityBD { + XrSpaceVelocityFlags velocityFlags; + XrVector3f linearVelocity; + XrVector3f angularVelocity; +} XrBodyJointVelocityBD; + +// XrBodyJointVelocitiesBD extends XrBodyJointLocationsBD +typedef struct XrBodyJointVelocitiesBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + uint32_t velocityCount; + XrBodyJointVelocityBD* velocities; +} XrBodyJointVelocitiesBD; + +typedef struct XrBodyJointAccelerationBD { + XrSpaceAccelerationFlagsBD accelerationFlags; + XrVector3f linearAcceleration; + XrVector3f angularAcceleration; +} XrBodyJointAccelerationBD; + +// XrBodyJointAccelerationsBD extends XrBodyJointLocationsBD +typedef struct XrBodyJointAccelerationsBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + uint32_t accelerationCount; + XrBodyJointAccelerationBD* accelerations; +} XrBodyJointAccelerationsBD; + +typedef struct XrBodyTrackingStateBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrBodyTrackingStatusBD status; + XrBodyTrackingMessageBD message; +} XrBodyTrackingStateBD; + +typedef XrResult (XRAPI_PTR *PFN_xrStartBodyTrackingCalibrationAppBD)(XrSession session); +typedef XrResult (XRAPI_PTR *PFN_xrGetBodyTrackingStateBD)(XrSession session, XrBodyTrackingStateBD* state); + +#ifndef XR_NO_PROTOTYPES +#ifdef XR_EXTENSION_PROTOTYPES +XRAPI_ATTR XrResult XRAPI_CALL xrStartBodyTrackingCalibrationAppBD( + XrSession session); + +XRAPI_ATTR XrResult XRAPI_CALL xrGetBodyTrackingStateBD( + XrSession session, + XrBodyTrackingStateBD* state); +#endif /* XR_EXTENSION_PROTOTYPES */ +#endif /* !XR_NO_PROTOTYPES */ + + // XR_BD_spatial_plane is a preprocessor guard. Do not pass it to API calls. #define XR_BD_spatial_plane 1 #define XR_BD_spatial_plane_SPEC_VERSION 1 @@ -9846,6 +9993,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrEndAudioPeriodBD( typedef enum XrHandTrackingDataSourceEXT { XR_HAND_TRACKING_DATA_SOURCE_UNOBSTRUCTED_EXT = 1, XR_HAND_TRACKING_DATA_SOURCE_CONTROLLER_EXT = 2, + XR_HAND_TRACKING_DATA_SOURCE_UNOBSTRUCTED_WIDE_MOTION_META = 1000686000, XR_HAND_TRACKING_DATA_SOURCE_MAX_ENUM_EXT = 0x7FFFFFFF } XrHandTrackingDataSourceEXT; // XrHandTrackingDataSourceInfoEXT extends XrHandTrackerCreateInfoEXT @@ -11698,6 +11846,52 @@ XRAPI_ATTR XrResult XRAPI_CALL xrSetTilePropertiesHintMETA( #endif /* !XR_NO_PROTOTYPES */ +// XR_META_hand_tracking_unextrapolated_poses is a preprocessor guard. Do not pass it to API calls. +#define XR_META_hand_tracking_unextrapolated_poses 1 +#define XR_META_hand_tracking_unextrapolated_poses_SPEC_VERSION 1 +#define XR_META_HAND_TRACKING_UNEXTRAPOLATED_POSES_EXTENSION_NAME "XR_META_hand_tracking_unextrapolated_poses" +// XrHandTrackingUnextrapolatedPosesRequestMETA extends XrHandJointsLocateInfoEXT +typedef struct XrHandTrackingUnextrapolatedPosesRequestMETA { + XrStructureType type; + const void* XR_MAY_ALIAS next; +} XrHandTrackingUnextrapolatedPosesRequestMETA; + +// XrHandTrackingUnextrapolatedPosesMETA extends XrHandJointLocationsEXT +typedef struct XrHandTrackingUnextrapolatedPosesMETA { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrTime captureTime; +} XrHandTrackingUnextrapolatedPosesMETA; + + + +// XR_META_hand_tracking_frequency_hint is a preprocessor guard. Do not pass it to API calls. +#define XR_META_hand_tracking_frequency_hint 1 +#define XR_META_hand_tracking_frequency_hint_SPEC_VERSION 1 +#define XR_META_HAND_TRACKING_FREQUENCY_HINT_EXTENSION_NAME "XR_META_hand_tracking_frequency_hint" + +typedef enum XrHandTrackingFrequencyHintMETA { + XR_HAND_TRACKING_FREQUENCY_HINT_DEFAULT_META = 1, + XR_HAND_TRACKING_FREQUENCY_HINT_HIGH_META = 2, + XR_HAND_TRACKING_FREQUENCY_HINT_MAX_ENUM_META = 0x7FFFFFFF +} XrHandTrackingFrequencyHintMETA; +typedef XrResult (XRAPI_PTR *PFN_xrSetHandTrackingFrequencyHintMETA)(XrSession session, XrHandTrackingFrequencyHintMETA frequencyHint); + +#ifndef XR_NO_PROTOTYPES +#ifdef XR_EXTENSION_PROTOTYPES +XRAPI_ATTR XrResult XRAPI_CALL xrSetHandTrackingFrequencyHintMETA( + XrSession session, + XrHandTrackingFrequencyHintMETA frequencyHint); +#endif /* XR_EXTENSION_PROTOTYPES */ +#endif /* !XR_NO_PROTOTYPES */ + + +// XR_META_hand_tracking_wide_motion_mode2 is a preprocessor guard. Do not pass it to API calls. +#define XR_META_hand_tracking_wide_motion_mode2 1 +#define XR_META_hand_tracking_wide_motion_mode2_SPEC_VERSION 1 +#define XR_META_HAND_TRACKING_WIDE_MOTION_MODE2_EXTENSION_NAME "XR_META_hand_tracking_wide_motion_mode2" + + // XR_ANDROID_light_estimation is a preprocessor guard. Do not pass it to API calls. #define XR_ANDROID_light_estimation 1 XR_DEFINE_HANDLE(XrLightEstimatorANDROID) @@ -12206,6 +12400,9 @@ typedef enum XrSpatialCapabilityEXT { typedef enum XrSpatialCapabilityFeatureEXT { XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_FIXED_SIZE_MARKERS_EXT = 1000743000, XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_STATIC_MARKERS_EXT = 1000743001, + XR_SPATIAL_CAPABILITY_FEATURE_SPHERE_BOUNDS_FILTER_ANDROID = 1000761000, + XR_SPATIAL_CAPABILITY_FEATURE_BOX_BOUNDS_FILTER_ANDROID = 1000761001, + XR_SPATIAL_CAPABILITY_FEATURE_FRUSTUM_BOUNDS_FILTER_ANDROID = 1000761002, XR_SPATIAL_CAPABILITY_FEATURE_MAX_ENUM_EXT = 0x7FFFFFFF } XrSpatialCapabilityFeatureEXT; @@ -12736,6 +12933,114 @@ typedef struct XrSpatialComponentMarkerListEXT { #define XR_LOGITECH_MX_INK_STYLUS_INTERACTION_EXTENSION_NAME "XR_LOGITECH_mx_ink_stylus_interaction" +// XR_BD_dynamic_object_tracking is a preprocessor guard. Do not pass it to API calls. +#define XR_BD_dynamic_object_tracking 1 +#define XR_BD_dynamic_object_tracking_SPEC_VERSION 1 +#define XR_BD_DYNAMIC_OBJECT_TRACKING_EXTENSION_NAME "XR_BD_dynamic_object_tracking" + +typedef enum XrDynamicObjectTypeBD { + XR_DYNAMIC_OBJECT_TYPE_UNKNOWN_BD = 0, + XR_DYNAMIC_OBJECT_TYPE_KEYBOARD_BD = 1000747000, + XR_DYNAMIC_OBJECT_TYPE_MOUSE_BD = 1000748000, + XR_DYNAMIC_OBJECT_TYPE_MAX_ENUM_BD = 0x7FFFFFFF +} XrDynamicObjectTypeBD; +// XrSystemDynamicObjectTrackingPropertiesBD extends XrSystemProperties +typedef struct XrSystemDynamicObjectTrackingPropertiesBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrBool32 supportsDynamicObjectTracking; +} XrSystemDynamicObjectTrackingPropertiesBD; + +// XrSenseDataProviderCreateInfoDynamicObjectBD extends XrSenseDataProviderCreateInfoBD +typedef struct XrSenseDataProviderCreateInfoDynamicObjectBD { + XrStructureType type; + const void* XR_MAY_ALIAS next; + uint32_t trackingTypeCount; + const XrDynamicObjectTypeBD* trackingTypes; +} XrSenseDataProviderCreateInfoDynamicObjectBD; + +typedef struct XrDynamicObjectDataBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrDynamicObjectTypeBD objectType; +} XrDynamicObjectDataBD; + +// XrSpatialEntityComponentDataDynamicObjectBD extends XrSpatialEntityComponentDataBaseHeaderBD +typedef struct XrSpatialEntityComponentDataDynamicObjectBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrDynamicObjectDataBD data; +} XrSpatialEntityComponentDataDynamicObjectBD; + +// XrSenseDataFilterDynamicObjectTypeBD extends XrSenseDataQueryInfoBD +typedef struct XrSenseDataFilterDynamicObjectTypeBD { + XrStructureType type; + const void* XR_MAY_ALIAS next; + uint32_t typeCount; + const XrDynamicObjectTypeBD* types; +} XrSenseDataFilterDynamicObjectTypeBD; + + + +// XR_BD_dynamic_object_keyboard is a preprocessor guard. Do not pass it to API calls. +#define XR_BD_dynamic_object_keyboard 1 +#define XR_BD_dynamic_object_keyboard_SPEC_VERSION 1 +#define XR_BD_DYNAMIC_OBJECT_KEYBOARD_EXTENSION_NAME "XR_BD_dynamic_object_keyboard" +// XrSystemDynamicObjectKeyboardPropertiesBD extends XrSystemProperties +typedef struct XrSystemDynamicObjectKeyboardPropertiesBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrBool32 supportsDynamicObjectKeyboard; +} XrSystemDynamicObjectKeyboardPropertiesBD; + + + +// XR_BD_dynamic_object_mouse is a preprocessor guard. Do not pass it to API calls. +#define XR_BD_dynamic_object_mouse 1 +#define XR_BD_dynamic_object_mouse_SPEC_VERSION 1 +#define XR_BD_DYNAMIC_OBJECT_MOUSE_EXTENSION_NAME "XR_BD_dynamic_object_mouse" +// XrSystemDynamicObjectMousePropertiesBD extends XrSystemProperties +typedef struct XrSystemDynamicObjectMousePropertiesBD { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrBool32 supportsDynamicObjectMouse; +} XrSystemDynamicObjectMousePropertiesBD; + + + +// XR_ANDROID_spatial_discovery_bounds is a preprocessor guard. Do not pass it to API calls. +#define XR_ANDROID_spatial_discovery_bounds 1 +#define XR_ANDROID_spatial_discovery_bounds_SPEC_VERSION 1 +#define XR_ANDROID_SPATIAL_DISCOVERY_BOUNDS_EXTENSION_NAME "XR_ANDROID_spatial_discovery_bounds" +// XrSpatialBoundsSpherefANDROID extends XrSpatialDiscoverySnapshotCreateInfoEXT +typedef struct XrSpatialBoundsSpherefANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + XrSpace space; + XrTime time; + XrSpheref sphere; +} XrSpatialBoundsSpherefANDROID; + +// XrSpatialBoundsBoxfANDROID extends XrSpatialDiscoverySnapshotCreateInfoEXT +typedef struct XrSpatialBoundsBoxfANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + XrSpace space; + XrTime time; + XrBoxf box; +} XrSpatialBoundsBoxfANDROID; + +// XrSpatialBoundsFrustumfANDROID extends XrSpatialDiscoverySnapshotCreateInfoEXT +typedef struct XrSpatialBoundsFrustumfANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + XrSpace space; + XrTime time; + XrFrustumf frustum; +} XrSpatialBoundsFrustumfANDROID; + + + // XR_EXT_spatial_anchor is a preprocessor guard. Do not pass it to API calls. #define XR_EXT_spatial_anchor 1 #define XR_EXT_spatial_anchor_SPEC_VERSION 1 @@ -13101,6 +13406,191 @@ XRAPI_ATTR XrResult XRAPI_CALL xrCreateSpatialRaycastSnapshotANDROID( #endif /* !XR_NO_PROTOTYPES */ +// XR_ANDROID_google_cloud_auth is a preprocessor guard. Do not pass it to API calls. +#define XR_ANDROID_google_cloud_auth 1 +#define XR_ANDROID_google_cloud_auth_SPEC_VERSION 1 +#define XR_ANDROID_GOOGLE_CLOUD_AUTH_EXTENSION_NAME "XR_ANDROID_google_cloud_auth" + +typedef enum XrGoogleCloudAuthErrorANDROID { + XR_GOOGLE_CLOUD_AUTH_ERROR_NONE_ANDROID = 0, + XR_GOOGLE_CLOUD_AUTH_ERROR_QUOTA_EXCEEDED_ANDROID = -1, + XR_GOOGLE_CLOUD_AUTH_ERROR_UNREACHABLE_ANDROID = -2, + XR_GOOGLE_CLOUD_AUTH_ERROR_ANDROID = -3, + XR_GOOGLE_CLOUD_AUTH_ERROR_MAX_ENUM_ANDROID = 0x7FFFFFFF +} XrGoogleCloudAuthErrorANDROID; +typedef struct XR_MAY_ALIAS XrGoogleCloudAuthInfoBaseHeaderANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; +} XrGoogleCloudAuthInfoBaseHeaderANDROID; + +typedef struct XrGoogleCloudAuthInfoApiKeyANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + const char* apiKey; +} XrGoogleCloudAuthInfoApiKeyANDROID; + +typedef struct XrGoogleCloudAuthInfoTokenANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + const char* authToken; +} XrGoogleCloudAuthInfoTokenANDROID; + +typedef struct XrGoogleCloudAuthInfoKeylessANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; +} XrGoogleCloudAuthInfoKeylessANDROID; + +// XrGoogleCloudAuthErrorResultANDROID extends XrGoogleCloudAuthInfoBaseHeaderANDROID +typedef struct XrGoogleCloudAuthErrorResultANDROID { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrGoogleCloudAuthErrorANDROID error; +} XrGoogleCloudAuthErrorResultANDROID; + +typedef XrResult (XRAPI_PTR *PFN_xrSetGoogleCloudAuthAsyncANDROID)(XrSession session, const XrGoogleCloudAuthInfoBaseHeaderANDROID* authInfo, XrFutureEXT* future); +typedef XrResult (XRAPI_PTR *PFN_xrSetGoogleCloudAuthCompleteANDROID)(XrSession session, XrFutureEXT future, XrFutureCompletionEXT* completion); + +#ifndef XR_NO_PROTOTYPES +#ifdef XR_EXTENSION_PROTOTYPES +XRAPI_ATTR XrResult XRAPI_CALL xrSetGoogleCloudAuthAsyncANDROID( + XrSession session, + const XrGoogleCloudAuthInfoBaseHeaderANDROID* authInfo, + XrFutureEXT* future); + +XRAPI_ATTR XrResult XRAPI_CALL xrSetGoogleCloudAuthCompleteANDROID( + XrSession session, + XrFutureEXT future, + XrFutureCompletionEXT* completion); +#endif /* XR_EXTENSION_PROTOTYPES */ +#endif /* !XR_NO_PROTOTYPES */ + + +// XR_ANDROID_geospatial is a preprocessor guard. Do not pass it to API calls. +#define XR_ANDROID_geospatial 1 +XR_DEFINE_HANDLE(XrGeospatialTrackerANDROID) +#define XR_ANDROID_geospatial_SPEC_VERSION 1 +#define XR_ANDROID_GEOSPATIAL_EXTENSION_NAME "XR_ANDROID_geospatial" + +typedef enum XrGeospatialTrackerStateANDROID { + XR_GEOSPATIAL_TRACKER_STATE_STOPPED_ANDROID = 0, + XR_GEOSPATIAL_TRACKER_STATE_RUNNING_ANDROID = 1, + XR_GEOSPATIAL_TRACKER_STATE_INITIALIZATION_FAILED_ANDROID = 2, + XR_GEOSPATIAL_TRACKER_STATE_MAX_ENUM_ANDROID = 0x7FFFFFFF +} XrGeospatialTrackerStateANDROID; + +typedef enum XrVPSAvailabilityANDROID { + XR_VPS_AVAILABILITY_UNAVAILABLE_ANDROID = 1, + XR_VPS_AVAILABILITY_AVAILABLE_ANDROID = 2, + XR_VPSAVAILABILITY_MAX_ENUM_ANDROID = 0x7FFFFFFF +} XrVPSAvailabilityANDROID; +typedef XrFlags64 XrGeospatialPoseFlagsANDROID; + +// Flag bits for XrGeospatialPoseFlagsANDROID +static const XrGeospatialPoseFlagsANDROID XR_GEOSPATIAL_POSE_ORIENTATION_VALID_BIT_ANDROID = 0x00000001; +static const XrGeospatialPoseFlagsANDROID XR_GEOSPATIAL_POSE_POSITION_VALID_BIT_ANDROID = 0x00000002; + +typedef struct XrGeospatialPoseANDROID { + XrQuaternionf eastUpSouthOrientation; + double latitude; + double longitude; + double altitude; +} XrGeospatialPoseANDROID; + +// XrSystemGeospatialPropertiesANDROID extends XrSystemProperties +typedef struct XrSystemGeospatialPropertiesANDROID { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrBool32 supportsGeospatial; +} XrSystemGeospatialPropertiesANDROID; + +typedef struct XrGeospatialTrackerCreateInfoANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; +} XrGeospatialTrackerCreateInfoANDROID; + +typedef struct XrEventDataGeospatialTrackerStateChangedANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + XrGeospatialTrackerANDROID geospatialTracker; + XrGeospatialTrackerStateANDROID state; + XrResult initializationResult; + XrTime time; +} XrEventDataGeospatialTrackerStateChangedANDROID; + +typedef struct XrGeospatialPoseFromPoseLocateInfoANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + XrSpace space; + XrTime time; + XrPosef pose; +} XrGeospatialPoseFromPoseLocateInfoANDROID; + +typedef struct XrGeospatialPoseResultANDROID { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrGeospatialPoseFlagsANDROID poseFlags; + XrGeospatialPoseANDROID geospatialPose; + double horizontalAccuracy; + double verticalAccuracy; + double orientationYawAccuracy; +} XrGeospatialPoseResultANDROID; + +typedef struct XrGeospatialPoseLocateInfoANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + XrSpace space; + XrTime time; + XrGeospatialPoseANDROID geospatialPose; +} XrGeospatialPoseLocateInfoANDROID; + +typedef struct XrVPSAvailabilityCheckCompletionANDROID { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrResult futureResult; + XrVPSAvailabilityANDROID availability; +} XrVPSAvailabilityCheckCompletionANDROID; + +typedef XrResult (XRAPI_PTR *PFN_xrCreateGeospatialTrackerANDROID)(XrSession session, const XrGeospatialTrackerCreateInfoANDROID* createInfo, XrGeospatialTrackerANDROID* geospatialTrackerOutput); +typedef XrResult (XRAPI_PTR *PFN_xrDestroyGeospatialTrackerANDROID)(XrGeospatialTrackerANDROID geospatialTracker); +typedef XrResult (XRAPI_PTR *PFN_xrLocateGeospatialPoseFromPoseANDROID)(XrGeospatialTrackerANDROID geospatialTracker, const XrGeospatialPoseFromPoseLocateInfoANDROID* locateInfo, XrGeospatialPoseResultANDROID* geospatialPoseResult); +typedef XrResult (XRAPI_PTR *PFN_xrLocateGeospatialPoseANDROID)(XrGeospatialTrackerANDROID geospatialTracker, const XrGeospatialPoseLocateInfoANDROID* locateInfo, XrSpaceLocation* location); +typedef XrResult (XRAPI_PTR *PFN_xrCheckVpsAvailabilityAsyncANDROID)(XrSession session, double latitude, double longitude, XrFutureEXT* future); +typedef XrResult (XRAPI_PTR *PFN_xrCheckVpsAvailabilityCompleteANDROID)(XrSession session, XrFutureEXT future, XrVPSAvailabilityCheckCompletionANDROID* completion); + +#ifndef XR_NO_PROTOTYPES +#ifdef XR_EXTENSION_PROTOTYPES +XRAPI_ATTR XrResult XRAPI_CALL xrCreateGeospatialTrackerANDROID( + XrSession session, + const XrGeospatialTrackerCreateInfoANDROID* createInfo, + XrGeospatialTrackerANDROID* geospatialTrackerOutput); + +XRAPI_ATTR XrResult XRAPI_CALL xrDestroyGeospatialTrackerANDROID( + XrGeospatialTrackerANDROID geospatialTracker); + +XRAPI_ATTR XrResult XRAPI_CALL xrLocateGeospatialPoseFromPoseANDROID( + XrGeospatialTrackerANDROID geospatialTracker, + const XrGeospatialPoseFromPoseLocateInfoANDROID* locateInfo, + XrGeospatialPoseResultANDROID* geospatialPoseResult); + +XRAPI_ATTR XrResult XRAPI_CALL xrLocateGeospatialPoseANDROID( + XrGeospatialTrackerANDROID geospatialTracker, + const XrGeospatialPoseLocateInfoANDROID* locateInfo, + XrSpaceLocation* location); + +XRAPI_ATTR XrResult XRAPI_CALL xrCheckVpsAvailabilityAsyncANDROID( + XrSession session, + double latitude, + double longitude, + XrFutureEXT* future); + +XRAPI_ATTR XrResult XRAPI_CALL xrCheckVpsAvailabilityCompleteANDROID( + XrSession session, + XrFutureEXT future, + XrVPSAvailabilityCheckCompletionANDROID* completion); +#endif /* XR_EXTENSION_PROTOTYPES */ +#endif /* !XR_NO_PROTOTYPES */ + + // XR_ANDROID_spatial_entity_bound_anchor is a preprocessor guard. Do not pass it to API calls. #define XR_ANDROID_spatial_entity_bound_anchor 1 #define XR_ANDROID_spatial_entity_bound_anchor_SPEC_VERSION 2 @@ -13177,6 +13667,79 @@ XRAPI_ATTR XrResult XRAPI_CALL xrCreateSpatialAnchorSpaceFromIdANDROID( #endif /* !XR_NO_PROTOTYPES */ +// XR_ANDROID_geospatial_anchor is a preprocessor guard. Do not pass it to API calls. +#define XR_ANDROID_geospatial_anchor 1 +#define XR_ANDROID_geospatial_anchor_SPEC_VERSION 1 +#define XR_ANDROID_GEOSPATIAL_ANCHOR_EXTENSION_NAME "XR_ANDROID_geospatial_anchor" + +typedef enum XrSurfaceAnchorTypeANDROID { + XR_SURFACE_ANCHOR_TYPE_TERRAIN_ANDROID = 1, + XR_SURFACE_ANCHOR_TYPE_ROOFTOP_ANDROID = 2, + XR_SURFACE_ANCHOR_TYPE_MAX_ENUM_ANDROID = 0x7FFFFFFF +} XrSurfaceAnchorTypeANDROID; +// XrSystemGeospatialAnchorPropertiesANDROID extends XrSystemProperties +typedef struct XrSystemGeospatialAnchorPropertiesANDROID { + XrStructureType type; + void* XR_MAY_ALIAS next; + uint32_t maxSurfaceAnchorCount; +} XrSystemGeospatialAnchorPropertiesANDROID; + +// XrGeospatialTrackerAnchorTrackingInfoANDROID extends XrGeospatialTrackerCreateInfoANDROID +typedef struct XrGeospatialTrackerAnchorTrackingInfoANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + XrBool32 shouldTrackPlanes; +} XrGeospatialTrackerAnchorTrackingInfoANDROID; + +typedef struct XrGeospatialAnchorCreateInfoANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + XrGeospatialTrackerANDROID geospatialTracker; + XrGeospatialPoseANDROID geospatialPose; +} XrGeospatialAnchorCreateInfoANDROID; + +typedef struct XrSurfaceAnchorCreateInfoANDROID { + XrStructureType type; + const void* XR_MAY_ALIAS next; + XrGeospatialTrackerANDROID geospatialTracker; + XrSurfaceAnchorTypeANDROID surfaceAnchorType; + XrQuaternionf eastUpSouthOrientation; + double latitude; + double longitude; + double altitudeRelativeToSurface; +} XrSurfaceAnchorCreateInfoANDROID; + +typedef struct XrSurfaceAnchorCreateCompletionANDROID { + XrStructureType type; + void* XR_MAY_ALIAS next; + XrResult futureResult; + XrSpatialEntityIdEXT anchorEntityId; +} XrSurfaceAnchorCreateCompletionANDROID; + +typedef XrResult (XRAPI_PTR *PFN_xrCreateGeospatialAnchorANDROID)(XrSpatialContextEXT spatialContext, const XrGeospatialAnchorCreateInfoANDROID* createInfo, XrSpatialEntityIdEXT* anchorEntityId); +typedef XrResult (XRAPI_PTR *PFN_xrCreateSurfaceAnchorAsyncANDROID)(XrSpatialContextEXT spatialContext, const XrSurfaceAnchorCreateInfoANDROID* createInfo, XrFutureEXT* future); +typedef XrResult (XRAPI_PTR *PFN_xrCreateSurfaceAnchorCompleteANDROID)(XrSpatialContextEXT spatialContext, XrFutureEXT future, XrSurfaceAnchorCreateCompletionANDROID* completion); + +#ifndef XR_NO_PROTOTYPES +#ifdef XR_EXTENSION_PROTOTYPES +XRAPI_ATTR XrResult XRAPI_CALL xrCreateGeospatialAnchorANDROID( + XrSpatialContextEXT spatialContext, + const XrGeospatialAnchorCreateInfoANDROID* createInfo, + XrSpatialEntityIdEXT* anchorEntityId); + +XRAPI_ATTR XrResult XRAPI_CALL xrCreateSurfaceAnchorAsyncANDROID( + XrSpatialContextEXT spatialContext, + const XrSurfaceAnchorCreateInfoANDROID* createInfo, + XrFutureEXT* future); + +XRAPI_ATTR XrResult XRAPI_CALL xrCreateSurfaceAnchorCompleteANDROID( + XrSpatialContextEXT spatialContext, + XrFutureEXT future, + XrSurfaceAnchorCreateCompletionANDROID* completion); +#endif /* XR_EXTENSION_PROTOTYPES */ +#endif /* !XR_NO_PROTOTYPES */ + + // XR_EXT_interaction_profile_battery_state_display is a preprocessor guard. Do not pass it to API calls. #define XR_EXT_interaction_profile_battery_state_display 1 #define XR_EXT_interaction_profile_battery_state_display_SPEC_VERSION 1 diff --git a/src/video/khronos/openxr/openxr_reflection.h b/src/video/khronos/openxr/openxr_reflection.h index 4c0010e089..567cfc2f44 100644 --- a/src/video/khronos/openxr/openxr_reflection.h +++ b/src/video/khronos/openxr/openxr_reflection.h @@ -199,8 +199,14 @@ XR_ENUM_STR(XrResult); _(XR_ERROR_SPATIAL_COMPONENT_NOT_ENABLED_EXT, -1000740006) \ _(XR_ERROR_SPATIAL_PERSISTENCE_SCOPE_UNSUPPORTED_EXT, -1000763001) \ _(XR_ERROR_SPATIAL_PERSISTENCE_SCOPE_INCOMPATIBLE_EXT, -1000781001) \ + _(XR_ERROR_KEYLESS_AUTH_NOT_SETUP_ANDROID, -1000787000) \ + _(XR_ERROR_KEYLESS_AUTH_FAILED_ANDROID, -1000787001) \ + _(XR_ERROR_GEOSPATIAL_TRACKER_NOT_RUNNING_ANDROID, -1000789000) \ + _(XR_ERROR_GEOSPATIAL_COORDINATES_INVALID_ANDROID, -1000789001) \ + _(XR_ERROR_GEOSPATIAL_CLOUD_AUTH_FAILED_ANDROID, -1000789002) \ _(XR_ERROR_SPATIAL_ANCHOR_ATTACHABLE_COMPONENT_NOT_FOUND_ANDROID, -1000790001) \ _(XR_ERROR_SPATIAL_ANCHOR_ENTITY_ID_INVALID_ANDROID, -1000795001) \ + _(XR_ERROR_SURFACE_ANCHOR_LOCATION_UNSUPPORTED_ANDROID, -1000797000) \ _(XR_RESULT_MAX_ENUM, 0x7FFFFFFF) #define XR_LIST_ENUM_XrStructureType(_) \ @@ -638,6 +644,7 @@ XR_ENUM_STR(XrResult); _(XR_TYPE_SPATIAL_ENTITY_STATE_BD, 1000389019) \ _(XR_TYPE_SPATIAL_ENTITY_ANCHOR_CREATE_INFO_BD, 1000389020) \ _(XR_TYPE_ANCHOR_SPACE_CREATE_INFO_BD, 1000389021) \ + _(XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_SPHERE_BD, 1000389022) \ _(XR_TYPE_SYSTEM_SPATIAL_ANCHOR_PROPERTIES_BD, 1000390000) \ _(XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_BD, 1000390001) \ _(XR_TYPE_SPATIAL_ANCHOR_CREATE_COMPLETION_BD, 1000390002) \ @@ -651,6 +658,10 @@ XR_ENUM_STR(XrResult); _(XR_TYPE_SYSTEM_SPATIAL_MESH_PROPERTIES_BD, 1000393000) \ _(XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_SPATIAL_MESH_BD, 1000393001) \ _(XR_TYPE_FUTURE_POLL_RESULT_PROGRESS_BD, 1000394001) \ + _(XR_TYPE_BODY_TRACKING_POSTURE_DATA_BD, 1000395001) \ + _(XR_TYPE_BODY_JOINT_VELOCITIES_BD, 1000395002) \ + _(XR_TYPE_BODY_JOINT_ACCELERATIONS_BD, 1000395003) \ + _(XR_TYPE_BODY_TRACKING_STATE_BD, 1000395004) \ _(XR_TYPE_SYSTEM_SPATIAL_PLANE_PROPERTIES_BD, 1000396000) \ _(XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_PLANE_ORIENTATION_BD, 1000396001) \ _(XR_TYPE_SENSE_DATA_FILTER_PLANE_ORIENTATION_BD, 1000396002) \ @@ -763,6 +774,8 @@ XR_ENUM_STR(XrResult); _(XR_TYPE_ENVIRONMENT_RAYCAST_FILTER_DISTANCE_META, 1000592005) \ _(XR_TYPE_TILE_PROPERTIES_META, 1000609000) \ _(XR_TYPE_TILE_PROPERTIES_HINT_META, 1000609001) \ + _(XR_TYPE_HAND_TRACKING_UNEXTRAPOLATED_POSES_REQUEST_META, 1000683000) \ + _(XR_TYPE_HAND_TRACKING_UNEXTRAPOLATED_POSES_META, 1000683001) \ _(XR_TYPE_LIGHT_ESTIMATOR_CREATE_INFO_ANDROID, 1000700000) \ _(XR_TYPE_LIGHT_ESTIMATE_GET_INFO_ANDROID, 1000700001) \ _(XR_TYPE_LIGHT_ESTIMATE_ANDROID, 1000700002) \ @@ -823,6 +836,16 @@ XR_ENUM_STR(XrResult); _(XR_TYPE_SPATIAL_MARKER_SIZE_EXT, 1000743004) \ _(XR_TYPE_SPATIAL_MARKER_STATIC_OPTIMIZATION_EXT, 1000743005) \ _(XR_TYPE_SPATIAL_COMPONENT_MARKER_LIST_EXT, 1000743006) \ + _(XR_TYPE_SYSTEM_DYNAMIC_OBJECT_TRACKING_PROPERTIES_BD, 1000746000) \ + _(XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_DYNAMIC_OBJECT_BD, 1000746001) \ + _(XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_DYNAMIC_OBJECT_BD, 1000746002) \ + _(XR_TYPE_DYNAMIC_OBJECT_DATA_BD, 1000746003) \ + _(XR_TYPE_SENSE_DATA_FILTER_DYNAMIC_OBJECT_TYPE_BD, 1000746004) \ + _(XR_TYPE_SYSTEM_DYNAMIC_OBJECT_KEYBOARD_PROPERTIES_BD, 1000747000) \ + _(XR_TYPE_SYSTEM_DYNAMIC_OBJECT_MOUSE_PROPERTIES_BD, 1000748000) \ + _(XR_TYPE_SPATIAL_BOUNDS_SPHEREF_ANDROID, 1000761000) \ + _(XR_TYPE_SPATIAL_BOUNDS_BOXF_ANDROID, 1000761001) \ + _(XR_TYPE_SPATIAL_BOUNDS_FRUSTUMF_ANDROID, 1000761002) \ _(XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ANCHOR_EXT, 1000762000) \ _(XR_TYPE_SPATIAL_COMPONENT_ANCHOR_LIST_EXT, 1000762001) \ _(XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_EXT, 1000762002) \ @@ -844,10 +867,26 @@ XR_ENUM_STR(XrResult); _(XR_TYPE_SPATIAL_RAYCAST_INFO_ANDROID, 1000786001) \ _(XR_TYPE_SPATIAL_COMPONENT_RAYCAST_RESULT_LIST_ANDROID, 1000786002) \ _(XR_TYPE_SPATIAL_RAYCAST_SNAPSHOT_CREATE_INFO_ANDROID, 1000786003) \ + _(XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_API_KEY_ANDROID, 1000787000) \ + _(XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_TOKEN_ANDROID, 1000787001) \ + _(XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_KEYLESS_ANDROID, 1000787002) \ + _(XR_TYPE_GOOGLE_CLOUD_AUTH_ERROR_RESULT_ANDROID, 1000787003) \ + _(XR_TYPE_SYSTEM_GEOSPATIAL_PROPERTIES_ANDROID, 1000789000) \ + _(XR_TYPE_GEOSPATIAL_TRACKER_CREATE_INFO_ANDROID, 1000789001) \ + _(XR_TYPE_EVENT_DATA_GEOSPATIAL_TRACKER_STATE_CHANGED_ANDROID, 1000789002) \ + _(XR_TYPE_GEOSPATIAL_POSE_FROM_POSE_LOCATE_INFO_ANDROID, 1000789003) \ + _(XR_TYPE_GEOSPATIAL_POSE_RESULT_ANDROID, 1000789004) \ + _(XR_TYPE_GEOSPATIAL_POSE_LOCATE_INFO_ANDROID, 1000789005) \ + _(XR_TYPE_VPS_AVAILABILITY_CHECK_COMPLETION_ANDROID, 1000789006) \ _(XR_TYPE_SPATIAL_ANCHOR_PARENT_ANDROID, 1000790000) \ _(XR_TYPE_SPATIAL_DISCOVERY_UNIQUE_ENTITIES_FILTER_ANDROID, 1000791001) \ _(XR_TYPE_SPATIAL_COMPONENT_SUBSUMED_BY_LIST_ANDROID, 1000791002) \ _(XR_TYPE_SPATIAL_ANCHOR_SPACE_FROM_ID_CREATE_INFO_ANDROID, 1000795000) \ + _(XR_TYPE_GEOSPATIAL_ANCHOR_CREATE_INFO_ANDROID, 1000797000) \ + _(XR_TYPE_SURFACE_ANCHOR_CREATE_INFO_ANDROID, 1000797001) \ + _(XR_TYPE_SURFACE_ANCHOR_CREATE_COMPLETION_ANDROID, 1000797002) \ + _(XR_TYPE_SYSTEM_GEOSPATIAL_ANCHOR_PROPERTIES_ANDROID, 1000797003) \ + _(XR_TYPE_GEOSPATIAL_TRACKER_ANCHOR_TRACKING_INFO_ANDROID, 1000797004) \ _(XR_TYPE_BATTERY_STATE_DISPLAY_EXT, 1000836000) \ _(XR_TYPE_LOADER_INIT_INFO_PROPERTIES_EXT, 1000838000) \ _(XR_TYPE_EVENT_DATA_VIEW_CONFIGURATION_VIEWS_CHANGED_EXT, 1000839000) \ @@ -973,6 +1012,7 @@ XR_ENUM_STR(XrResult); _(XR_OBJECT_TYPE_SPATIAL_CONTEXT_EXT, 1000740001) \ _(XR_OBJECT_TYPE_SPATIAL_SNAPSHOT_EXT, 1000740002) \ _(XR_OBJECT_TYPE_SPATIAL_PERSISTENCE_CONTEXT_EXT, 1000763000) \ + _(XR_OBJECT_TYPE_GEOSPATIAL_TRACKER_ANDROID, 1000789000) \ _(XR_OBJECT_TYPE_MAX_ENUM, 0x7FFFFFFF) #define XR_LIST_ENUM_XrLoaderInterfaceStructs(_) \ @@ -1829,10 +1869,10 @@ XR_ENUM_STR(XrResult); #define XR_LIST_ENUM_XrTrackingOptimizationSettingsHintQCOM(_) \ _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_NONE_QCOM, 0) \ - _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LONG_RANGE_PRIORIZATION_QCOM, 1) \ - _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_CLOSE_RANGE_PRIORIZATION_QCOM, 2) \ - _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LOW_POWER_PRIORIZATION_QCOM, 3) \ - _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_HIGH_POWER_PRIORIZATION_QCOM, 4) \ + _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LONG_RANGE_PRIORITIZATION_QCOM, 1) \ + _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_CLOSE_RANGE_PRIORITIZATION_QCOM, 2) \ + _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LOW_POWER_PRIORITIZATION_QCOM, 3) \ + _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_HIGH_POWER_PRIORITIZATION_QCOM, 4) \ _(XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_MAX_ENUM_QCOM, 0x7FFFFFFF) #define XR_LIST_ENUM_XrHandGestureTypeQCOM(_) \ @@ -2032,7 +2072,9 @@ XR_ENUM_STR(XrResult); _(XR_SPATIAL_ENTITY_COMPONENT_TYPE_POLYGON_BD, 3) \ _(XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_3D_BD, 4) \ _(XR_SPATIAL_ENTITY_COMPONENT_TYPE_TRIANGLE_MESH_BD, 5) \ + _(XR_SPATIAL_ENTITY_COMPONENT_TYPE_SPHERE_BD, 6) \ _(XR_SPATIAL_ENTITY_COMPONENT_TYPE_PLANE_ORIENTATION_BD, 1000396000) \ + _(XR_SPATIAL_ENTITY_COMPONENT_TYPE_DYNAMIC_OBJECT_BD, 1000746000) \ _(XR_SPATIAL_ENTITY_COMPONENT_TYPE_MAX_ENUM_BD, 0x7FFFFFFF) #define XR_LIST_ENUM_XrSemanticLabelBD(_) \ @@ -2068,6 +2110,7 @@ XR_ENUM_STR(XrResult); _(XR_SENSE_DATA_PROVIDER_TYPE_SCENE_BD, 1000392000) \ _(XR_SENSE_DATA_PROVIDER_TYPE_MESH_BD, 1000393000) \ _(XR_SENSE_DATA_PROVIDER_TYPE_PLANE_BD, 1000396000) \ + _(XR_SENSE_DATA_PROVIDER_TYPE_DYNAMIC_OBJECT_BD, 1000746000) \ _(XR_SENSE_DATA_PROVIDER_TYPE_MAX_ENUM_BD, 0x7FFFFFFF) #define XR_LIST_ENUM_XrSenseDataProviderStateBD(_) \ @@ -2086,6 +2129,28 @@ XR_ENUM_STR(XrResult); _(XR_SPATIAL_MESH_LOD_FINE_BD, 2) \ _(XR_SPATIAL_MESH_LOD_MAX_ENUM_BD, 0x7FFFFFFF) +#define XR_LIST_ENUM_XrBodyTrackingPostureBD(_) \ + _(XR_BODY_TRACKING_POSTURE_STOMP_BD, 1) \ + _(XR_BODY_TRACKING_POSTURE_STATIC_BD, 2) \ + _(XR_BODY_TRACKING_POSTURE_MAX_ENUM_BD, 0x7FFFFFFF) + +#define XR_LIST_ENUM_XrBodyTrackingStatusBD(_) \ + _(XR_BODY_TRACKING_STATUS_INVALID_BD, 0) \ + _(XR_BODY_TRACKING_STATUS_VALID_BD, 1) \ + _(XR_BODY_TRACKING_STATUS_LIMITED_BD, 2) \ + _(XR_BODY_TRACKING_STATUS_MAX_ENUM_BD, 0x7FFFFFFF) + +#define XR_LIST_ENUM_XrBodyTrackingMessageBD(_) \ + _(XR_BODY_TRACKING_MESSAGE_NO_ERROR_BD, 0) \ + _(XR_BODY_TRACKING_MESSAGE_TRACKER_NOT_CALIBRATED_BD, 1) \ + _(XR_BODY_TRACKING_MESSAGE_TRACKER_NUM_NOT_ENOUGH_BD, 2) \ + _(XR_BODY_TRACKING_MESSAGE_TRACKER_STATE_NOT_SATISFIED_BD, 3) \ + _(XR_BODY_TRACKING_MESSAGE_TRACKER_PERSISTENT_INVISIBILITY_BD, 4) \ + _(XR_BODY_TRACKING_MESSAGE_TRACKER_DATA_ERROR_BD, 5) \ + _(XR_BODY_TRACKING_MESSAGE_USER_CHANGE_BD, 6) \ + _(XR_BODY_TRACKING_MESSAGE_TRACKING_POSE_ERROR_BD, 7) \ + _(XR_BODY_TRACKING_MESSAGE_MAX_ENUM_BD, 0x7FFFFFFF) + #define XR_LIST_ENUM_XrPlaneOrientationBD(_) \ _(XR_PLANE_ORIENTATION_HORIZONTAL_UPWARD_BD, 0) \ _(XR_PLANE_ORIENTATION_HORIZONTAL_DOWNWARD_BD, 1) \ @@ -2205,6 +2270,7 @@ XR_ENUM_STR(XrResult); #define XR_LIST_ENUM_XrHandTrackingDataSourceEXT(_) \ _(XR_HAND_TRACKING_DATA_SOURCE_UNOBSTRUCTED_EXT, 1) \ _(XR_HAND_TRACKING_DATA_SOURCE_CONTROLLER_EXT, 2) \ + _(XR_HAND_TRACKING_DATA_SOURCE_UNOBSTRUCTED_WIDE_MOTION_META, 1000686000) \ _(XR_HAND_TRACKING_DATA_SOURCE_MAX_ENUM_EXT, 0x7FFFFFFF) #define XR_LIST_ENUM_XrPlaneDetectorOrientationEXT(_) \ @@ -2527,6 +2593,11 @@ XR_ENUM_STR(XrResult); _(XR_ENVIRONMENT_RAYCAST_HIT_STATUS_HIT_INVALID_ORIENTATION_META, 6) \ _(XR_ENVIRONMENT_RAYCAST_HIT_STATUS_MAX_ENUM_META, 0x7FFFFFFF) +#define XR_LIST_ENUM_XrHandTrackingFrequencyHintMETA(_) \ + _(XR_HAND_TRACKING_FREQUENCY_HINT_DEFAULT_META, 1) \ + _(XR_HAND_TRACKING_FREQUENCY_HINT_HIGH_META, 2) \ + _(XR_HAND_TRACKING_FREQUENCY_HINT_MAX_ENUM_META, 0x7FFFFFFF) + #define XR_LIST_ENUM_XrLightEstimateStateANDROID(_) \ _(XR_LIGHT_ESTIMATE_STATE_VALID_ANDROID, 0) \ _(XR_LIGHT_ESTIMATE_STATE_INVALID_ANDROID, 1) \ @@ -2613,6 +2684,9 @@ XR_ENUM_STR(XrResult); #define XR_LIST_ENUM_XrSpatialCapabilityFeatureEXT(_) \ _(XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_FIXED_SIZE_MARKERS_EXT, 1000743000) \ _(XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_STATIC_MARKERS_EXT, 1000743001) \ + _(XR_SPATIAL_CAPABILITY_FEATURE_SPHERE_BOUNDS_FILTER_ANDROID, 1000761000) \ + _(XR_SPATIAL_CAPABILITY_FEATURE_BOX_BOUNDS_FILTER_ANDROID, 1000761001) \ + _(XR_SPATIAL_CAPABILITY_FEATURE_FRUSTUM_BOUNDS_FILTER_ANDROID, 1000761002) \ _(XR_SPATIAL_CAPABILITY_FEATURE_MAX_ENUM_EXT, 0x7FFFFFFF) #define XR_LIST_ENUM_XrSpatialComponentTypeEXT(_) \ @@ -2690,6 +2764,12 @@ XR_ENUM_STR(XrResult); _(XR_SPATIAL_MARKER_APRIL_TAG_DICT_36H11_EXT, 4) \ _(XR_SPATIAL_MARKER_APRIL_TAG_DICT_MAX_ENUM_EXT, 0x7FFFFFFF) +#define XR_LIST_ENUM_XrDynamicObjectTypeBD(_) \ + _(XR_DYNAMIC_OBJECT_TYPE_UNKNOWN_BD, 0) \ + _(XR_DYNAMIC_OBJECT_TYPE_KEYBOARD_BD, 1000747000) \ + _(XR_DYNAMIC_OBJECT_TYPE_MOUSE_BD, 1000748000) \ + _(XR_DYNAMIC_OBJECT_TYPE_MAX_ENUM_BD, 0x7FFFFFFF) + #define XR_LIST_ENUM_XrSpatialPersistenceScopeEXT(_) \ _(XR_SPATIAL_PERSISTENCE_SCOPE_SYSTEM_MANAGED_EXT, 1) \ _(XR_SPATIAL_PERSISTENCE_SCOPE_LOCAL_ANCHORS_EXT, 1000781000) \ @@ -2720,6 +2800,29 @@ XR_ENUM_STR(XrResult); _(XR_SPATIAL_OBJECT_SEMANTIC_LABEL_LAPTOP_BASE_ANDROID, 3) \ _(XR_SPATIAL_OBJECT_SEMANTIC_LABEL_MAX_ENUM_ANDROID, 0x7FFFFFFF) +#define XR_LIST_ENUM_XrGoogleCloudAuthErrorANDROID(_) \ + _(XR_GOOGLE_CLOUD_AUTH_ERROR_NONE_ANDROID, 0) \ + _(XR_GOOGLE_CLOUD_AUTH_ERROR_QUOTA_EXCEEDED_ANDROID, -1) \ + _(XR_GOOGLE_CLOUD_AUTH_ERROR_UNREACHABLE_ANDROID, -2) \ + _(XR_GOOGLE_CLOUD_AUTH_ERROR_ANDROID, -3) \ + _(XR_GOOGLE_CLOUD_AUTH_ERROR_MAX_ENUM_ANDROID, 0x7FFFFFFF) + +#define XR_LIST_ENUM_XrGeospatialTrackerStateANDROID(_) \ + _(XR_GEOSPATIAL_TRACKER_STATE_STOPPED_ANDROID, 0) \ + _(XR_GEOSPATIAL_TRACKER_STATE_RUNNING_ANDROID, 1) \ + _(XR_GEOSPATIAL_TRACKER_STATE_INITIALIZATION_FAILED_ANDROID, 2) \ + _(XR_GEOSPATIAL_TRACKER_STATE_MAX_ENUM_ANDROID, 0x7FFFFFFF) + +#define XR_LIST_ENUM_XrVPSAvailabilityANDROID(_) \ + _(XR_VPS_AVAILABILITY_UNAVAILABLE_ANDROID, 1) \ + _(XR_VPS_AVAILABILITY_AVAILABLE_ANDROID, 2) \ + _(XR_VPSAVAILABILITY_MAX_ENUM_ANDROID, 0x7FFFFFFF) + +#define XR_LIST_ENUM_XrSurfaceAnchorTypeANDROID(_) \ + _(XR_SURFACE_ANCHOR_TYPE_TERRAIN_ANDROID, 1) \ + _(XR_SURFACE_ANCHOR_TYPE_ROOFTOP_ANDROID, 2) \ + _(XR_SURFACE_ANCHOR_TYPE_MAX_ENUM_ANDROID, 0x7FFFFFFF) + #define XR_LIST_BITS_XrInstanceCreateFlags(_) #define XR_LIST_BITS_XrSessionCreateFlags(_) @@ -2920,6 +3023,10 @@ XR_ENUM_STR(XrResult); _(XR_SPATIAL_MESH_CONFIG_SEMANTIC_BIT_BD, 0x00000001) \ _(XR_SPATIAL_MESH_CONFIG_ALIGN_SEMANTIC_WITH_VERTEX_BIT_BD, 0x00000002) \ +#define XR_LIST_BITS_XrSpaceAccelerationFlagsBD(_) \ + _(XR_SPACE_ACCELERATION_LINEAR_VALID_BIT_BD, 0x00000001) \ + _(XR_SPACE_ACCELERATION_ANGULAR_VALID_BIT_BD, 0x00000002) \ + #define XR_LIST_BITS_XrSoundObstacleFlagsBD(_) \ _(XR_SOUND_OBSTACLE_ENABLED_BIT_BD, 0x00000001) \ _(XR_SOUND_OBSTACLE_POSE_BIT_BD, 0x00000002) \ @@ -2972,6 +3079,10 @@ XR_ENUM_STR(XrResult); _(XR_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_VALID_BIT_ML, 0x00000001) \ _(XR_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_TRACKED_BIT_ML, 0x00000002) \ +#define XR_LIST_BITS_XrGeospatialPoseFlagsANDROID(_) \ + _(XR_GEOSPATIAL_POSE_ORIENTATION_VALID_BIT_ANDROID, 0x00000001) \ + _(XR_GEOSPATIAL_POSE_POSITION_VALID_BIT_ANDROID, 0x00000002) \ + #define XR_LIST_BITS_XrBatteryStateDisplayStateFlagsEXT(_) \ _(XR_BATTERY_STATE_DISPLAY_STATE_VALID_BIT_EXT, 0x00000001) \ _(XR_BATTERY_STATE_DISPLAY_STATE_CHARGING_BIT_EXT, 0x00000002) \ @@ -6584,6 +6695,12 @@ XR_ENUM_STR(XrResult); _(indexCountOutput) \ _(indices) \ +/// Calls your macro with the name of each member of XrSpatialEntityComponentDataSphereBD, in order. +#define XR_LIST_STRUCT_XrSpatialEntityComponentDataSphereBD(_) \ + _(type) \ + _(next) \ + _(sphere) \ + /// Calls your macro with the name of each member of XrSenseDataProviderCreateInfoBD, in order. #define XR_LIST_STRUCT_XrSenseDataProviderCreateInfoBD(_) \ _(type) \ @@ -6760,6 +6877,46 @@ XR_ENUM_STR(XrResult); _(isSupported) \ _(progressPercentage) \ +/// Calls your macro with the name of each member of XrBodyTrackingPostureDataBD, in order. +#define XR_LIST_STRUCT_XrBodyTrackingPostureDataBD(_) \ + _(type) \ + _(next) \ + _(postureCount) \ + _(postureData) \ + +/// Calls your macro with the name of each member of XrBodyJointVelocityBD, in order. +#define XR_LIST_STRUCT_XrBodyJointVelocityBD(_) \ + _(velocityFlags) \ + _(linearVelocity) \ + _(angularVelocity) \ + +/// Calls your macro with the name of each member of XrBodyJointVelocitiesBD, in order. +#define XR_LIST_STRUCT_XrBodyJointVelocitiesBD(_) \ + _(type) \ + _(next) \ + _(velocityCount) \ + _(velocities) \ + +/// Calls your macro with the name of each member of XrBodyJointAccelerationBD, in order. +#define XR_LIST_STRUCT_XrBodyJointAccelerationBD(_) \ + _(accelerationFlags) \ + _(linearAcceleration) \ + _(angularAcceleration) \ + +/// Calls your macro with the name of each member of XrBodyJointAccelerationsBD, in order. +#define XR_LIST_STRUCT_XrBodyJointAccelerationsBD(_) \ + _(type) \ + _(next) \ + _(accelerationCount) \ + _(accelerations) \ + +/// Calls your macro with the name of each member of XrBodyTrackingStateBD, in order. +#define XR_LIST_STRUCT_XrBodyTrackingStateBD(_) \ + _(type) \ + _(next) \ + _(status) \ + _(message) \ + /// Calls your macro with the name of each member of XrSystemSpatialPlanePropertiesBD, in order. #define XR_LIST_STRUCT_XrSystemSpatialPlanePropertiesBD(_) \ _(type) \ @@ -7648,6 +7805,17 @@ XR_ENUM_STR(XrResult); _(propertiesCount) \ _(properties) \ +/// Calls your macro with the name of each member of XrHandTrackingUnextrapolatedPosesRequestMETA, in order. +#define XR_LIST_STRUCT_XrHandTrackingUnextrapolatedPosesRequestMETA(_) \ + _(type) \ + _(next) \ + +/// Calls your macro with the name of each member of XrHandTrackingUnextrapolatedPosesMETA, in order. +#define XR_LIST_STRUCT_XrHandTrackingUnextrapolatedPosesMETA(_) \ + _(type) \ + _(next) \ + _(captureTime) \ + /// Calls your macro with the name of each member of XrSystemLightEstimationPropertiesANDROID, in order. #define XR_LIST_STRUCT_XrSystemLightEstimationPropertiesANDROID(_) \ _(type) \ @@ -8150,6 +8318,74 @@ XR_ENUM_STR(XrResult); _(markerCount) \ _(markers) \ +/// Calls your macro with the name of each member of XrSystemDynamicObjectTrackingPropertiesBD, in order. +#define XR_LIST_STRUCT_XrSystemDynamicObjectTrackingPropertiesBD(_) \ + _(type) \ + _(next) \ + _(supportsDynamicObjectTracking) \ + +/// Calls your macro with the name of each member of XrSenseDataProviderCreateInfoDynamicObjectBD, in order. +#define XR_LIST_STRUCT_XrSenseDataProviderCreateInfoDynamicObjectBD(_) \ + _(type) \ + _(next) \ + _(trackingTypeCount) \ + _(trackingTypes) \ + +/// Calls your macro with the name of each member of XrDynamicObjectDataBD, in order. +#define XR_LIST_STRUCT_XrDynamicObjectDataBD(_) \ + _(type) \ + _(next) \ + _(objectType) \ + +/// Calls your macro with the name of each member of XrSpatialEntityComponentDataDynamicObjectBD, in order. +#define XR_LIST_STRUCT_XrSpatialEntityComponentDataDynamicObjectBD(_) \ + _(type) \ + _(next) \ + _(data) \ + +/// Calls your macro with the name of each member of XrSenseDataFilterDynamicObjectTypeBD, in order. +#define XR_LIST_STRUCT_XrSenseDataFilterDynamicObjectTypeBD(_) \ + _(type) \ + _(next) \ + _(typeCount) \ + _(types) \ + +/// Calls your macro with the name of each member of XrSystemDynamicObjectKeyboardPropertiesBD, in order. +#define XR_LIST_STRUCT_XrSystemDynamicObjectKeyboardPropertiesBD(_) \ + _(type) \ + _(next) \ + _(supportsDynamicObjectKeyboard) \ + +/// Calls your macro with the name of each member of XrSystemDynamicObjectMousePropertiesBD, in order. +#define XR_LIST_STRUCT_XrSystemDynamicObjectMousePropertiesBD(_) \ + _(type) \ + _(next) \ + _(supportsDynamicObjectMouse) \ + +/// Calls your macro with the name of each member of XrSpatialBoundsSpherefANDROID, in order. +#define XR_LIST_STRUCT_XrSpatialBoundsSpherefANDROID(_) \ + _(type) \ + _(next) \ + _(space) \ + _(time) \ + _(sphere) \ + +/// Calls your macro with the name of each member of XrSpatialBoundsBoxfANDROID, in order. +#define XR_LIST_STRUCT_XrSpatialBoundsBoxfANDROID(_) \ + _(type) \ + _(next) \ + _(space) \ + _(time) \ + _(box) \ + +/// Calls your macro with the name of each member of XrSpatialBoundsFrustumfANDROID, in order. +#define XR_LIST_STRUCT_XrSpatialBoundsFrustumfANDROID(_) \ + _(type) \ + _(next) \ + _(space) \ + _(time) \ + _(frustum) \ + /// Calls your macro with the name of each member of XrSpatialCapabilityConfigurationAnchorEXT, in order. #define XR_LIST_STRUCT_XrSpatialCapabilityConfigurationAnchorEXT(_) \ _(type) \ @@ -8336,6 +8572,94 @@ XR_ENUM_STR(XrResult); _(componentTypes) \ _(raycastInfo) \ +/// Calls your macro with the name of each member of XrGoogleCloudAuthInfoBaseHeaderANDROID, in order. +#define XR_LIST_STRUCT_XrGoogleCloudAuthInfoBaseHeaderANDROID(_) \ + _(type) \ + _(next) \ + +/// Calls your macro with the name of each member of XrGoogleCloudAuthInfoApiKeyANDROID, in order. +#define XR_LIST_STRUCT_XrGoogleCloudAuthInfoApiKeyANDROID(_) \ + _(type) \ + _(next) \ + _(apiKey) \ + +/// Calls your macro with the name of each member of XrGoogleCloudAuthInfoTokenANDROID, in order. +#define XR_LIST_STRUCT_XrGoogleCloudAuthInfoTokenANDROID(_) \ + _(type) \ + _(next) \ + _(authToken) \ + +/// Calls your macro with the name of each member of XrGoogleCloudAuthInfoKeylessANDROID, in order. +#define XR_LIST_STRUCT_XrGoogleCloudAuthInfoKeylessANDROID(_) \ + _(type) \ + _(next) \ + +/// Calls your macro with the name of each member of XrGoogleCloudAuthErrorResultANDROID, in order. +#define XR_LIST_STRUCT_XrGoogleCloudAuthErrorResultANDROID(_) \ + _(type) \ + _(next) \ + _(error) \ + +/// Calls your macro with the name of each member of XrGeospatialPoseANDROID, in order. +#define XR_LIST_STRUCT_XrGeospatialPoseANDROID(_) \ + _(eastUpSouthOrientation) \ + _(latitude) \ + _(longitude) \ + _(altitude) \ + +/// Calls your macro with the name of each member of XrSystemGeospatialPropertiesANDROID, in order. +#define XR_LIST_STRUCT_XrSystemGeospatialPropertiesANDROID(_) \ + _(type) \ + _(next) \ + _(supportsGeospatial) \ + +/// Calls your macro with the name of each member of XrGeospatialTrackerCreateInfoANDROID, in order. +#define XR_LIST_STRUCT_XrGeospatialTrackerCreateInfoANDROID(_) \ + _(type) \ + _(next) \ + +/// Calls your macro with the name of each member of XrEventDataGeospatialTrackerStateChangedANDROID, in order. +#define XR_LIST_STRUCT_XrEventDataGeospatialTrackerStateChangedANDROID(_) \ + _(type) \ + _(next) \ + _(geospatialTracker) \ + _(state) \ + _(initializationResult) \ + _(time) \ + +/// Calls your macro with the name of each member of XrGeospatialPoseFromPoseLocateInfoANDROID, in order. +#define XR_LIST_STRUCT_XrGeospatialPoseFromPoseLocateInfoANDROID(_) \ + _(type) \ + _(next) \ + _(space) \ + _(time) \ + _(pose) \ + +/// Calls your macro with the name of each member of XrGeospatialPoseResultANDROID, in order. +#define XR_LIST_STRUCT_XrGeospatialPoseResultANDROID(_) \ + _(type) \ + _(next) \ + _(poseFlags) \ + _(geospatialPose) \ + _(horizontalAccuracy) \ + _(verticalAccuracy) \ + _(orientationYawAccuracy) \ + +/// Calls your macro with the name of each member of XrGeospatialPoseLocateInfoANDROID, in order. +#define XR_LIST_STRUCT_XrGeospatialPoseLocateInfoANDROID(_) \ + _(type) \ + _(next) \ + _(space) \ + _(time) \ + _(geospatialPose) \ + +/// Calls your macro with the name of each member of XrVPSAvailabilityCheckCompletionANDROID, in order. +#define XR_LIST_STRUCT_XrVPSAvailabilityCheckCompletionANDROID(_) \ + _(type) \ + _(next) \ + _(futureResult) \ + _(availability) \ + /// Calls your macro with the name of each member of XrSpatialAnchorParentANDROID, in order. #define XR_LIST_STRUCT_XrSpatialAnchorParentANDROID(_) \ _(type) \ @@ -8360,6 +8684,43 @@ XR_ENUM_STR(XrResult); _(next) \ _(anchorEntityId) \ +/// Calls your macro with the name of each member of XrSystemGeospatialAnchorPropertiesANDROID, in order. +#define XR_LIST_STRUCT_XrSystemGeospatialAnchorPropertiesANDROID(_) \ + _(type) \ + _(next) \ + _(maxSurfaceAnchorCount) \ + +/// Calls your macro with the name of each member of XrGeospatialTrackerAnchorTrackingInfoANDROID, in order. +#define XR_LIST_STRUCT_XrGeospatialTrackerAnchorTrackingInfoANDROID(_) \ + _(type) \ + _(next) \ + _(shouldTrackPlanes) \ + +/// Calls your macro with the name of each member of XrGeospatialAnchorCreateInfoANDROID, in order. +#define XR_LIST_STRUCT_XrGeospatialAnchorCreateInfoANDROID(_) \ + _(type) \ + _(next) \ + _(geospatialTracker) \ + _(geospatialPose) \ + +/// Calls your macro with the name of each member of XrSurfaceAnchorCreateInfoANDROID, in order. +#define XR_LIST_STRUCT_XrSurfaceAnchorCreateInfoANDROID(_) \ + _(type) \ + _(next) \ + _(geospatialTracker) \ + _(surfaceAnchorType) \ + _(eastUpSouthOrientation) \ + _(latitude) \ + _(longitude) \ + _(altitudeRelativeToSurface) \ + +/// Calls your macro with the name of each member of XrSurfaceAnchorCreateCompletionANDROID, in order. +#define XR_LIST_STRUCT_XrSurfaceAnchorCreateCompletionANDROID(_) \ + _(type) \ + _(next) \ + _(futureResult) \ + _(anchorEntityId) \ + /// Calls your macro with the name of each member of XrBatteryStateDisplayEXT, in order. #define XR_LIST_STRUCT_XrBatteryStateDisplayEXT(_) \ _(type) \ @@ -8791,6 +9152,7 @@ XR_ENUM_STR(XrResult); _(XrSpatialEntityComponentDataPolygonBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_POLYGON_BD) \ _(XrSpatialEntityComponentDataBoundingBox3DBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_BOUNDING_BOX_3D_BD) \ _(XrSpatialEntityComponentDataTriangleMeshBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_TRIANGLE_MESH_BD) \ + _(XrSpatialEntityComponentDataSphereBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_SPHERE_BD) \ _(XrSenseDataProviderCreateInfoBD, XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_BD) \ _(XrSenseDataProviderStartInfoBD, XR_TYPE_SENSE_DATA_PROVIDER_START_INFO_BD) \ _(XrEventDataSenseDataProviderStateChangedBD, XR_TYPE_EVENT_DATA_SENSE_DATA_PROVIDER_STATE_CHANGED_BD) \ @@ -8818,6 +9180,10 @@ XR_ENUM_STR(XrResult); _(XrSystemSpatialMeshPropertiesBD, XR_TYPE_SYSTEM_SPATIAL_MESH_PROPERTIES_BD) \ _(XrSenseDataProviderCreateInfoSpatialMeshBD, XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_SPATIAL_MESH_BD) \ _(XrFuturePollResultProgressBD, XR_TYPE_FUTURE_POLL_RESULT_PROGRESS_BD) \ + _(XrBodyTrackingPostureDataBD, XR_TYPE_BODY_TRACKING_POSTURE_DATA_BD) \ + _(XrBodyJointVelocitiesBD, XR_TYPE_BODY_JOINT_VELOCITIES_BD) \ + _(XrBodyJointAccelerationsBD, XR_TYPE_BODY_JOINT_ACCELERATIONS_BD) \ + _(XrBodyTrackingStateBD, XR_TYPE_BODY_TRACKING_STATE_BD) \ _(XrSystemSpatialPlanePropertiesBD, XR_TYPE_SYSTEM_SPATIAL_PLANE_PROPERTIES_BD) \ _(XrSpatialEntityComponentDataPlaneOrientationBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_PLANE_ORIENTATION_BD) \ _(XrSenseDataFilterPlaneOrientationBD, XR_TYPE_SENSE_DATA_FILTER_PLANE_ORIENTATION_BD) \ @@ -8932,6 +9298,8 @@ XR_ENUM_STR(XrResult); _(XrEnvironmentRaycastFilterDistanceMETA, XR_TYPE_ENVIRONMENT_RAYCAST_FILTER_DISTANCE_META) \ _(XrTilePropertiesMETA, XR_TYPE_TILE_PROPERTIES_META) \ _(XrTilePropertiesHintMETA, XR_TYPE_TILE_PROPERTIES_HINT_META) \ + _(XrHandTrackingUnextrapolatedPosesRequestMETA, XR_TYPE_HAND_TRACKING_UNEXTRAPOLATED_POSES_REQUEST_META) \ + _(XrHandTrackingUnextrapolatedPosesMETA, XR_TYPE_HAND_TRACKING_UNEXTRAPOLATED_POSES_META) \ _(XrSystemLightEstimationPropertiesANDROID, XR_TYPE_SYSTEM_LIGHT_ESTIMATION_PROPERTIES_ANDROID) \ _(XrLightEstimatorCreateInfoANDROID, XR_TYPE_LIGHT_ESTIMATOR_CREATE_INFO_ANDROID) \ _(XrLightEstimateGetInfoANDROID, XR_TYPE_LIGHT_ESTIMATE_GET_INFO_ANDROID) \ @@ -8989,6 +9357,16 @@ XR_ENUM_STR(XrResult); _(XrSpatialMarkerSizeEXT, XR_TYPE_SPATIAL_MARKER_SIZE_EXT) \ _(XrSpatialMarkerStaticOptimizationEXT, XR_TYPE_SPATIAL_MARKER_STATIC_OPTIMIZATION_EXT) \ _(XrSpatialComponentMarkerListEXT, XR_TYPE_SPATIAL_COMPONENT_MARKER_LIST_EXT) \ + _(XrSystemDynamicObjectTrackingPropertiesBD, XR_TYPE_SYSTEM_DYNAMIC_OBJECT_TRACKING_PROPERTIES_BD) \ + _(XrSenseDataProviderCreateInfoDynamicObjectBD, XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_DYNAMIC_OBJECT_BD) \ + _(XrDynamicObjectDataBD, XR_TYPE_DYNAMIC_OBJECT_DATA_BD) \ + _(XrSpatialEntityComponentDataDynamicObjectBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_DYNAMIC_OBJECT_BD) \ + _(XrSenseDataFilterDynamicObjectTypeBD, XR_TYPE_SENSE_DATA_FILTER_DYNAMIC_OBJECT_TYPE_BD) \ + _(XrSystemDynamicObjectKeyboardPropertiesBD, XR_TYPE_SYSTEM_DYNAMIC_OBJECT_KEYBOARD_PROPERTIES_BD) \ + _(XrSystemDynamicObjectMousePropertiesBD, XR_TYPE_SYSTEM_DYNAMIC_OBJECT_MOUSE_PROPERTIES_BD) \ + _(XrSpatialBoundsSpherefANDROID, XR_TYPE_SPATIAL_BOUNDS_SPHEREF_ANDROID) \ + _(XrSpatialBoundsBoxfANDROID, XR_TYPE_SPATIAL_BOUNDS_BOXF_ANDROID) \ + _(XrSpatialBoundsFrustumfANDROID, XR_TYPE_SPATIAL_BOUNDS_FRUSTUMF_ANDROID) \ _(XrSpatialCapabilityConfigurationAnchorEXT, XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ANCHOR_EXT) \ _(XrSpatialComponentAnchorListEXT, XR_TYPE_SPATIAL_COMPONENT_ANCHOR_LIST_EXT) \ _(XrSpatialAnchorCreateInfoEXT, XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_EXT) \ @@ -9010,10 +9388,26 @@ XR_ENUM_STR(XrResult); _(XrSpatialRaycastInfoANDROID, XR_TYPE_SPATIAL_RAYCAST_INFO_ANDROID) \ _(XrSpatialComponentRaycastResultListANDROID, XR_TYPE_SPATIAL_COMPONENT_RAYCAST_RESULT_LIST_ANDROID) \ _(XrSpatialRaycastSnapshotCreateInfoANDROID, XR_TYPE_SPATIAL_RAYCAST_SNAPSHOT_CREATE_INFO_ANDROID) \ + _(XrGoogleCloudAuthInfoApiKeyANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_API_KEY_ANDROID) \ + _(XrGoogleCloudAuthInfoTokenANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_TOKEN_ANDROID) \ + _(XrGoogleCloudAuthInfoKeylessANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_KEYLESS_ANDROID) \ + _(XrGoogleCloudAuthErrorResultANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_ERROR_RESULT_ANDROID) \ + _(XrSystemGeospatialPropertiesANDROID, XR_TYPE_SYSTEM_GEOSPATIAL_PROPERTIES_ANDROID) \ + _(XrGeospatialTrackerCreateInfoANDROID, XR_TYPE_GEOSPATIAL_TRACKER_CREATE_INFO_ANDROID) \ + _(XrEventDataGeospatialTrackerStateChangedANDROID, XR_TYPE_EVENT_DATA_GEOSPATIAL_TRACKER_STATE_CHANGED_ANDROID) \ + _(XrGeospatialPoseFromPoseLocateInfoANDROID, XR_TYPE_GEOSPATIAL_POSE_FROM_POSE_LOCATE_INFO_ANDROID) \ + _(XrGeospatialPoseResultANDROID, XR_TYPE_GEOSPATIAL_POSE_RESULT_ANDROID) \ + _(XrGeospatialPoseLocateInfoANDROID, XR_TYPE_GEOSPATIAL_POSE_LOCATE_INFO_ANDROID) \ + _(XrVPSAvailabilityCheckCompletionANDROID, XR_TYPE_VPS_AVAILABILITY_CHECK_COMPLETION_ANDROID) \ _(XrSpatialAnchorParentANDROID, XR_TYPE_SPATIAL_ANCHOR_PARENT_ANDROID) \ _(XrSpatialDiscoveryUniqueEntitiesFilterANDROID, XR_TYPE_SPATIAL_DISCOVERY_UNIQUE_ENTITIES_FILTER_ANDROID) \ _(XrSpatialComponentSubsumedByListANDROID, XR_TYPE_SPATIAL_COMPONENT_SUBSUMED_BY_LIST_ANDROID) \ _(XrSpatialAnchorSpaceFromIdCreateInfoANDROID, XR_TYPE_SPATIAL_ANCHOR_SPACE_FROM_ID_CREATE_INFO_ANDROID) \ + _(XrSystemGeospatialAnchorPropertiesANDROID, XR_TYPE_SYSTEM_GEOSPATIAL_ANCHOR_PROPERTIES_ANDROID) \ + _(XrGeospatialTrackerAnchorTrackingInfoANDROID, XR_TYPE_GEOSPATIAL_TRACKER_ANCHOR_TRACKING_INFO_ANDROID) \ + _(XrGeospatialAnchorCreateInfoANDROID, XR_TYPE_GEOSPATIAL_ANCHOR_CREATE_INFO_ANDROID) \ + _(XrSurfaceAnchorCreateInfoANDROID, XR_TYPE_SURFACE_ANCHOR_CREATE_INFO_ANDROID) \ + _(XrSurfaceAnchorCreateCompletionANDROID, XR_TYPE_SURFACE_ANCHOR_CREATE_COMPLETION_ANDROID) \ _(XrBatteryStateDisplayEXT, XR_TYPE_BATTERY_STATE_DISPLAY_EXT) \ _(XrLoaderInitInfoPropertiesEXT, XR_TYPE_LOADER_INIT_INFO_PROPERTIES_EXT) \ _(XrEventDataViewConfigurationViewsChangedEXT, XR_TYPE_EVENT_DATA_VIEW_CONFIGURATION_VIEWS_CHANGED_EXT) \ @@ -9369,6 +9763,7 @@ XR_ENUM_STR(XrResult); _(XR_BD_spatial_scene, 393) \ _(XR_BD_spatial_mesh, 394) \ _(XR_BD_future_progress, 395) \ + _(XR_BD_body_tracking_auxiliary_metrics, 396) \ _(XR_BD_spatial_plane, 397) \ _(XR_BD_ultra_controller_interaction, 404) \ _(XR_BD_spatial_audio_rendering, 410) \ @@ -9406,6 +9801,9 @@ XR_ENUM_STR(XrResult); _(XR_META_spatial_entity_group_sharing, 573) \ _(XR_META_environment_raycast, 593) \ _(XR_META_tile_properties_hint, 610) \ + _(XR_META_hand_tracking_unextrapolated_poses, 684) \ + _(XR_META_hand_tracking_frequency_hint, 686) \ + _(XR_META_hand_tracking_wide_motion_mode2, 687) \ _(XR_ANDROID_light_estimation, 701) \ _(XR_ANDROID_anchor_sharing_export, 702) \ _(XR_ANDROID_mouse_interaction, 705) \ @@ -9420,15 +9818,22 @@ XR_ENUM_STR(XrResult); _(XR_EXT_stationary_reference_space, 743) \ _(XR_EXT_spatial_marker_tracking, 744) \ _(XR_LOGITECH_mx_ink_stylus_interaction, 746) \ + _(XR_BD_dynamic_object_tracking, 747) \ + _(XR_BD_dynamic_object_keyboard, 748) \ + _(XR_BD_dynamic_object_mouse, 749) \ + _(XR_ANDROID_spatial_discovery_bounds, 762) \ _(XR_EXT_spatial_anchor, 763) \ _(XR_EXT_spatial_persistence, 764) \ _(XR_EXT_haptic_parametric, 776) \ _(XR_EXT_spatial_persistence_operations, 782) \ _(XR_ANDROID_spatial_object_tracking, 786) \ _(XR_ANDROID_spatial_discovery_raycast, 787) \ + _(XR_ANDROID_google_cloud_auth, 788) \ + _(XR_ANDROID_geospatial, 790) \ _(XR_ANDROID_spatial_entity_bound_anchor, 791) \ _(XR_ANDROID_spatial_component_subsumed_by, 792) \ _(XR_ANDROID_spatial_anchor_space, 796) \ + _(XR_ANDROID_geospatial_anchor, 798) \ _(XR_EXT_interaction_profile_battery_state_display, 837) \ _(XR_EXT_loader_init_properties, 839) \ _(XR_EXT_view_configuration_views_change, 840) \ @@ -9531,6 +9936,48 @@ XR_ENUM_STR(XrResult); _(CreateSwapchainAndroidSurfaceKHR, KHR_android_surface_swapchain) \ +/// For every function defined by XR_KHR_composition_layer_cube in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_composition_layer_cube(_) + + +/// For every function defined by XR_KHR_android_create_instance in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_android_create_instance(_) + + +/// For every function defined by XR_KHR_composition_layer_depth in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_composition_layer_depth(_) + + +/// For every function defined by XR_KHR_vulkan_swapchain_format_list in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_vulkan_swapchain_format_list(_) + + +/// For every function defined by XR_KHR_composition_layer_cylinder in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_composition_layer_cylinder(_) + + +/// For every function defined by XR_KHR_composition_layer_equirect in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_composition_layer_equirect(_) + + /// For every function defined by XR_KHR_opengl_enable in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9590,6 +10037,13 @@ XR_ENUM_STR(XrResult); _(GetVisibilityMaskKHR, KHR_visibility_mask) \ +/// For every function defined by XR_KHR_composition_layer_color_scale_bias in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_composition_layer_color_scale_bias(_) + + /// For every function defined by XR_KHR_win32_convert_performance_counter_time in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9616,6 +10070,13 @@ XR_ENUM_STR(XrResult); _(InitializeLoaderKHR, KHR_loader_init) \ +/// For every function defined by XR_KHR_loader_init_android in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_loader_init_android(_) + + /// For every function defined by XR_KHR_vulkan_enable2 in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9627,6 +10088,20 @@ XR_ENUM_STR(XrResult); _(GetVulkanGraphicsRequirements2KHR, KHR_vulkan_enable2) \ +/// For every function defined by XR_KHR_composition_layer_equirect2 in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_composition_layer_equirect2(_) + + +/// For every function defined by XR_KHR_binding_modification in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_binding_modification(_) + + /// For every function defined by XR_KHR_extended_struct_name_lengths in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9635,6 +10110,13 @@ XR_ENUM_STR(XrResult); _(StructureTypeToString2KHR, KHR_extended_struct_name_lengths) \ +/// For every function defined by XR_KHR_swapchain_usage_input_attachment_bit in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_swapchain_usage_input_attachment_bit(_) + + /// For every function defined by XR_KHR_locate_spaces in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9643,6 +10125,20 @@ XR_ENUM_STR(XrResult); _(LocateSpacesKHR, KHR_locate_spaces) \ +/// For every function defined by XR_KHR_maintenance1 in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_maintenance1(_) + + +/// For every function defined by XR_KHR_generic_controller in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_generic_controller(_) + + /// For every function defined by XR_EXT_performance_settings in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9673,6 +10169,34 @@ XR_ENUM_STR(XrResult); _(SessionInsertDebugUtilsLabelEXT, EXT_debug_utils) \ +/// For every function defined by XR_EXT_eye_gaze_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_eye_gaze_interaction(_) + + +/// For every function defined by XR_EXTX_overlay in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXTX_overlay(_) + + +/// For every function defined by XR_VARJO_quad_views in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_VARJO_quad_views(_) + + +/// For every function defined by XR_MSFT_unbounded_reference_space in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_MSFT_unbounded_reference_space(_) + + /// For every function defined by XR_MSFT_spatial_anchor in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9683,6 +10207,41 @@ XR_ENUM_STR(XrResult); _(DestroySpatialAnchorMSFT, MSFT_spatial_anchor) \ +/// For every function defined by XR_FB_composition_layer_image_layout in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_composition_layer_image_layout(_) + + +/// For every function defined by XR_FB_composition_layer_alpha_blend in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_composition_layer_alpha_blend(_) + + +/// For every function defined by XR_MND_headless in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_MND_headless(_) + + +/// For every function defined by XR_OCULUS_android_session_state_enable in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_OCULUS_android_session_state_enable(_) + + +/// For every function defined by XR_EXT_view_configuration_depth_range in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_view_configuration_depth_range(_) + + /// For every function defined by XR_EXT_conformance_automation in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9695,6 +10254,13 @@ XR_ENUM_STR(XrResult); _(SetInputDeviceLocationEXT, EXT_conformance_automation) \ +/// For every function defined by XR_MNDX_egl_enable in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_MNDX_egl_enable(_) + + /// For every function defined by XR_MSFT_spatial_graph_bridge in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9706,6 +10272,13 @@ XR_ENUM_STR(XrResult); _(GetSpatialGraphNodeBindingPropertiesMSFT, MSFT_spatial_graph_bridge) \ +/// For every function defined by XR_MSFT_hand_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_MSFT_hand_interaction(_) + + /// For every function defined by XR_EXT_hand_tracking in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9725,6 +10298,20 @@ XR_ENUM_STR(XrResult); _(UpdateHandMeshMSFT, MSFT_hand_tracking_mesh) \ +/// For every function defined by XR_MSFT_secondary_view_configuration in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_MSFT_secondary_view_configuration(_) + + +/// For every function defined by XR_MSFT_first_person_observer in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_MSFT_first_person_observer(_) + + /// For every function defined by XR_MSFT_controller_model in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9745,6 +10332,27 @@ XR_ENUM_STR(XrResult); _(TryGetPerceptionAnchorFromSpatialAnchorMSFT, MSFT_perception_anchor_interop) \ +/// For every function defined by XR_EXT_win32_appcontainer_compatible in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_win32_appcontainer_compatible(_) + + +/// For every function defined by XR_EPIC_view_configuration_fov in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EPIC_view_configuration_fov(_) + + +/// For every function defined by XR_MSFT_holographic_window_attachment in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_MSFT_holographic_window_attachment(_) + + /// For every function defined by XR_MSFT_composition_layer_reprojection in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9753,6 +10361,20 @@ XR_ENUM_STR(XrResult); _(EnumerateReprojectionModesMSFT, MSFT_composition_layer_reprojection) \ +/// For every function defined by XR_HUAWEI_controller_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_HUAWEI_controller_interaction(_) + + +/// For every function defined by XR_FB_android_surface_swapchain_create in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_android_surface_swapchain_create(_) + + /// For every function defined by XR_FB_swapchain_update_state in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9762,6 +10384,13 @@ XR_ENUM_STR(XrResult); _(GetSwapchainStateFB, FB_swapchain_update_state) \ +/// For every function defined by XR_FB_composition_layer_secure_content in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_composition_layer_secure_content(_) + + /// For every function defined by XR_FB_body_tracking in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9773,6 +10402,48 @@ XR_ENUM_STR(XrResult); _(GetBodySkeletonFB, FB_body_tracking) \ +/// For every function defined by XR_EXT_dpad_binding in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_dpad_binding(_) + + +/// For every function defined by XR_VALVE_analog_threshold in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_VALVE_analog_threshold(_) + + +/// For every function defined by XR_EXT_hand_joints_motion_range in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_hand_joints_motion_range(_) + + +/// For every function defined by XR_EXT_samsung_odyssey_controller in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_samsung_odyssey_controller(_) + + +/// For every function defined by XR_EXT_hp_mixed_reality_controller in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_hp_mixed_reality_controller(_) + + +/// For every function defined by XR_MND_swapchain_usage_input_attachment_bit in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_MND_swapchain_usage_input_attachment_bit(_) + + /// For every function defined by XR_MSFT_scene_understanding in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9809,6 +10480,13 @@ XR_ENUM_STR(XrResult); _(RequestDisplayRefreshRateFB, FB_display_refresh_rate) \ +/// For every function defined by XR_HTC_vive_cosmos_controller_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_HTC_vive_cosmos_controller_interaction(_) + + /// For every function defined by XR_HTCX_vive_tracker_interaction in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9827,6 +10505,27 @@ XR_ENUM_STR(XrResult); _(GetFacialExpressionsHTC, HTC_facial_tracking) \ +/// For every function defined by XR_HTC_vive_focus3_controller_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_HTC_vive_focus3_controller_interaction(_) + + +/// For every function defined by XR_HTC_hand_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_HTC_hand_interaction(_) + + +/// For every function defined by XR_HTC_vive_wrist_tracker_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_HTC_vive_wrist_tracker_interaction(_) + + /// For every function defined by XR_FB_color_space in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9844,6 +10543,20 @@ XR_ENUM_STR(XrResult); _(GetHandMeshFB, FB_hand_tracking_mesh) \ +/// For every function defined by XR_FB_hand_tracking_aim in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_hand_tracking_aim(_) + + +/// For every function defined by XR_FB_hand_tracking_capsules in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_hand_tracking_capsules(_) + + /// For every function defined by XR_FB_spatial_entity in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9865,6 +10578,13 @@ XR_ENUM_STR(XrResult); _(DestroyFoveationProfileFB, FB_foveation) \ +/// For every function defined by XR_FB_foveation_configuration in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_foveation_configuration(_) + + /// For every function defined by XR_FB_keyboard_tracking in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9918,6 +10638,20 @@ XR_ENUM_STR(XrResult); _(LoadRenderModelFB, FB_render_model) \ +/// For every function defined by XR_VARJO_foveated_rendering in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_VARJO_foveated_rendering(_) + + +/// For every function defined by XR_VARJO_composition_layer_depth_test in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_VARJO_composition_layer_depth_test(_) + + /// For every function defined by XR_VARJO_environment_depth_estimation in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -9946,6 +10680,34 @@ XR_ENUM_STR(XrResult); _(SetViewOffsetVARJO, VARJO_view_offset) \ +/// For every function defined by XR_VARJO_xr4_controller_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_VARJO_xr4_controller_interaction(_) + + +/// For every function defined by XR_ML_ml2_controller_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ML_ml2_controller_interaction(_) + + +/// For every function defined by XR_ML_frame_end_info in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ML_frame_end_info(_) + + +/// For every function defined by XR_ML_global_dimmer in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ML_global_dimmer(_) + + /// For every function defined by XR_ML_compat in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10035,6 +10797,13 @@ XR_ENUM_STR(XrResult); _(GetSceneMarkerDecodedStringMSFT, MSFT_scene_marker) \ +/// For every function defined by XR_ULTRALEAP_hand_tracking_forearm in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ULTRALEAP_hand_tracking_forearm(_) + + /// For every function defined by XR_FB_spatial_entity_query in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10062,6 +10831,41 @@ XR_ENUM_STR(XrResult); _(GetAudioInputDeviceGuidOculus, OCULUS_audio_device_guid) \ +/// For every function defined by XR_FB_foveation_vulkan in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_foveation_vulkan(_) + + +/// For every function defined by XR_FB_swapchain_update_state_android_surface in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_swapchain_update_state_android_surface(_) + + +/// For every function defined by XR_FB_swapchain_update_state_opengl_es in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_swapchain_update_state_opengl_es(_) + + +/// For every function defined by XR_FB_swapchain_update_state_vulkan in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_swapchain_update_state_vulkan(_) + + +/// For every function defined by XR_FB_touch_controller_pro in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_touch_controller_pro(_) + + /// For every function defined by XR_FB_spatial_entity_sharing in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10070,6 +10874,20 @@ XR_ENUM_STR(XrResult); _(ShareSpacesFB, FB_spatial_entity_sharing) \ +/// For every function defined by XR_FB_space_warp in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_space_warp(_) + + +/// For every function defined by XR_FB_haptic_amplitude_envelope in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_haptic_amplitude_envelope(_) + + /// For every function defined by XR_FB_scene in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10082,6 +10900,13 @@ XR_ENUM_STR(XrResult); _(GetSpaceRoomLayoutFB, FB_scene) \ +/// For every function defined by XR_EXT_palm_pose in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_palm_pose(_) + + /// For every function defined by XR_ALMALENCE_digital_lens_control in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10142,6 +10967,20 @@ XR_ENUM_STR(XrResult); _(PassthroughLayerSetKeyboardHandsIntensityFB, FB_passthrough_keyboard_hands) \ +/// For every function defined by XR_FB_composition_layer_settings in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_composition_layer_settings(_) + + +/// For every function defined by XR_FB_touch_controller_proximity in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_touch_controller_proximity(_) + + /// For every function defined by XR_FB_haptic_pcm in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10150,6 +10989,27 @@ XR_ENUM_STR(XrResult); _(GetDeviceSampleRateFB, FB_haptic_pcm) \ +/// For every function defined by XR_EXT_frame_synthesis in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_frame_synthesis(_) + + +/// For every function defined by XR_FB_composition_layer_depth_test in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_FB_composition_layer_depth_test(_) + + +/// For every function defined by XR_META_local_dimming in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_local_dimming(_) + + /// For every function defined by XR_META_passthrough_preferences in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10184,6 +11044,13 @@ XR_ENUM_STR(XrResult); _(EnumerateExternalCamerasOCULUS, OCULUS_external_camera) \ +/// For every function defined by XR_META_vulkan_swapchain_create_info in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_vulkan_swapchain_create_info(_) + + /// For every function defined by XR_META_performance_metrics in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10203,6 +11070,13 @@ XR_ENUM_STR(XrResult); _(SaveSpaceListFB, FB_spatial_entity_storage_batch) \ +/// For every function defined by XR_META_detached_controllers in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_detached_controllers(_) + + /// For every function defined by XR_FB_spatial_entity_user in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10213,6 +11087,13 @@ XR_ENUM_STR(XrResult); _(DestroySpaceUserFB, FB_spatial_entity_user) \ +/// For every function defined by XR_META_headset_id in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_headset_id(_) + + /// For every function defined by XR_META_spatial_entity_discovery in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10222,6 +11103,13 @@ XR_ENUM_STR(XrResult); _(RetrieveSpaceDiscoveryResultsMETA, META_spatial_entity_discovery) \ +/// For every function defined by XR_META_hand_tracking_microgestures in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_hand_tracking_microgestures(_) + + /// For every function defined by XR_META_recommended_layer_resolution in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10257,6 +11145,34 @@ XR_ENUM_STR(XrResult); _(GetSpaceTriangleMeshMETA, META_spatial_entity_mesh) \ +/// For every function defined by XR_META_automatic_layer_filter in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_automatic_layer_filter(_) + + +/// For every function defined by XR_META_body_tracking_full_body in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_body_tracking_full_body(_) + + +/// For every function defined by XR_META_touch_controller_plus in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_touch_controller_plus(_) + + +/// For every function defined by XR_META_passthrough_layer_resumed_event in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_passthrough_layer_resumed_event(_) + + /// For every function defined by XR_META_body_tracking_calibration in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10309,6 +11225,13 @@ XR_ENUM_STR(XrResult); _(SetEnvironmentDepthHandRemovalMETA, META_environment_depth) \ +/// For every function defined by XR_EXT_uuid in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_uuid(_) + + /// For every function defined by XR_EXT_render_model in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10335,6 +11258,13 @@ XR_ENUM_STR(XrResult); _(GetRenderModelPoseTopLevelUserPathEXT, EXT_interaction_render_model) \ +/// For every function defined by XR_EXT_hand_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_hand_interaction(_) + + /// For every function defined by XR_QCOM_tracking_optimization_settings in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10388,6 +11318,13 @@ XR_ENUM_STR(XrResult); _(GetBodySkeletonHTC, HTC_body_tracking) \ +/// For every function defined by XR_EXT_active_action_set_priority in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_active_action_set_priority(_) + + /// For every function defined by XR_MNDX_force_feedback_curl in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10396,6 +11333,13 @@ XR_ENUM_STR(XrResult); _(ApplyForceFeedbackCurlMNDX, MNDX_force_feedback_curl) \ +/// For every function defined by XR_BD_controller_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_BD_controller_interaction(_) + + /// For every function defined by XR_BD_body_tracking in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10476,6 +11420,43 @@ XR_ENUM_STR(XrResult); _(CaptureSceneCompleteBD, BD_spatial_scene) \ +/// For every function defined by XR_BD_spatial_mesh in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_BD_spatial_mesh(_) + + +/// For every function defined by XR_BD_future_progress in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_BD_future_progress(_) + + +/// For every function defined by XR_BD_body_tracking_auxiliary_metrics in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_BD_body_tracking_auxiliary_metrics(_) \ + _(StartBodyTrackingCalibrationAppBD, BD_body_tracking_auxiliary_metrics) \ + _(GetBodyTrackingStateBD, BD_body_tracking_auxiliary_metrics) \ + + +/// For every function defined by XR_BD_spatial_plane in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_BD_spatial_plane(_) + + +/// For every function defined by XR_BD_ultra_controller_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_BD_ultra_controller_interaction(_) + + /// For every function defined by XR_BD_spatial_audio_rendering in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10503,6 +11484,20 @@ XR_ENUM_STR(XrResult); _(EndAudioPeriodBD, BD_spatial_audio_rendering) \ +/// For every function defined by XR_EXT_local_floor in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_local_floor(_) + + +/// For every function defined by XR_EXT_hand_tracking_data_source in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_hand_tracking_data_source(_) + + /// For every function defined by XR_EXT_plane_detection in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10516,6 +11511,13 @@ XR_ENUM_STR(XrResult); _(GetPlanePolygonBufferEXT, EXT_plane_detection) \ +/// For every function defined by XR_OPPO_controller_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_OPPO_controller_interaction(_) + + /// For every function defined by XR_ANDROID_trackables in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10575,6 +11577,13 @@ XR_ENUM_STR(XrResult); _(GetPassthroughCameraStateANDROID, ANDROID_passthrough_camera_state) \ +/// For every function defined by XR_ANDROID_recommended_resolution in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ANDROID_recommended_resolution(_) + + /// For every function defined by XR_ANDROID_composition_layer_passthrough_mesh in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10613,6 +11622,13 @@ XR_ENUM_STR(XrResult); _(GetTrackableObjectANDROID, ANDROID_trackables_object) \ +/// For every function defined by XR_ANDROID_unbounded_reference_space in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ANDROID_unbounded_reference_space(_) + + /// For every function defined by XR_EXT_future in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10622,6 +11638,13 @@ XR_ENUM_STR(XrResult); _(CancelFutureEXT, EXT_future) \ +/// For every function defined by XR_EXT_user_presence in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_user_presence(_) + + /// For every function defined by XR_ML_user_calibration in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10664,6 +11687,20 @@ XR_ENUM_STR(XrResult); _(GetFacialExpressionBlendShapePropertiesML, ML_facial_expression) \ +/// For every function defined by XR_ML_view_configuration_depth_range_change in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ML_view_configuration_depth_range_change(_) + + +/// For every function defined by XR_YVR_controller_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_YVR_controller_interaction(_) + + /// For every function defined by XR_META_boundary_visibility in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10681,6 +11718,20 @@ XR_ENUM_STR(XrResult); _(PauseSimultaneousHandsAndControllersTrackingMETA, META_simultaneous_hands_and_controllers) \ +/// For every function defined by XR_META_face_tracking_visemes in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_face_tracking_visemes(_) + + +/// For every function defined by XR_META_spatial_entity_semantic_label in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_spatial_entity_semantic_label(_) + + /// For every function defined by XR_META_spatial_entity_room_mesh in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10690,6 +11741,13 @@ XR_ENUM_STR(XrResult); _(GetSpaceRoomMeshFaceIndicesMETA, META_spatial_entity_room_mesh) \ +/// For every function defined by XR_EXT_composition_layer_inverted_alpha in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_composition_layer_inverted_alpha(_) + + /// For every function defined by XR_META_colocation_discovery in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10701,6 +11759,13 @@ XR_ENUM_STR(XrResult); _(StopColocationAdvertisementMETA, META_colocation_discovery) \ +/// For every function defined by XR_META_spatial_entity_group_sharing in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_spatial_entity_group_sharing(_) + + /// For every function defined by XR_META_environment_raycast in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10720,6 +11785,28 @@ XR_ENUM_STR(XrResult); _(SetTilePropertiesHintMETA, META_tile_properties_hint) \ +/// For every function defined by XR_META_hand_tracking_unextrapolated_poses in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_hand_tracking_unextrapolated_poses(_) + + +/// For every function defined by XR_META_hand_tracking_frequency_hint in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_hand_tracking_frequency_hint(_) \ + _(SetHandTrackingFrequencyHintMETA, META_hand_tracking_frequency_hint) \ + + +/// For every function defined by XR_META_hand_tracking_wide_motion_mode2 in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_META_hand_tracking_wide_motion_mode2(_) + + /// For every function defined by XR_ANDROID_light_estimation in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10739,6 +11826,13 @@ XR_ENUM_STR(XrResult); _(UnshareAnchorANDROID, ANDROID_anchor_sharing_export) \ +/// For every function defined by XR_ANDROID_mouse_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ANDROID_mouse_interaction(_) + + /// For every function defined by XR_ANDROID_trackables_marker in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10809,6 +11903,13 @@ XR_ENUM_STR(XrResult); _(GetSpatialBufferVector3fEXT, EXT_spatial_entity) \ +/// For every function defined by XR_EXT_spatial_plane_tracking in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_spatial_plane_tracking(_) + + /// For every function defined by XR_EXT_stationary_reference_space in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10817,6 +11918,48 @@ XR_ENUM_STR(XrResult); _(GetStationaryReferenceSpaceGenerationIdEXT, EXT_stationary_reference_space) \ +/// For every function defined by XR_EXT_spatial_marker_tracking in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_spatial_marker_tracking(_) + + +/// For every function defined by XR_LOGITECH_mx_ink_stylus_interaction in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_LOGITECH_mx_ink_stylus_interaction(_) + + +/// For every function defined by XR_BD_dynamic_object_tracking in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_BD_dynamic_object_tracking(_) + + +/// For every function defined by XR_BD_dynamic_object_keyboard in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_BD_dynamic_object_keyboard(_) + + +/// For every function defined by XR_BD_dynamic_object_mouse in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_BD_dynamic_object_mouse(_) + + +/// For every function defined by XR_ANDROID_spatial_discovery_bounds in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ANDROID_spatial_discovery_bounds(_) + + /// For every function defined by XR_EXT_spatial_anchor in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10855,6 +11998,13 @@ XR_ENUM_STR(XrResult); _(UnpersistSpatialEntityCompleteEXT, EXT_spatial_persistence_operations) \ +/// For every function defined by XR_ANDROID_spatial_object_tracking in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ANDROID_spatial_object_tracking(_) + + /// For every function defined by XR_ANDROID_spatial_discovery_raycast in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10863,6 +12013,28 @@ XR_ENUM_STR(XrResult); _(CreateSpatialRaycastSnapshotANDROID, ANDROID_spatial_discovery_raycast) \ +/// For every function defined by XR_ANDROID_google_cloud_auth in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ANDROID_google_cloud_auth(_) \ + _(SetGoogleCloudAuthAsyncANDROID, ANDROID_google_cloud_auth) \ + _(SetGoogleCloudAuthCompleteANDROID, ANDROID_google_cloud_auth) \ + + +/// For every function defined by XR_ANDROID_geospatial in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ANDROID_geospatial(_) \ + _(CreateGeospatialTrackerANDROID, ANDROID_geospatial) \ + _(DestroyGeospatialTrackerANDROID, ANDROID_geospatial) \ + _(LocateGeospatialPoseFromPoseANDROID, ANDROID_geospatial) \ + _(LocateGeospatialPoseANDROID, ANDROID_geospatial) \ + _(CheckVpsAvailabilityAsyncANDROID, ANDROID_geospatial) \ + _(CheckVpsAvailabilityCompleteANDROID, ANDROID_geospatial) \ + + /// For every function defined by XR_ANDROID_spatial_entity_bound_anchor in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10871,6 +12043,13 @@ XR_ENUM_STR(XrResult); _(EnumerateSpatialAnchorAttachableComponentsANDROID, ANDROID_spatial_entity_bound_anchor) \ +/// For every function defined by XR_ANDROID_spatial_component_subsumed_by in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ANDROID_spatial_component_subsumed_by(_) + + /// For every function defined by XR_ANDROID_spatial_anchor_space in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, @@ -10880,6 +12059,37 @@ XR_ENUM_STR(XrResult); _(CreateSpatialAnchorSpaceFromIdANDROID, ANDROID_spatial_anchor_space) \ +/// For every function defined by XR_ANDROID_geospatial_anchor in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_ANDROID_geospatial_anchor(_) \ + _(CreateGeospatialAnchorANDROID, ANDROID_geospatial_anchor) \ + _(CreateSurfaceAnchorAsyncANDROID, ANDROID_geospatial_anchor) \ + _(CreateSurfaceAnchorCompleteANDROID, ANDROID_geospatial_anchor) \ + + +/// For every function defined by XR_EXT_interaction_profile_battery_state_display in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_interaction_profile_battery_state_display(_) + + +/// For every function defined by XR_EXT_loader_init_properties in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_loader_init_properties(_) + + +/// For every function defined by XR_EXT_view_configuration_views_change in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_EXT_view_configuration_views_change(_) + + #endif diff --git a/src/video/khronos/openxr/openxr_reflection_parent_structs.h b/src/video/khronos/openxr/openxr_reflection_parent_structs.h index 2b372dd213..5fa70de4a2 100644 --- a/src/video/khronos/openxr/openxr_reflection_parent_structs.h +++ b/src/video/khronos/openxr/openxr_reflection_parent_structs.h @@ -97,6 +97,7 @@ This file contains expansion macros (X Macros) for OpenXR structures that have a _avail(XrEventDataStopColocationDiscoveryCompleteMETA, XR_TYPE_EVENT_DATA_STOP_COLOCATION_DISCOVERY_COMPLETE_META) \ _avail(XrEventDataImageTrackingLostANDROID, XR_TYPE_EVENT_DATA_IMAGE_TRACKING_LOST_ANDROID) \ _avail(XrEventDataSpatialDiscoveryRecommendedEXT, XR_TYPE_EVENT_DATA_SPATIAL_DISCOVERY_RECOMMENDED_EXT) \ + _avail(XrEventDataGeospatialTrackerStateChangedANDROID, XR_TYPE_EVENT_DATA_GEOSPATIAL_TRACKER_STATE_CHANGED_ANDROID) \ _avail(XrEventDataViewConfigurationViewsChangedEXT, XR_TYPE_EVENT_DATA_VIEW_CONFIGURATION_VIEWS_CHANGED_EXT) \ @@ -319,6 +320,8 @@ This file contains expansion macros (X Macros) for OpenXR structures that have a _avail(XrCreateSpatialPersistenceContextCompletionEXT, XR_TYPE_CREATE_SPATIAL_PERSISTENCE_CONTEXT_COMPLETION_EXT) \ _avail(XrPersistSpatialEntityCompletionEXT, XR_TYPE_PERSIST_SPATIAL_ENTITY_COMPLETION_EXT) \ _avail(XrUnpersistSpatialEntityCompletionEXT, XR_TYPE_UNPERSIST_SPATIAL_ENTITY_COMPLETION_EXT) \ + _avail(XrVPSAvailabilityCheckCompletionANDROID, XR_TYPE_VPS_AVAILABILITY_CHECK_COMPLETION_ANDROID) \ + _avail(XrSurfaceAnchorCreateCompletionANDROID, XR_TYPE_SURFACE_ANCHOR_CREATE_COMPLETION_ANDROID) \ @@ -424,5 +427,20 @@ This file contains expansion macros (X Macros) for OpenXR structures that have a +/// Like XR_LIST_ALL_STRUCTURE_TYPES, but only includes types whose parent struct type is XrGoogleCloudAuthInfoBaseHeaderANDROID +#define XR_LIST_ALL_CHILD_STRUCTURE_TYPES_XrGoogleCloudAuthInfoBaseHeaderANDROID(_avail, _unavail) \ + _impl_XR_LIST_ALL_CHILD_STRUCTURE_TYPES_XrGoogleCloudAuthInfoBaseHeaderANDROID_CORE(_avail, _unavail) \ + + +// Implementation detail of XR_LIST_ALL_CHILD_STRUCTURE_TYPES_XrGoogleCloudAuthInfoBaseHeaderANDROID() +#define _impl_XR_LIST_ALL_CHILD_STRUCTURE_TYPES_XrGoogleCloudAuthInfoBaseHeaderANDROID_CORE(_avail, _unavail) \ + _avail(XrGoogleCloudAuthInfoApiKeyANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_API_KEY_ANDROID) \ + _avail(XrGoogleCloudAuthInfoTokenANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_TOKEN_ANDROID) \ + _avail(XrGoogleCloudAuthInfoKeylessANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_KEYLESS_ANDROID) \ + + + + + #endif diff --git a/src/video/khronos/openxr/openxr_reflection_structs.h b/src/video/khronos/openxr/openxr_reflection_structs.h index 683beef091..fdaa2c8bac 100644 --- a/src/video/khronos/openxr/openxr_reflection_structs.h +++ b/src/video/khronos/openxr/openxr_reflection_structs.h @@ -424,6 +424,7 @@ This file contains expansion macros (X Macros) for OpenXR structures. _avail(XrSpatialEntityComponentDataPolygonBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_POLYGON_BD) \ _avail(XrSpatialEntityComponentDataBoundingBox3DBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_BOUNDING_BOX_3D_BD) \ _avail(XrSpatialEntityComponentDataTriangleMeshBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_TRIANGLE_MESH_BD) \ + _avail(XrSpatialEntityComponentDataSphereBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_SPHERE_BD) \ _avail(XrSenseDataProviderCreateInfoBD, XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_BD) \ _avail(XrSenseDataProviderStartInfoBD, XR_TYPE_SENSE_DATA_PROVIDER_START_INFO_BD) \ _avail(XrEventDataSenseDataProviderStateChangedBD, XR_TYPE_EVENT_DATA_SENSE_DATA_PROVIDER_STATE_CHANGED_BD) \ @@ -451,6 +452,10 @@ This file contains expansion macros (X Macros) for OpenXR structures. _avail(XrSystemSpatialMeshPropertiesBD, XR_TYPE_SYSTEM_SPATIAL_MESH_PROPERTIES_BD) \ _avail(XrSenseDataProviderCreateInfoSpatialMeshBD, XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_SPATIAL_MESH_BD) \ _avail(XrFuturePollResultProgressBD, XR_TYPE_FUTURE_POLL_RESULT_PROGRESS_BD) \ + _avail(XrBodyTrackingPostureDataBD, XR_TYPE_BODY_TRACKING_POSTURE_DATA_BD) \ + _avail(XrBodyJointVelocitiesBD, XR_TYPE_BODY_JOINT_VELOCITIES_BD) \ + _avail(XrBodyJointAccelerationsBD, XR_TYPE_BODY_JOINT_ACCELERATIONS_BD) \ + _avail(XrBodyTrackingStateBD, XR_TYPE_BODY_TRACKING_STATE_BD) \ _avail(XrSystemSpatialPlanePropertiesBD, XR_TYPE_SYSTEM_SPATIAL_PLANE_PROPERTIES_BD) \ _avail(XrSpatialEntityComponentDataPlaneOrientationBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_PLANE_ORIENTATION_BD) \ _avail(XrSenseDataFilterPlaneOrientationBD, XR_TYPE_SENSE_DATA_FILTER_PLANE_ORIENTATION_BD) \ @@ -565,6 +570,8 @@ This file contains expansion macros (X Macros) for OpenXR structures. _avail(XrEnvironmentRaycastFilterDistanceMETA, XR_TYPE_ENVIRONMENT_RAYCAST_FILTER_DISTANCE_META) \ _avail(XrTilePropertiesMETA, XR_TYPE_TILE_PROPERTIES_META) \ _avail(XrTilePropertiesHintMETA, XR_TYPE_TILE_PROPERTIES_HINT_META) \ + _avail(XrHandTrackingUnextrapolatedPosesRequestMETA, XR_TYPE_HAND_TRACKING_UNEXTRAPOLATED_POSES_REQUEST_META) \ + _avail(XrHandTrackingUnextrapolatedPosesMETA, XR_TYPE_HAND_TRACKING_UNEXTRAPOLATED_POSES_META) \ _avail(XrSystemLightEstimationPropertiesANDROID, XR_TYPE_SYSTEM_LIGHT_ESTIMATION_PROPERTIES_ANDROID) \ _avail(XrLightEstimatorCreateInfoANDROID, XR_TYPE_LIGHT_ESTIMATOR_CREATE_INFO_ANDROID) \ _avail(XrLightEstimateGetInfoANDROID, XR_TYPE_LIGHT_ESTIMATE_GET_INFO_ANDROID) \ @@ -622,6 +629,16 @@ This file contains expansion macros (X Macros) for OpenXR structures. _avail(XrSpatialMarkerSizeEXT, XR_TYPE_SPATIAL_MARKER_SIZE_EXT) \ _avail(XrSpatialMarkerStaticOptimizationEXT, XR_TYPE_SPATIAL_MARKER_STATIC_OPTIMIZATION_EXT) \ _avail(XrSpatialComponentMarkerListEXT, XR_TYPE_SPATIAL_COMPONENT_MARKER_LIST_EXT) \ + _avail(XrSystemDynamicObjectTrackingPropertiesBD, XR_TYPE_SYSTEM_DYNAMIC_OBJECT_TRACKING_PROPERTIES_BD) \ + _avail(XrSenseDataProviderCreateInfoDynamicObjectBD, XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_DYNAMIC_OBJECT_BD) \ + _avail(XrDynamicObjectDataBD, XR_TYPE_DYNAMIC_OBJECT_DATA_BD) \ + _avail(XrSpatialEntityComponentDataDynamicObjectBD, XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_DYNAMIC_OBJECT_BD) \ + _avail(XrSenseDataFilterDynamicObjectTypeBD, XR_TYPE_SENSE_DATA_FILTER_DYNAMIC_OBJECT_TYPE_BD) \ + _avail(XrSystemDynamicObjectKeyboardPropertiesBD, XR_TYPE_SYSTEM_DYNAMIC_OBJECT_KEYBOARD_PROPERTIES_BD) \ + _avail(XrSystemDynamicObjectMousePropertiesBD, XR_TYPE_SYSTEM_DYNAMIC_OBJECT_MOUSE_PROPERTIES_BD) \ + _avail(XrSpatialBoundsSpherefANDROID, XR_TYPE_SPATIAL_BOUNDS_SPHEREF_ANDROID) \ + _avail(XrSpatialBoundsBoxfANDROID, XR_TYPE_SPATIAL_BOUNDS_BOXF_ANDROID) \ + _avail(XrSpatialBoundsFrustumfANDROID, XR_TYPE_SPATIAL_BOUNDS_FRUSTUMF_ANDROID) \ _avail(XrSpatialCapabilityConfigurationAnchorEXT, XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ANCHOR_EXT) \ _avail(XrSpatialComponentAnchorListEXT, XR_TYPE_SPATIAL_COMPONENT_ANCHOR_LIST_EXT) \ _avail(XrSpatialAnchorCreateInfoEXT, XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_EXT) \ @@ -643,10 +660,26 @@ This file contains expansion macros (X Macros) for OpenXR structures. _avail(XrSpatialRaycastInfoANDROID, XR_TYPE_SPATIAL_RAYCAST_INFO_ANDROID) \ _avail(XrSpatialComponentRaycastResultListANDROID, XR_TYPE_SPATIAL_COMPONENT_RAYCAST_RESULT_LIST_ANDROID) \ _avail(XrSpatialRaycastSnapshotCreateInfoANDROID, XR_TYPE_SPATIAL_RAYCAST_SNAPSHOT_CREATE_INFO_ANDROID) \ + _avail(XrGoogleCloudAuthInfoApiKeyANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_API_KEY_ANDROID) \ + _avail(XrGoogleCloudAuthInfoTokenANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_TOKEN_ANDROID) \ + _avail(XrGoogleCloudAuthInfoKeylessANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_INFO_KEYLESS_ANDROID) \ + _avail(XrGoogleCloudAuthErrorResultANDROID, XR_TYPE_GOOGLE_CLOUD_AUTH_ERROR_RESULT_ANDROID) \ + _avail(XrSystemGeospatialPropertiesANDROID, XR_TYPE_SYSTEM_GEOSPATIAL_PROPERTIES_ANDROID) \ + _avail(XrGeospatialTrackerCreateInfoANDROID, XR_TYPE_GEOSPATIAL_TRACKER_CREATE_INFO_ANDROID) \ + _avail(XrEventDataGeospatialTrackerStateChangedANDROID, XR_TYPE_EVENT_DATA_GEOSPATIAL_TRACKER_STATE_CHANGED_ANDROID) \ + _avail(XrGeospatialPoseFromPoseLocateInfoANDROID, XR_TYPE_GEOSPATIAL_POSE_FROM_POSE_LOCATE_INFO_ANDROID) \ + _avail(XrGeospatialPoseResultANDROID, XR_TYPE_GEOSPATIAL_POSE_RESULT_ANDROID) \ + _avail(XrGeospatialPoseLocateInfoANDROID, XR_TYPE_GEOSPATIAL_POSE_LOCATE_INFO_ANDROID) \ + _avail(XrVPSAvailabilityCheckCompletionANDROID, XR_TYPE_VPS_AVAILABILITY_CHECK_COMPLETION_ANDROID) \ _avail(XrSpatialAnchorParentANDROID, XR_TYPE_SPATIAL_ANCHOR_PARENT_ANDROID) \ _avail(XrSpatialDiscoveryUniqueEntitiesFilterANDROID, XR_TYPE_SPATIAL_DISCOVERY_UNIQUE_ENTITIES_FILTER_ANDROID) \ _avail(XrSpatialComponentSubsumedByListANDROID, XR_TYPE_SPATIAL_COMPONENT_SUBSUMED_BY_LIST_ANDROID) \ _avail(XrSpatialAnchorSpaceFromIdCreateInfoANDROID, XR_TYPE_SPATIAL_ANCHOR_SPACE_FROM_ID_CREATE_INFO_ANDROID) \ + _avail(XrSystemGeospatialAnchorPropertiesANDROID, XR_TYPE_SYSTEM_GEOSPATIAL_ANCHOR_PROPERTIES_ANDROID) \ + _avail(XrGeospatialTrackerAnchorTrackingInfoANDROID, XR_TYPE_GEOSPATIAL_TRACKER_ANCHOR_TRACKING_INFO_ANDROID) \ + _avail(XrGeospatialAnchorCreateInfoANDROID, XR_TYPE_GEOSPATIAL_ANCHOR_CREATE_INFO_ANDROID) \ + _avail(XrSurfaceAnchorCreateInfoANDROID, XR_TYPE_SURFACE_ANCHOR_CREATE_INFO_ANDROID) \ + _avail(XrSurfaceAnchorCreateCompletionANDROID, XR_TYPE_SURFACE_ANCHOR_CREATE_COMPLETION_ANDROID) \ _avail(XrBatteryStateDisplayEXT, XR_TYPE_BATTERY_STATE_DISPLAY_EXT) \ _avail(XrLoaderInitInfoPropertiesEXT, XR_TYPE_LOADER_INIT_INFO_PROPERTIES_EXT) \ _avail(XrEventDataViewConfigurationViewsChangedEXT, XR_TYPE_EVENT_DATA_VIEW_CONFIGURATION_VIEWS_CHANGED_EXT) \ diff --git a/src/video/khronos/vulkan/vulkan_core.h b/src/video/khronos/vulkan/vulkan_core.h index a3ab00cf7c..8ed66f020d 100644 --- a/src/video/khronos/vulkan/vulkan_core.h +++ b/src/video/khronos/vulkan/vulkan_core.h @@ -66,7 +66,7 @@ extern "C" { //#define VK_API_VERSION VK_MAKE_API_VERSION(0, 1, 0, 0) // Patch version should always be set to 0 // Version of this file -#define VK_HEADER_VERSION 355 +#define VK_HEADER_VERSION 356 // Complete version of this file #define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 4, VK_HEADER_VERSION) @@ -1479,6 +1479,7 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_FLAGS_FEATURES_KHR = 1000668004, VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_2_CREATE_INFO_KHR = 1000668005, VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_2_KHR = 1000668006, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OCP_MICROSCALING_TYPES_FEATURES_EXT = 1000672000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MIXED_FLOAT_DOT_PRODUCT_FEATURES_VALVE = 1000673000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_THROTTLE_HINT_FEATURES_SEC = 1000674000, VK_STRUCTURE_TYPE_THROTTLE_HINT_SUBMIT_INFO_SEC = 1000674001, @@ -13508,6 +13509,11 @@ typedef enum VkComponentTypeKHR { VK_COMPONENT_TYPE_UINT8_PACKED_NV = 1000491001, VK_COMPONENT_TYPE_FLOAT8_E4M3_EXT = 1000491002, VK_COMPONENT_TYPE_FLOAT8_E5M2_EXT = 1000491003, + VK_COMPONENT_TYPE_FLOAT6_E2M3_EXT = 1000672000, + VK_COMPONENT_TYPE_FLOAT6_E3M2_EXT = 1000672001, + VK_COMPONENT_TYPE_FLOAT4_E2M1_EXT = 1000672002, + VK_COMPONENT_TYPE_FLOAT8_UNSIGNED_E8M0_EXT = 1000672003, + VK_COMPONENT_TYPE_MXINT8_EXT = 1000672004, VK_COMPONENT_TYPE_FLOAT16_NV = VK_COMPONENT_TYPE_FLOAT16_KHR, VK_COMPONENT_TYPE_FLOAT32_NV = VK_COMPONENT_TYPE_FLOAT32_KHR, VK_COMPONENT_TYPE_FLOAT64_NV = VK_COMPONENT_TYPE_FLOAT64_KHR, @@ -21702,6 +21708,7 @@ typedef struct VkPhysicalDeviceOpacityMicromapFeaturesEXT { void* pNext; VkBool32 micromap; VkBool32 micromapCaptureReplay; + // micromapHostCommands is legacy, but no reason was given in the API XML VkBool32 micromapHostCommands; } VkPhysicalDeviceOpacityMicromapFeaturesEXT; @@ -26323,6 +26330,21 @@ typedef struct VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT { +// VK_EXT_shader_ocp_microscaling_types is a preprocessor guard. Do not pass it to API calls. +#define VK_EXT_shader_ocp_microscaling_types 1 +#define VK_EXT_SHADER_OCP_MICROSCALING_TYPES_SPEC_VERSION 1 +#define VK_EXT_SHADER_OCP_MICROSCALING_TYPES_EXTENSION_NAME "VK_EXT_shader_ocp_microscaling_types" +typedef struct VkPhysicalDeviceShaderOCPMicroscalingTypesFeaturesEXT { + VkStructureType sType; + void* pNext; + VkBool32 shaderFloat4; + VkBool32 shaderFloat6; + VkBool32 shaderFloat8UnsignedE8M0; + VkBool32 shaderMXInt8; +} VkPhysicalDeviceShaderOCPMicroscalingTypesFeaturesEXT; + + + // VK_VALVE_shader_mixed_float_dot_product is a preprocessor guard. Do not pass it to API calls. #define VK_VALVE_shader_mixed_float_dot_product 1 #define VK_VALVE_SHADER_MIXED_FLOAT_DOT_PRODUCT_SPEC_VERSION 1 @@ -26522,6 +26544,7 @@ typedef struct VkPhysicalDeviceAccelerationStructureFeaturesKHR { VkBool32 accelerationStructure; VkBool32 accelerationStructureCaptureReplay; VkBool32 accelerationStructureIndirectBuild; + // accelerationStructureHostCommands is legacy, but no reason was given in the API XML VkBool32 accelerationStructureHostCommands; VkBool32 descriptorBindingAccelerationStructureUpdateAfterBind; } VkPhysicalDeviceAccelerationStructureFeaturesKHR;