From e488a6cbafba0df0ef722c74513d7ec30f14700e Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Fri, 5 May 2023 21:43:12 -0600 Subject: [PATCH] wineopenxr: Update to 1.0.27 registry version. CW-Bug-Id: #22244 --- wineopenxr/make_openxr | 25 +- wineopenxr/openxr.c | 3 + wineopenxr/openxr_thunks.c | 239 +- wineopenxr/openxr_thunks.h | 71 +- wineopenxr/wineopenxr.h | 2754 +++++++++++------- wineopenxr/xr.xml | 5580 ++++++++++++++++++++++++++++++++---- 6 files changed, 7100 insertions(+), 1572 deletions(-) diff --git a/wineopenxr/make_openxr b/wineopenxr/make_openxr index 68eb831c..62339281 100755 --- a/wineopenxr/make_openxr +++ b/wineopenxr/make_openxr @@ -119,6 +119,20 @@ UNSUPPORTED_EXTENSIONS = [ # Deprecated extensions "XR_NV_external_memory_capabilities", "XR_NV_external_memory_win32", + + # Not widely supported extensions which require handler wrapping + "XR_MSFT_spatial_graph_bridge", + "XR_ML_compat", + "XR_MSFT_hand_tracking_mesh", + "XR_FB_keyboard_tracking", + "XR_VARJO_marker_tracking", + "XR_HTC_facial_tracking", + "XR_FB_face_tracking", + "XR_HTC_passthrough", + "XR_FB_eye_tracking_social", + "XR_FB_spatial_entity_user", + "XR_FB_body_tracking", + "XR_FB_spatial_entity", ] ALLOWED_PROTECTS = [ @@ -1333,7 +1347,7 @@ class XrParam(object): self.format_conv = "wine_dbgstr_longlong({0})" elif self.type in ["uint16_t", "uint32_t", "XrBool32"]: self.format_str = "%u" - elif self.type in ["uint64_t"]: + elif self.type in ["uint64_t","XrAsyncRequestIdFB"]: self.format_str = "0x%s" self.format_conv = "wine_dbgstr_longlong({0})" elif self.type == "HANDLE": @@ -1630,10 +1644,13 @@ class XrStruct(Sequence): return decoupled_structs def typedef(self): - if self.union: - text = "typedef union {0} {0};\n".format(self.name) + if not self.is_alias(): + if self.union: + text = "typedef union {0} {0};\n".format(self.name) + else: + text = "typedef struct {0} {0};\n".format(self.name) else: - text = "typedef struct {0} {0};\n".format(self.name) + text = "" for aliasee in self.aliased_by: text += "typedef {0} {1};\n".format(self.name, aliasee.name) diff --git a/wineopenxr/openxr.c b/wineopenxr/openxr.c index 6242c750..0b8b875a 100644 --- a/wineopenxr/openxr.c +++ b/wineopenxr/openxr.c @@ -2145,6 +2145,8 @@ static XrCompositionLayerBaseHeader *convert_XrCompositionLayer(wine_XrSession * { uint32_t i; + WINE_TRACE("Type %u, pNext %p.\n", in_layer->type, in_layer->next); + switch(in_layer->type){ case XR_TYPE_COMPOSITION_LAYER_CUBE_KHR: { out_layer->cube = *(const XrCompositionLayerCubeKHR *)in_layer; @@ -2211,6 +2213,7 @@ static XrCompositionLayerBaseHeader *convert_XrCompositionLayer(wine_XrSession * ((XrCompositionLayerProjectionView *)view)->subImage.swapchain = ((wine_XrSwapchain *)view->subImage.swapchain)->swapchain; while (view->next) { + WINE_TRACE("Projection view type %u.\n", ((XrCompositionLayerProjectionView *)view->next)->type); switch (((XrCompositionLayerProjectionView *)view->next)->type) { case XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR: diff --git a/wineopenxr/openxr_thunks.c b/wineopenxr/openxr_thunks.c index 67fa3fdf..a7e8aaaa 100644 --- a/wineopenxr/openxr_thunks.c +++ b/wineopenxr/openxr_thunks.c @@ -3,7 +3,7 @@ * This file is generated from OpenXR xr.xml file covered * by the following copyright and permission notice: * - * Copyright (c) 2017-2021, The Khronos Group Inc. + * Copyright (c) 2017-2023, The Khronos Group Inc. * * SPDX-License-Identifier: Apache-2.0 OR MIT * @@ -30,16 +30,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(openxr); #if defined(USE_STRUCT_CONVERSION) -static inline void convert_XrMarkerSpaceCreateInfoVARJO_win_to_host(const XrMarkerSpaceCreateInfoVARJO *in, XrMarkerSpaceCreateInfoVARJO_host *out) -{ - if (!in) return; - - out->type = in->type; - out->next = in->next; - out->markerId = in->markerId; - out->poseInMarkerSpace = in->poseInMarkerSpace; -} - static inline void convert_XrSceneMeshBuffersGetInfoMSFT_win_to_host(const XrSceneMeshBuffersGetInfoMSFT *in, XrSceneMeshBuffersGetInfoMSFT_host *out) { if (!in) return; @@ -93,6 +83,18 @@ XrResult WINAPI wine_xrAcquireSwapchainImage(XrSwapchain swapchain, const XrSwap return xrAcquireSwapchainImage(((wine_XrSwapchain *)swapchain)->swapchain, acquireInfo, index); } +static XrResult WINAPI wine_xrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, const XrForceFeedbackCurlApplyLocationsMNDX *locations) +{ + WINE_TRACE("%p, %p\n", handTracker, locations); + return ((wine_XrHandTrackerEXT *)handTracker)->wine_session->wine_instance->funcs.p_xrApplyForceFeedbackCurlMNDX(((wine_XrHandTrackerEXT *)handTracker)->hand_tracker, locations); +} + +static XrResult WINAPI wine_xrApplyFoveationHTC(XrSession session, const XrFoveationApplyInfoHTC *applyInfo) +{ + WINE_TRACE("%p, %p\n", session, applyInfo); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrApplyFoveationHTC(((wine_XrSession *)session)->session, applyInfo); +} + XrResult WINAPI wine_xrApplyHapticFeedback(XrSession session, const XrHapticActionInfo *hapticActionInfo, const XrHapticBaseHeader *hapticFeedback) { WINE_TRACE("%p, %p, %p\n", session, hapticActionInfo, hapticFeedback); @@ -147,29 +149,6 @@ XrResult WINAPI wine_xrCreateActionSpace(XrSession session, const XrActionSpaceC return xrCreateActionSpace(((wine_XrSession *)session)->session, createInfo, space); } -static XrResult WINAPI wine_xrCreateHandMeshSpaceMSFT(XrHandTrackerEXT handTracker, const XrHandMeshSpaceCreateInfoMSFT *createInfo, XrSpace *space) -{ - WINE_TRACE("%p, %p, %p\n", handTracker, createInfo, space); - return ((wine_XrHandTrackerEXT *)handTracker)->wine_session->wine_instance->funcs.p_xrCreateHandMeshSpaceMSFT(((wine_XrHandTrackerEXT *)handTracker)->hand_tracker, createInfo, space); -} - -static XrResult WINAPI wine_xrCreateMarkerSpaceVARJO(XrSession session, const XrMarkerSpaceCreateInfoVARJO *createInfo, XrSpace *space) -{ -#if defined(USE_STRUCT_CONVERSION) - XrResult result; - XrMarkerSpaceCreateInfoVARJO_host createInfo_host; - WINE_TRACE("%p, %p, %p\n", session, createInfo, space); - - convert_XrMarkerSpaceCreateInfoVARJO_win_to_host(createInfo, &createInfo_host); - result = ((wine_XrSession *)session)->wine_instance->funcs.p_xrCreateMarkerSpaceVARJO(((wine_XrSession *)session)->session, &createInfo_host, space); - - return result; -#else - WINE_TRACE("%p, %p, %p\n", session, createInfo, space); - return ((wine_XrSession *)session)->wine_instance->funcs.p_xrCreateMarkerSpaceVARJO(((wine_XrSession *)session)->session, createInfo, space); -#endif -} - XrResult WINAPI wine_xrCreateReferenceSpace(XrSession session, const XrReferenceSpaceCreateInfo *createInfo, XrSpace *space) { WINE_TRACE("%p, %p, %p\n", session, createInfo, space); @@ -182,12 +161,6 @@ static XrResult WINAPI wine_xrCreateSpatialAnchorSpaceMSFT(XrSession session, co return ((wine_XrSession *)session)->wine_instance->funcs.p_xrCreateSpatialAnchorSpaceMSFT(((wine_XrSession *)session)->session, createInfo, space); } -static XrResult WINAPI wine_xrCreateSpatialGraphNodeSpaceMSFT(XrSession session, const XrSpatialGraphNodeSpaceCreateInfoMSFT *createInfo, XrSpace *space) -{ - WINE_TRACE("%p, %p, %p\n", session, createInfo, space); - return ((wine_XrSession *)session)->wine_instance->funcs.p_xrCreateSpatialGraphNodeSpaceMSFT(((wine_XrSession *)session)->session, createInfo, space); -} - static XrResult WINAPI wine_xrDeserializeSceneMSFT(XrSceneObserverMSFT sceneObserver, const XrSceneDeserializeInfoMSFT *deserializeInfo) { WINE_TRACE("%p, %p\n", sceneObserver, deserializeInfo); @@ -248,6 +221,18 @@ XrResult WINAPI wine_xrEnumerateEnvironmentBlendModes(XrInstance instance, XrSys return xrEnumerateEnvironmentBlendModes(((wine_XrInstance *)instance)->instance, systemId, viewConfigurationType, environmentBlendModeCapacityInput, environmentBlendModeCountOutput, environmentBlendModes); } +static XrResult WINAPI wine_xrEnumerateExternalCamerasOCULUS(XrSession session, uint32_t cameraCapacityInput, uint32_t *cameraCountOutput, XrExternalCameraOCULUS *cameras) +{ + WINE_TRACE("%p, %u, %p, %p\n", session, cameraCapacityInput, cameraCountOutput, cameras); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrEnumerateExternalCamerasOCULUS(((wine_XrSession *)session)->session, cameraCapacityInput, cameraCountOutput, cameras); +} + +static XrResult WINAPI wine_xrEnumeratePerformanceMetricsCounterPathsMETA(XrInstance instance, uint32_t counterPathCapacityInput, uint32_t *counterPathCountOutput, XrPath *counterPaths) +{ + WINE_TRACE("%p, %u, %p, %p\n", instance, counterPathCapacityInput, counterPathCountOutput, counterPaths); + return ((wine_XrInstance *)instance)->funcs.p_xrEnumeratePerformanceMetricsCounterPathsMETA(((wine_XrInstance *)instance)->instance, counterPathCapacityInput, counterPathCountOutput, counterPaths); +} + static XrResult WINAPI wine_xrEnumeratePersistedSpatialAnchorNamesMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, uint32_t spatialAnchorNamesCapacityInput, uint32_t *spatialAnchorNamesCountOutput, XrSpatialAnchorPersistenceNameMSFT *persistedAnchorNames) { WINE_TRACE("%p, %u, %p, %p\n", spatialAnchorStore, spatialAnchorNamesCapacityInput, spatialAnchorNamesCountOutput, persistedAnchorNames); @@ -260,6 +245,12 @@ XrResult WINAPI wine_xrEnumerateReferenceSpaces(XrSession session, uint32_t spac return xrEnumerateReferenceSpaces(((wine_XrSession *)session)->session, spaceCapacityInput, spaceCountOutput, spaces); } +static XrResult WINAPI wine_xrEnumerateRenderModelPathsFB(XrSession session, uint32_t pathCapacityInput, uint32_t *pathCountOutput, XrRenderModelPathInfoFB *paths) +{ + WINE_TRACE("%p, %u, %p, %p\n", session, pathCapacityInput, pathCountOutput, paths); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrEnumerateRenderModelPathsFB(((wine_XrSession *)session)->session, pathCapacityInput, pathCountOutput, paths); +} + static XrResult WINAPI wine_xrEnumerateReprojectionModesMSFT(XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, uint32_t modeCapacityInput, uint32_t *modeCountOutput, XrReprojectionModeMSFT *modes) { WINE_TRACE("%p, 0x%s, %#x, %u, %p, %p\n", instance, wine_dbgstr_longlong(systemId), viewConfigurationType, modeCapacityInput, modeCountOutput, modes); @@ -356,12 +347,24 @@ XrResult WINAPI wine_xrGetCurrentInteractionProfile(XrSession session, XrPath to return xrGetCurrentInteractionProfile(((wine_XrSession *)session)->session, topLevelUserPath, interactionProfile); } +static XrResult WINAPI wine_xrGetDeviceSampleRateFB(XrSession session, const XrHapticActionInfo *hapticActionInfo, XrDevicePcmSampleRateGetInfoFB *deviceSampleRate) +{ + WINE_TRACE("%p, %p, %p\n", session, hapticActionInfo, deviceSampleRate); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrGetDeviceSampleRateFB(((wine_XrSession *)session)->session, hapticActionInfo, deviceSampleRate); +} + static XrResult WINAPI wine_xrGetDisplayRefreshRateFB(XrSession session, float *displayRefreshRate) { WINE_TRACE("%p, %p\n", session, displayRefreshRate); return ((wine_XrSession *)session)->wine_instance->funcs.p_xrGetDisplayRefreshRateFB(((wine_XrSession *)session)->session, displayRefreshRate); } +static XrResult WINAPI wine_xrGetFoveationEyeTrackedStateMETA(XrSession session, XrFoveationEyeTrackedStateMETA *foveationState) +{ + WINE_TRACE("%p, %p\n", session, foveationState); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrGetFoveationEyeTrackedStateMETA(((wine_XrSession *)session)->session, foveationState); +} + static XrResult WINAPI wine_xrGetHandMeshFB(XrHandTrackerEXT handTracker, XrHandTrackingMeshFB *mesh) { WINE_TRACE("%p, %p\n", handTracker, mesh); @@ -380,24 +383,30 @@ XrResult WINAPI wine_xrGetInstanceProperties(XrInstance instance, XrInstanceProp return xrGetInstanceProperties(((wine_XrInstance *)instance)->instance, instanceProperties); } -static XrResult WINAPI wine_xrGetMarkerSizeVARJO(XrSession session, uint64_t markerId, XrExtent2Df *size) -{ - WINE_TRACE("%p, 0x%s, %p\n", session, wine_dbgstr_longlong(markerId), size); - return ((wine_XrSession *)session)->wine_instance->funcs.p_xrGetMarkerSizeVARJO(((wine_XrSession *)session)->session, markerId, size); -} - static XrResult WINAPI wine_xrGetOpenGLGraphicsRequirementsKHR(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsOpenGLKHR *graphicsRequirements) { WINE_TRACE("%p, 0x%s, %p\n", instance, wine_dbgstr_longlong(systemId), graphicsRequirements); return ((wine_XrInstance *)instance)->funcs.p_xrGetOpenGLGraphicsRequirementsKHR(((wine_XrInstance *)instance)->instance, systemId, graphicsRequirements); } +static XrResult WINAPI wine_xrGetPerformanceMetricsStateMETA(XrSession session, XrPerformanceMetricsStateMETA *state) +{ + WINE_TRACE("%p, %p\n", session, state); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrGetPerformanceMetricsStateMETA(((wine_XrSession *)session)->session, state); +} + XrResult WINAPI wine_xrGetReferenceSpaceBoundsRect(XrSession session, XrReferenceSpaceType referenceSpaceType, XrExtent2Df *bounds) { WINE_TRACE("%p, %#x, %p\n", session, referenceSpaceType, bounds); return xrGetReferenceSpaceBoundsRect(((wine_XrSession *)session)->session, referenceSpaceType, bounds); } +static XrResult WINAPI wine_xrGetRenderModelPropertiesFB(XrSession session, XrPath path, XrRenderModelPropertiesFB *properties) +{ + WINE_TRACE("%p, 0x%s, %p\n", session, wine_dbgstr_longlong(path), properties); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrGetRenderModelPropertiesFB(((wine_XrSession *)session)->session, path, properties); +} + static XrResult WINAPI wine_xrGetSceneComponentsMSFT(XrSceneMSFT scene, const XrSceneComponentsGetInfoMSFT *getInfo, XrSceneComponentsMSFT *components) { WINE_TRACE("%p, %p, %p\n", scene, getInfo, components); @@ -475,6 +484,12 @@ static XrResult WINAPI wine_xrLoadControllerModelMSFT(XrSession session, XrContr return ((wine_XrSession *)session)->wine_instance->funcs.p_xrLoadControllerModelMSFT(((wine_XrSession *)session)->session, modelKey, bufferCapacityInput, bufferCountOutput, buffer); } +static XrResult WINAPI wine_xrLoadRenderModelFB(XrSession session, const XrRenderModelLoadInfoFB *info, XrRenderModelBufferFB *buffer) +{ + WINE_TRACE("%p, %p, %p\n", session, info, buffer); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrLoadRenderModelFB(((wine_XrSession *)session)->session, info, buffer); +} + static XrResult WINAPI wine_xrLocateHandJointsEXT(XrHandTrackerEXT handTracker, const XrHandJointsLocateInfoEXT *locateInfo, XrHandJointLocationsEXT *locations) { WINE_TRACE("%p, %p, %p\n", handTracker, locateInfo, locations); @@ -511,6 +526,12 @@ static XrResult WINAPI wine_xrPassthroughLayerResumeFB(XrPassthroughLayerFB laye return ((wine_XrPassthroughLayerFB *)layer)->wine_session->wine_instance->funcs.p_xrPassthroughLayerResumeFB(((wine_XrPassthroughLayerFB *)layer)->layer); } +static XrResult WINAPI wine_xrPassthroughLayerSetKeyboardHandsIntensityFB(XrPassthroughLayerFB layer, const XrPassthroughKeyboardHandsIntensityFB *intensity) +{ + WINE_TRACE("%p, %p\n", layer, intensity); + return ((wine_XrPassthroughLayerFB *)layer)->wine_session->wine_instance->funcs.p_xrPassthroughLayerSetKeyboardHandsIntensityFB(((wine_XrPassthroughLayerFB *)layer)->layer, intensity); +} + static XrResult WINAPI wine_xrPassthroughLayerSetStyleFB(XrPassthroughLayerFB layer, const XrPassthroughStyleFB *style) { WINE_TRACE("%p, %p\n", layer, style); @@ -547,6 +568,18 @@ static XrResult WINAPI wine_xrPersistSpatialAnchorMSFT(XrSpatialAnchorStoreConne return ((wine_XrSpatialAnchorStoreConnectionMSFT *)spatialAnchorStore)->wine_session->wine_instance->funcs.p_xrPersistSpatialAnchorMSFT(((wine_XrSpatialAnchorStoreConnectionMSFT *)spatialAnchorStore)->spatial_anchor_store_connection, spatialAnchorPersistenceInfo); } +static XrResult WINAPI wine_xrQueryPerformanceMetricsCounterMETA(XrSession session, XrPath counterPath, XrPerformanceMetricsCounterMETA *counter) +{ + WINE_TRACE("%p, 0x%s, %p\n", session, wine_dbgstr_longlong(counterPath), counter); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrQueryPerformanceMetricsCounterMETA(((wine_XrSession *)session)->session, counterPath, counter); +} + +static XrResult WINAPI wine_xrQuerySpacesFB(XrSession session, const XrSpaceQueryInfoBaseHeaderFB *info, XrAsyncRequestIdFB *requestId) +{ + WINE_TRACE("%p, %p, %p\n", session, info, requestId); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrQuerySpacesFB(((wine_XrSession *)session)->session, info, requestId); +} + XrResult WINAPI wine_xrReleaseSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageReleaseInfo *releaseInfo) { WINE_TRACE("%p, %p\n", swapchain, releaseInfo); @@ -565,18 +598,42 @@ XrResult WINAPI wine_xrRequestExitSession(XrSession session) return xrRequestExitSession(((wine_XrSession *)session)->session); } +static XrResult WINAPI wine_xrRequestSceneCaptureFB(XrSession session, const XrSceneCaptureRequestInfoFB *info, XrAsyncRequestIdFB *requestId) +{ + WINE_TRACE("%p, %p, %p\n", session, info, requestId); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrRequestSceneCaptureFB(((wine_XrSession *)session)->session, info, requestId); +} + XrResult WINAPI wine_xrResultToString(XrInstance instance, XrResult value, char buffer[]) { WINE_TRACE("%p, %#x, %p\n", instance, value, buffer); return xrResultToString(((wine_XrInstance *)instance)->instance, value, buffer); } +static XrResult WINAPI wine_xrRetrieveSpaceQueryResultsFB(XrSession session, XrAsyncRequestIdFB requestId, XrSpaceQueryResultsFB *results) +{ + WINE_TRACE("%p, 0x%s, %p\n", session, wine_dbgstr_longlong(requestId), results); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrRetrieveSpaceQueryResultsFB(((wine_XrSession *)session)->session, requestId, results); +} + +static XrResult WINAPI wine_xrSaveSpaceListFB(XrSession session, const XrSpaceListSaveInfoFB *info, XrAsyncRequestIdFB *requestId) +{ + WINE_TRACE("%p, %p, %p\n", session, info, requestId); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSaveSpaceListFB(((wine_XrSession *)session)->session, info, requestId); +} + static XrResult WINAPI wine_xrSetColorSpaceFB(XrSession session, const XrColorSpaceFB colorspace) { WINE_TRACE("%p, %#x\n", session, colorspace); return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetColorSpaceFB(((wine_XrSession *)session)->session, colorspace); } +static XrResult WINAPI wine_xrSetDigitalLensControlALMALENCE(XrSession session, const XrDigitalLensControlALMALENCE *digitalLensControl) +{ + WINE_TRACE("%p, %p\n", session, digitalLensControl); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetDigitalLensControlALMALENCE(((wine_XrSession *)session)->session, digitalLensControl); +} + static XrResult WINAPI wine_xrSetEnvironmentDepthEstimationVARJO(XrSession session, XrBool32 enabled) { WINE_TRACE("%p, %u\n", session, enabled); @@ -613,22 +670,22 @@ static XrResult WINAPI wine_xrSetInputDeviceStateVector2fEXT(XrSession session, return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetInputDeviceStateVector2fEXT(((wine_XrSession *)session)->session, topLevelPath, inputSourcePath, state); } -static XrResult WINAPI wine_xrSetMarkerTrackingPredictionVARJO(XrSession session, uint64_t markerId, XrBool32 enabled) +static XrResult WINAPI wine_xrSetPerformanceMetricsStateMETA(XrSession session, const XrPerformanceMetricsStateMETA *state) { - WINE_TRACE("%p, 0x%s, %u\n", session, wine_dbgstr_longlong(markerId), enabled); - return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetMarkerTrackingPredictionVARJO(((wine_XrSession *)session)->session, markerId, enabled); + WINE_TRACE("%p, %p\n", session, state); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetPerformanceMetricsStateMETA(((wine_XrSession *)session)->session, state); } -static XrResult WINAPI wine_xrSetMarkerTrackingTimeoutVARJO(XrSession session, uint64_t markerId, XrDuration timeout) +static XrResult WINAPI wine_xrSetTrackingOptimizationSettingsHintQCOM(XrSession session, XrTrackingOptimizationSettingsDomainQCOM domain, XrTrackingOptimizationSettingsHintQCOM hint) { - WINE_TRACE("%p, 0x%s, 0x%s\n", session, wine_dbgstr_longlong(markerId), wine_dbgstr_longlong(timeout)); - return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetMarkerTrackingTimeoutVARJO(((wine_XrSession *)session)->session, markerId, timeout); + WINE_TRACE("%p, %#x, %#x\n", session, domain, hint); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetTrackingOptimizationSettingsHintQCOM(((wine_XrSession *)session)->session, domain, hint); } -static XrResult WINAPI wine_xrSetMarkerTrackingVARJO(XrSession session, XrBool32 enabled) +static XrResult WINAPI wine_xrSetViewOffsetVARJO(XrSession session, float offset) { - WINE_TRACE("%p, %u\n", session, enabled); - return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetMarkerTrackingVARJO(((wine_XrSession *)session)->session, enabled); + WINE_TRACE("%p, %f\n", session, offset); + return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetViewOffsetVARJO(((wine_XrSession *)session)->session, offset); } XrResult WINAPI wine_xrStopHapticFeedback(XrSession session, const XrHapticActionInfo *hapticActionInfo) @@ -709,12 +766,6 @@ static XrResult WINAPI wine_xrUnpersistSpatialAnchorMSFT(XrSpatialAnchorStoreCon return ((wine_XrSpatialAnchorStoreConnectionMSFT *)spatialAnchorStore)->wine_session->wine_instance->funcs.p_xrUnpersistSpatialAnchorMSFT(((wine_XrSpatialAnchorStoreConnectionMSFT *)spatialAnchorStore)->spatial_anchor_store_connection, spatialAnchorPersistenceName); } -static XrResult WINAPI wine_xrUpdateHandMeshMSFT(XrHandTrackerEXT handTracker, const XrHandMeshUpdateInfoMSFT *updateInfo, XrHandMeshMSFT *handMesh) -{ - WINE_TRACE("%p, %p, %p\n", handTracker, updateInfo, handMesh); - return ((wine_XrHandTrackerEXT *)handTracker)->wine_session->wine_instance->funcs.p_xrUpdateHandMeshMSFT(((wine_XrHandTrackerEXT *)handTracker)->hand_tracker, updateInfo, handMesh); -} - static XrResult WINAPI wine_xrUpdateSwapchainFB(XrSwapchain swapchain, const XrSwapchainStateBaseHeaderFB *state) { WINE_TRACE("%p, %p\n", swapchain, state); @@ -736,6 +787,8 @@ XrResult WINAPI wine_xrWaitSwapchainImage(XrSwapchain swapchain, const XrSwapcha static const struct openxr_func xr_dispatch_table[] = { {"xrAcquireSwapchainImage", &wine_xrAcquireSwapchainImage}, + {"xrApplyForceFeedbackCurlMNDX", &wine_xrApplyForceFeedbackCurlMNDX}, + {"xrApplyFoveationHTC", &wine_xrApplyFoveationHTC}, {"xrApplyHapticFeedback", &wine_xrApplyHapticFeedback}, {"xrAttachSessionActionSets", &wine_xrAttachSessionActionSets}, {"xrBeginFrame", &wine_xrBeginFrame}, @@ -749,10 +802,8 @@ static const struct openxr_func xr_dispatch_table[] = {"xrCreateActionSpace", &wine_xrCreateActionSpace}, {"xrCreateFoveationProfileFB", &wine_xrCreateFoveationProfileFB}, {"xrCreateGeometryInstanceFB", &wine_xrCreateGeometryInstanceFB}, - {"xrCreateHandMeshSpaceMSFT", &wine_xrCreateHandMeshSpaceMSFT}, {"xrCreateHandTrackerEXT", &wine_xrCreateHandTrackerEXT}, {"xrCreateInstance", &wine_xrCreateInstance}, - {"xrCreateMarkerSpaceVARJO", &wine_xrCreateMarkerSpaceVARJO}, {"xrCreatePassthroughFB", &wine_xrCreatePassthroughFB}, {"xrCreatePassthroughLayerFB", &wine_xrCreatePassthroughLayerFB}, {"xrCreateReferenceSpace", &wine_xrCreateReferenceSpace}, @@ -763,7 +814,6 @@ static const struct openxr_func xr_dispatch_table[] = {"xrCreateSpatialAnchorMSFT", &wine_xrCreateSpatialAnchorMSFT}, {"xrCreateSpatialAnchorSpaceMSFT", &wine_xrCreateSpatialAnchorSpaceMSFT}, {"xrCreateSpatialAnchorStoreConnectionMSFT", &wine_xrCreateSpatialAnchorStoreConnectionMSFT}, - {"xrCreateSpatialGraphNodeSpaceMSFT", &wine_xrCreateSpatialGraphNodeSpaceMSFT}, {"xrCreateSwapchain", &wine_xrCreateSwapchain}, {"xrCreateTriangleMeshFB", &wine_xrCreateTriangleMeshFB}, {"xrCreateVulkanDeviceKHR", &wine_xrCreateVulkanDeviceKHR}, @@ -792,9 +842,12 @@ static const struct openxr_func xr_dispatch_table[] = {"xrEnumerateColorSpacesFB", &wine_xrEnumerateColorSpacesFB}, {"xrEnumerateDisplayRefreshRatesFB", &wine_xrEnumerateDisplayRefreshRatesFB}, {"xrEnumerateEnvironmentBlendModes", &wine_xrEnumerateEnvironmentBlendModes}, + {"xrEnumerateExternalCamerasOCULUS", &wine_xrEnumerateExternalCamerasOCULUS}, {"xrEnumerateInstanceExtensionProperties", &wine_xrEnumerateInstanceExtensionProperties}, + {"xrEnumeratePerformanceMetricsCounterPathsMETA", &wine_xrEnumeratePerformanceMetricsCounterPathsMETA}, {"xrEnumeratePersistedSpatialAnchorNamesMSFT", &wine_xrEnumeratePersistedSpatialAnchorNamesMSFT}, {"xrEnumerateReferenceSpaces", &wine_xrEnumerateReferenceSpaces}, + {"xrEnumerateRenderModelPathsFB", &wine_xrEnumerateRenderModelPathsFB}, {"xrEnumerateReprojectionModesMSFT", &wine_xrEnumerateReprojectionModesMSFT}, {"xrEnumerateSceneComputeFeaturesMSFT", &wine_xrEnumerateSceneComputeFeaturesMSFT}, {"xrEnumerateSwapchainFormats", &wine_xrEnumerateSwapchainFormats}, @@ -815,14 +868,17 @@ static const struct openxr_func xr_dispatch_table[] = {"xrGetCurrentInteractionProfile", &wine_xrGetCurrentInteractionProfile}, {"xrGetD3D11GraphicsRequirementsKHR", &wine_xrGetD3D11GraphicsRequirementsKHR}, {"xrGetD3D12GraphicsRequirementsKHR", &wine_xrGetD3D12GraphicsRequirementsKHR}, + {"xrGetDeviceSampleRateFB", &wine_xrGetDeviceSampleRateFB}, {"xrGetDisplayRefreshRateFB", &wine_xrGetDisplayRefreshRateFB}, + {"xrGetFoveationEyeTrackedStateMETA", &wine_xrGetFoveationEyeTrackedStateMETA}, {"xrGetHandMeshFB", &wine_xrGetHandMeshFB}, {"xrGetInputSourceLocalizedName", &wine_xrGetInputSourceLocalizedName}, {"xrGetInstanceProcAddr", &wine_xrGetInstanceProcAddr}, {"xrGetInstanceProperties", &wine_xrGetInstanceProperties}, - {"xrGetMarkerSizeVARJO", &wine_xrGetMarkerSizeVARJO}, {"xrGetOpenGLGraphicsRequirementsKHR", &wine_xrGetOpenGLGraphicsRequirementsKHR}, + {"xrGetPerformanceMetricsStateMETA", &wine_xrGetPerformanceMetricsStateMETA}, {"xrGetReferenceSpaceBoundsRect", &wine_xrGetReferenceSpaceBoundsRect}, + {"xrGetRenderModelPropertiesFB", &wine_xrGetRenderModelPropertiesFB}, {"xrGetSceneComponentsMSFT", &wine_xrGetSceneComponentsMSFT}, {"xrGetSceneComputeStateMSFT", &wine_xrGetSceneComputeStateMSFT}, {"xrGetSceneMeshBuffersMSFT", &wine_xrGetSceneMeshBuffersMSFT}, @@ -839,12 +895,14 @@ static const struct openxr_func xr_dispatch_table[] = {"xrGetVulkanGraphicsRequirementsKHR", &wine_xrGetVulkanGraphicsRequirementsKHR}, {"xrGetVulkanInstanceExtensionsKHR", &wine_xrGetVulkanInstanceExtensionsKHR}, {"xrLoadControllerModelMSFT", &wine_xrLoadControllerModelMSFT}, + {"xrLoadRenderModelFB", &wine_xrLoadRenderModelFB}, {"xrLocateHandJointsEXT", &wine_xrLocateHandJointsEXT}, {"xrLocateSceneComponentsMSFT", &wine_xrLocateSceneComponentsMSFT}, {"xrLocateSpace", &wine_xrLocateSpace}, {"xrLocateViews", &wine_xrLocateViews}, {"xrPassthroughLayerPauseFB", &wine_xrPassthroughLayerPauseFB}, {"xrPassthroughLayerResumeFB", &wine_xrPassthroughLayerResumeFB}, + {"xrPassthroughLayerSetKeyboardHandsIntensityFB", &wine_xrPassthroughLayerSetKeyboardHandsIntensityFB}, {"xrPassthroughLayerSetStyleFB", &wine_xrPassthroughLayerSetStyleFB}, {"xrPassthroughPauseFB", &wine_xrPassthroughPauseFB}, {"xrPassthroughStartFB", &wine_xrPassthroughStartFB}, @@ -852,20 +910,26 @@ static const struct openxr_func xr_dispatch_table[] = {"xrPerfSettingsSetPerformanceLevelEXT", &wine_xrPerfSettingsSetPerformanceLevelEXT}, {"xrPersistSpatialAnchorMSFT", &wine_xrPersistSpatialAnchorMSFT}, {"xrPollEvent", &wine_xrPollEvent}, + {"xrQueryPerformanceMetricsCounterMETA", &wine_xrQueryPerformanceMetricsCounterMETA}, + {"xrQuerySpacesFB", &wine_xrQuerySpacesFB}, {"xrReleaseSwapchainImage", &wine_xrReleaseSwapchainImage}, {"xrRequestDisplayRefreshRateFB", &wine_xrRequestDisplayRefreshRateFB}, {"xrRequestExitSession", &wine_xrRequestExitSession}, + {"xrRequestSceneCaptureFB", &wine_xrRequestSceneCaptureFB}, {"xrResultToString", &wine_xrResultToString}, + {"xrRetrieveSpaceQueryResultsFB", &wine_xrRetrieveSpaceQueryResultsFB}, + {"xrSaveSpaceListFB", &wine_xrSaveSpaceListFB}, {"xrSetColorSpaceFB", &wine_xrSetColorSpaceFB}, + {"xrSetDigitalLensControlALMALENCE", &wine_xrSetDigitalLensControlALMALENCE}, {"xrSetEnvironmentDepthEstimationVARJO", &wine_xrSetEnvironmentDepthEstimationVARJO}, {"xrSetInputDeviceActiveEXT", &wine_xrSetInputDeviceActiveEXT}, {"xrSetInputDeviceLocationEXT", &wine_xrSetInputDeviceLocationEXT}, {"xrSetInputDeviceStateBoolEXT", &wine_xrSetInputDeviceStateBoolEXT}, {"xrSetInputDeviceStateFloatEXT", &wine_xrSetInputDeviceStateFloatEXT}, {"xrSetInputDeviceStateVector2fEXT", &wine_xrSetInputDeviceStateVector2fEXT}, - {"xrSetMarkerTrackingPredictionVARJO", &wine_xrSetMarkerTrackingPredictionVARJO}, - {"xrSetMarkerTrackingTimeoutVARJO", &wine_xrSetMarkerTrackingTimeoutVARJO}, - {"xrSetMarkerTrackingVARJO", &wine_xrSetMarkerTrackingVARJO}, + {"xrSetPerformanceMetricsStateMETA", &wine_xrSetPerformanceMetricsStateMETA}, + {"xrSetTrackingOptimizationSettingsHintQCOM", &wine_xrSetTrackingOptimizationSettingsHintQCOM}, + {"xrSetViewOffsetVARJO", &wine_xrSetViewOffsetVARJO}, {"xrStopHapticFeedback", &wine_xrStopHapticFeedback}, {"xrStringToPath", &wine_xrStringToPath}, {"xrStructureTypeToString", &wine_xrStructureTypeToString}, @@ -879,7 +943,6 @@ static const struct openxr_func xr_dispatch_table[] = {"xrTriangleMeshGetIndexBufferFB", &wine_xrTriangleMeshGetIndexBufferFB}, {"xrTriangleMeshGetVertexBufferFB", &wine_xrTriangleMeshGetVertexBufferFB}, {"xrUnpersistSpatialAnchorMSFT", &wine_xrUnpersistSpatialAnchorMSFT}, - {"xrUpdateHandMeshMSFT", &wine_xrUpdateHandMeshMSFT}, {"xrUpdateSwapchainFB", &wine_xrUpdateSwapchainFB}, {"xrWaitFrame", &wine_xrWaitFrame}, {"xrWaitSwapchainImage", &wine_xrWaitSwapchainImage}, @@ -901,22 +964,31 @@ void *wine_xr_proc_addr(const char *name) static const char * const xr_extensions[] = { + "XR_ALMALENCE_digital_lens_control", + "XR_BD_controller_interaction", "XR_EPIC_view_configuration_fov", "XR_EXTX_overlay", + "XR_EXT_active_action_set_priority", "XR_EXT_conformance_automation", + "XR_EXT_dpad_binding", "XR_EXT_eye_gaze_interaction", "XR_EXT_hand_joints_motion_range", "XR_EXT_hand_tracking", "XR_EXT_hp_mixed_reality_controller", + "XR_EXT_local_floor", + "XR_EXT_palm_pose", "XR_EXT_performance_settings", "XR_EXT_samsung_odyssey_controller", "XR_EXT_thermal_query", + "XR_EXT_uuid", "XR_EXT_view_configuration_depth_range", "XR_EXT_win32_appcontainer_compatible", "XR_FB_color_space", "XR_FB_composition_layer_alpha_blend", + "XR_FB_composition_layer_depth_test", "XR_FB_composition_layer_image_layout", "XR_FB_composition_layer_secure_content", + "XR_FB_composition_layer_settings", "XR_FB_display_refresh_rate", "XR_FB_foveation", "XR_FB_foveation_configuration", @@ -924,13 +996,26 @@ static const char * const xr_extensions[] = "XR_FB_hand_tracking_aim", "XR_FB_hand_tracking_capsules", "XR_FB_hand_tracking_mesh", + "XR_FB_haptic_amplitude_envelope", + "XR_FB_haptic_pcm", "XR_FB_passthrough", + "XR_FB_passthrough_keyboard_hands", + "XR_FB_render_model", + "XR_FB_scene_capture", "XR_FB_space_warp", + "XR_FB_spatial_entity_query", + "XR_FB_spatial_entity_storage_batch", "XR_FB_swapchain_update_state", "XR_FB_swapchain_update_state_vulkan", + "XR_FB_touch_controller_pro", + "XR_FB_touch_controller_proximity", "XR_FB_triangle_mesh", "XR_HTCX_vive_tracker_interaction", + "XR_HTC_foveation", + "XR_HTC_hand_interaction", "XR_HTC_vive_cosmos_controller_interaction", + "XR_HTC_vive_focus3_controller_interaction", + "XR_HTC_vive_wrist_tracker_interaction", "XR_HUAWEI_controller_interaction", "XR_KHR_D3D11_enable", "XR_KHR_D3D12_enable", @@ -948,29 +1033,39 @@ static const char * const xr_extensions[] = "XR_KHR_vulkan_enable2", "XR_KHR_vulkan_swapchain_format_list", "XR_KHR_win32_convert_performance_counter_time", + "XR_META_foveation_eye_tracked", + "XR_META_headset_id", + "XR_META_local_dimming", + "XR_META_performance_metrics", + "XR_META_vulkan_swapchain_create_info", + "XR_ML_frame_end_info", + "XR_ML_global_dimmer", + "XR_ML_ml2_controller_interaction", + "XR_MNDX_force_feedback_curl", "XR_MND_headless", "XR_MND_swapchain_usage_input_attachment_bit", "XR_MSFT_composition_layer_reprojection", "XR_MSFT_controller_model", "XR_MSFT_first_person_observer", "XR_MSFT_hand_interaction", - "XR_MSFT_hand_tracking_mesh", "XR_MSFT_holographic_window_attachment", "XR_MSFT_scene_understanding", "XR_MSFT_scene_understanding_serialization", "XR_MSFT_secondary_view_configuration", "XR_MSFT_spatial_anchor", "XR_MSFT_spatial_anchor_persistence", - "XR_MSFT_spatial_graph_bridge", "XR_MSFT_unbounded_reference_space", "XR_OCULUS_android_session_state_enable", "XR_OCULUS_audio_device_guid", + "XR_OCULUS_external_camera", + "XR_QCOM_tracking_optimization_settings", + "XR_ULTRALEAP_hand_tracking_forearm", "XR_VALVE_analog_threshold", "XR_VARJO_composition_layer_depth_test", "XR_VARJO_environment_depth_estimation", "XR_VARJO_foveated_rendering", - "XR_VARJO_marker_tracking", "XR_VARJO_quad_views", + "XR_VARJO_view_offset", }; BOOL wine_xr_extension_supported(const char *name) diff --git a/wineopenxr/openxr_thunks.h b/wineopenxr/openxr_thunks.h index a0ee544c..741685fb 100644 --- a/wineopenxr/openxr_thunks.h +++ b/wineopenxr/openxr_thunks.h @@ -3,7 +3,7 @@ * This file is generated from OpenXR xr.xml file covered * by the following copyright and permission notice: * - * Copyright (c) 2017-2021, The Khronos Group Inc. + * Copyright (c) 2017-2023, The Khronos Group Inc. * * SPDX-License-Identifier: Apache-2.0 OR MIT * @@ -72,15 +72,6 @@ XrResult WINAPI wine_xrPollEvent(XrInstance instance, XrEventDataBuffer *eventDa /* Private thunks */ -typedef struct XrMarkerSpaceCreateInfoVARJO_host -{ - XrStructureType type; - const void *next; - uint64_t markerId; - XrPosef poseInMarkerSpace; -} XrMarkerSpaceCreateInfoVARJO_host; - - typedef struct XrSceneMeshBuffersGetInfoMSFT_host { XrStructureType type; @@ -97,6 +88,8 @@ void free_XrInstanceCreateInfo_struct_chain(XrInstanceCreateInfo *s) DECLSPEC_HI struct openxr_instance_funcs { XrResult (*p_xrAcquireSwapchainImage)(XrSwapchain, const XrSwapchainImageAcquireInfo *, uint32_t *); + XrResult (*p_xrApplyForceFeedbackCurlMNDX)(XrHandTrackerEXT, const XrForceFeedbackCurlApplyLocationsMNDX *); + XrResult (*p_xrApplyFoveationHTC)(XrSession, const XrFoveationApplyInfoHTC *); XrResult (*p_xrApplyHapticFeedback)(XrSession, const XrHapticActionInfo *, const XrHapticBaseHeader *); XrResult (*p_xrAttachSessionActionSets)(XrSession, const XrSessionActionSetsAttachInfo *); XrResult (*p_xrBeginFrame)(XrSession, const XrFrameBeginInfo *); @@ -108,13 +101,7 @@ struct openxr_instance_funcs XrResult (*p_xrCreateActionSpace)(XrSession, const XrActionSpaceCreateInfo *, XrSpace *); XrResult (*p_xrCreateFoveationProfileFB)(XrSession, const XrFoveationProfileCreateInfoFB *, XrFoveationProfileFB *); XrResult (*p_xrCreateGeometryInstanceFB)(XrSession, const XrGeometryInstanceCreateInfoFB *, XrGeometryInstanceFB *); - XrResult (*p_xrCreateHandMeshSpaceMSFT)(XrHandTrackerEXT, const XrHandMeshSpaceCreateInfoMSFT *, XrSpace *); XrResult (*p_xrCreateHandTrackerEXT)(XrSession, const XrHandTrackerCreateInfoEXT *, XrHandTrackerEXT *); -#if defined(USE_STRUCT_CONVERSION) - XrResult (*p_xrCreateMarkerSpaceVARJO)(XrSession, const XrMarkerSpaceCreateInfoVARJO_host *, XrSpace *); -#else - XrResult (*p_xrCreateMarkerSpaceVARJO)(XrSession, const XrMarkerSpaceCreateInfoVARJO *, XrSpace *); -#endif XrResult (*p_xrCreatePassthroughFB)(XrSession, const XrPassthroughCreateInfoFB *, XrPassthroughFB *); XrResult (*p_xrCreatePassthroughLayerFB)(XrSession, const XrPassthroughLayerCreateInfoFB *, XrPassthroughLayerFB *); XrResult (*p_xrCreateReferenceSpace)(XrSession, const XrReferenceSpaceCreateInfo *, XrSpace *); @@ -125,7 +112,6 @@ struct openxr_instance_funcs XrResult (*p_xrCreateSpatialAnchorMSFT)(XrSession, const XrSpatialAnchorCreateInfoMSFT *, XrSpatialAnchorMSFT *); XrResult (*p_xrCreateSpatialAnchorSpaceMSFT)(XrSession, const XrSpatialAnchorSpaceCreateInfoMSFT *, XrSpace *); XrResult (*p_xrCreateSpatialAnchorStoreConnectionMSFT)(XrSession, XrSpatialAnchorStoreConnectionMSFT *); - XrResult (*p_xrCreateSpatialGraphNodeSpaceMSFT)(XrSession, const XrSpatialGraphNodeSpaceCreateInfoMSFT *, XrSpace *); XrResult (*p_xrCreateSwapchain)(XrSession, const XrSwapchainCreateInfo *, XrSwapchain *); XrResult (*p_xrCreateTriangleMeshFB)(XrSession, const XrTriangleMeshCreateInfoFB *, XrTriangleMeshFB *); XrResult (*p_xrCreateVulkanDeviceKHR)(XrInstance, const XrVulkanDeviceCreateInfoKHR *, VkDevice *, VkResult *); @@ -153,8 +139,11 @@ struct openxr_instance_funcs XrResult (*p_xrEnumerateColorSpacesFB)(XrSession, uint32_t, uint32_t *, XrColorSpaceFB *); XrResult (*p_xrEnumerateDisplayRefreshRatesFB)(XrSession, uint32_t, uint32_t *, float *); XrResult (*p_xrEnumerateEnvironmentBlendModes)(XrInstance, XrSystemId, XrViewConfigurationType, uint32_t, uint32_t *, XrEnvironmentBlendMode *); + XrResult (*p_xrEnumerateExternalCamerasOCULUS)(XrSession, uint32_t, uint32_t *, XrExternalCameraOCULUS *); + XrResult (*p_xrEnumeratePerformanceMetricsCounterPathsMETA)(XrInstance, uint32_t, uint32_t *, XrPath *); XrResult (*p_xrEnumeratePersistedSpatialAnchorNamesMSFT)(XrSpatialAnchorStoreConnectionMSFT, uint32_t, uint32_t *, XrSpatialAnchorPersistenceNameMSFT *); XrResult (*p_xrEnumerateReferenceSpaces)(XrSession, uint32_t, uint32_t *, XrReferenceSpaceType *); + XrResult (*p_xrEnumerateRenderModelPathsFB)(XrSession, uint32_t, uint32_t *, XrRenderModelPathInfoFB *); XrResult (*p_xrEnumerateReprojectionModesMSFT)(XrInstance, XrSystemId, XrViewConfigurationType, uint32_t, uint32_t *, XrReprojectionModeMSFT *); XrResult (*p_xrEnumerateSceneComputeFeaturesMSFT)(XrInstance, XrSystemId, uint32_t, uint32_t *, XrSceneComputeFeatureMSFT *); XrResult (*p_xrEnumerateSwapchainFormats)(XrSession, uint32_t, uint32_t *, int64_t *); @@ -173,13 +162,16 @@ struct openxr_instance_funcs XrResult (*p_xrGetControllerModelPropertiesMSFT)(XrSession, XrControllerModelKeyMSFT, XrControllerModelPropertiesMSFT *); XrResult (*p_xrGetControllerModelStateMSFT)(XrSession, XrControllerModelKeyMSFT, XrControllerModelStateMSFT *); XrResult (*p_xrGetCurrentInteractionProfile)(XrSession, XrPath, XrInteractionProfileState *); + XrResult (*p_xrGetDeviceSampleRateFB)(XrSession, const XrHapticActionInfo *, XrDevicePcmSampleRateGetInfoFB *); XrResult (*p_xrGetDisplayRefreshRateFB)(XrSession, float *); + XrResult (*p_xrGetFoveationEyeTrackedStateMETA)(XrSession, XrFoveationEyeTrackedStateMETA *); XrResult (*p_xrGetHandMeshFB)(XrHandTrackerEXT, XrHandTrackingMeshFB *); XrResult (*p_xrGetInputSourceLocalizedName)(XrSession, const XrInputSourceLocalizedNameGetInfo *, uint32_t, uint32_t *, char *); XrResult (*p_xrGetInstanceProperties)(XrInstance, XrInstanceProperties *); - XrResult (*p_xrGetMarkerSizeVARJO)(XrSession, uint64_t, XrExtent2Df *); XrResult (*p_xrGetOpenGLGraphicsRequirementsKHR)(XrInstance, XrSystemId, XrGraphicsRequirementsOpenGLKHR *); + XrResult (*p_xrGetPerformanceMetricsStateMETA)(XrSession, XrPerformanceMetricsStateMETA *); XrResult (*p_xrGetReferenceSpaceBoundsRect)(XrSession, XrReferenceSpaceType, XrExtent2Df *); + XrResult (*p_xrGetRenderModelPropertiesFB)(XrSession, XrPath, XrRenderModelPropertiesFB *); XrResult (*p_xrGetSceneComponentsMSFT)(XrSceneMSFT, const XrSceneComponentsGetInfoMSFT *, XrSceneComponentsMSFT *); XrResult (*p_xrGetSceneComputeStateMSFT)(XrSceneObserverMSFT, XrSceneComputeStateMSFT *); #if defined(USE_STRUCT_CONVERSION) @@ -200,12 +192,14 @@ struct openxr_instance_funcs XrResult (*p_xrGetVulkanGraphicsRequirementsKHR)(XrInstance, XrSystemId, XrGraphicsRequirementsVulkanKHR *); XrResult (*p_xrGetVulkanInstanceExtensionsKHR)(XrInstance, XrSystemId, uint32_t, uint32_t *, char *); XrResult (*p_xrLoadControllerModelMSFT)(XrSession, XrControllerModelKeyMSFT, uint32_t, uint32_t *, uint8_t *); + XrResult (*p_xrLoadRenderModelFB)(XrSession, const XrRenderModelLoadInfoFB *, XrRenderModelBufferFB *); XrResult (*p_xrLocateHandJointsEXT)(XrHandTrackerEXT, const XrHandJointsLocateInfoEXT *, XrHandJointLocationsEXT *); XrResult (*p_xrLocateSceneComponentsMSFT)(XrSceneMSFT, const XrSceneComponentsLocateInfoMSFT *, XrSceneComponentLocationsMSFT *); XrResult (*p_xrLocateSpace)(XrSpace, XrSpace, XrTime, XrSpaceLocation *); XrResult (*p_xrLocateViews)(XrSession, const XrViewLocateInfo *, XrViewState *, uint32_t, uint32_t *, XrView *); XrResult (*p_xrPassthroughLayerPauseFB)(XrPassthroughLayerFB); XrResult (*p_xrPassthroughLayerResumeFB)(XrPassthroughLayerFB); + XrResult (*p_xrPassthroughLayerSetKeyboardHandsIntensityFB)(XrPassthroughLayerFB, const XrPassthroughKeyboardHandsIntensityFB *); XrResult (*p_xrPassthroughLayerSetStyleFB)(XrPassthroughLayerFB, const XrPassthroughStyleFB *); XrResult (*p_xrPassthroughPauseFB)(XrPassthroughFB); XrResult (*p_xrPassthroughStartFB)(XrPassthroughFB); @@ -213,20 +207,26 @@ struct openxr_instance_funcs XrResult (*p_xrPerfSettingsSetPerformanceLevelEXT)(XrSession, XrPerfSettingsDomainEXT, XrPerfSettingsLevelEXT); XrResult (*p_xrPersistSpatialAnchorMSFT)(XrSpatialAnchorStoreConnectionMSFT, const XrSpatialAnchorPersistenceInfoMSFT *); XrResult (*p_xrPollEvent)(XrInstance, XrEventDataBuffer *); + XrResult (*p_xrQueryPerformanceMetricsCounterMETA)(XrSession, XrPath, XrPerformanceMetricsCounterMETA *); + XrResult (*p_xrQuerySpacesFB)(XrSession, const XrSpaceQueryInfoBaseHeaderFB *, XrAsyncRequestIdFB *); XrResult (*p_xrReleaseSwapchainImage)(XrSwapchain, const XrSwapchainImageReleaseInfo *); XrResult (*p_xrRequestDisplayRefreshRateFB)(XrSession, float); XrResult (*p_xrRequestExitSession)(XrSession); + XrResult (*p_xrRequestSceneCaptureFB)(XrSession, const XrSceneCaptureRequestInfoFB *, XrAsyncRequestIdFB *); XrResult (*p_xrResultToString)(XrInstance, XrResult, char[]); + XrResult (*p_xrRetrieveSpaceQueryResultsFB)(XrSession, XrAsyncRequestIdFB, XrSpaceQueryResultsFB *); + XrResult (*p_xrSaveSpaceListFB)(XrSession, const XrSpaceListSaveInfoFB *, XrAsyncRequestIdFB *); XrResult (*p_xrSetColorSpaceFB)(XrSession, const XrColorSpaceFB); + XrResult (*p_xrSetDigitalLensControlALMALENCE)(XrSession, const XrDigitalLensControlALMALENCE *); XrResult (*p_xrSetEnvironmentDepthEstimationVARJO)(XrSession, XrBool32); XrResult (*p_xrSetInputDeviceActiveEXT)(XrSession, XrPath, XrPath, XrBool32); XrResult (*p_xrSetInputDeviceLocationEXT)(XrSession, XrPath, XrPath, XrSpace, XrPosef); XrResult (*p_xrSetInputDeviceStateBoolEXT)(XrSession, XrPath, XrPath, XrBool32); XrResult (*p_xrSetInputDeviceStateFloatEXT)(XrSession, XrPath, XrPath, float); XrResult (*p_xrSetInputDeviceStateVector2fEXT)(XrSession, XrPath, XrPath, XrVector2f); - XrResult (*p_xrSetMarkerTrackingPredictionVARJO)(XrSession, uint64_t, XrBool32); - XrResult (*p_xrSetMarkerTrackingTimeoutVARJO)(XrSession, uint64_t, XrDuration); - XrResult (*p_xrSetMarkerTrackingVARJO)(XrSession, XrBool32); + XrResult (*p_xrSetPerformanceMetricsStateMETA)(XrSession, const XrPerformanceMetricsStateMETA *); + XrResult (*p_xrSetTrackingOptimizationSettingsHintQCOM)(XrSession, XrTrackingOptimizationSettingsDomainQCOM, XrTrackingOptimizationSettingsHintQCOM); + XrResult (*p_xrSetViewOffsetVARJO)(XrSession, float); XrResult (*p_xrStopHapticFeedback)(XrSession, const XrHapticActionInfo *); XrResult (*p_xrStringToPath)(XrInstance, const char *, XrPath *); XrResult (*p_xrStructureTypeToString)(XrInstance, XrStructureType, char[]); @@ -240,7 +240,6 @@ struct openxr_instance_funcs XrResult (*p_xrTriangleMeshGetIndexBufferFB)(XrTriangleMeshFB, uint32_t **); XrResult (*p_xrTriangleMeshGetVertexBufferFB)(XrTriangleMeshFB, XrVector3f **); XrResult (*p_xrUnpersistSpatialAnchorMSFT)(XrSpatialAnchorStoreConnectionMSFT, const XrSpatialAnchorPersistenceNameMSFT *); - XrResult (*p_xrUpdateHandMeshMSFT)(XrHandTrackerEXT, const XrHandMeshUpdateInfoMSFT *, XrHandMeshMSFT *); XrResult (*p_xrUpdateSwapchainFB)(XrSwapchain, const XrSwapchainStateBaseHeaderFB *); XrResult (*p_xrWaitFrame)(XrSession, const XrFrameWaitInfo *, XrFrameState *); XrResult (*p_xrWaitSwapchainImage)(XrSwapchain, const XrSwapchainImageWaitInfo *); @@ -248,6 +247,8 @@ struct openxr_instance_funcs #define ALL_XR_INSTANCE_FUNCS() \ USE_XR_FUNC(xrAcquireSwapchainImage) \ + USE_XR_FUNC(xrApplyForceFeedbackCurlMNDX) \ + USE_XR_FUNC(xrApplyFoveationHTC) \ USE_XR_FUNC(xrApplyHapticFeedback) \ USE_XR_FUNC(xrAttachSessionActionSets) \ USE_XR_FUNC(xrBeginFrame) \ @@ -259,9 +260,7 @@ struct openxr_instance_funcs USE_XR_FUNC(xrCreateActionSpace) \ USE_XR_FUNC(xrCreateFoveationProfileFB) \ USE_XR_FUNC(xrCreateGeometryInstanceFB) \ - USE_XR_FUNC(xrCreateHandMeshSpaceMSFT) \ USE_XR_FUNC(xrCreateHandTrackerEXT) \ - USE_XR_FUNC(xrCreateMarkerSpaceVARJO) \ USE_XR_FUNC(xrCreatePassthroughFB) \ USE_XR_FUNC(xrCreatePassthroughLayerFB) \ USE_XR_FUNC(xrCreateReferenceSpace) \ @@ -272,7 +271,6 @@ struct openxr_instance_funcs USE_XR_FUNC(xrCreateSpatialAnchorMSFT) \ USE_XR_FUNC(xrCreateSpatialAnchorSpaceMSFT) \ USE_XR_FUNC(xrCreateSpatialAnchorStoreConnectionMSFT) \ - USE_XR_FUNC(xrCreateSpatialGraphNodeSpaceMSFT) \ USE_XR_FUNC(xrCreateSwapchain) \ USE_XR_FUNC(xrCreateTriangleMeshFB) \ USE_XR_FUNC(xrCreateVulkanDeviceKHR) \ @@ -300,8 +298,11 @@ struct openxr_instance_funcs USE_XR_FUNC(xrEnumerateColorSpacesFB) \ USE_XR_FUNC(xrEnumerateDisplayRefreshRatesFB) \ USE_XR_FUNC(xrEnumerateEnvironmentBlendModes) \ + USE_XR_FUNC(xrEnumerateExternalCamerasOCULUS) \ + USE_XR_FUNC(xrEnumeratePerformanceMetricsCounterPathsMETA) \ USE_XR_FUNC(xrEnumeratePersistedSpatialAnchorNamesMSFT) \ USE_XR_FUNC(xrEnumerateReferenceSpaces) \ + USE_XR_FUNC(xrEnumerateRenderModelPathsFB) \ USE_XR_FUNC(xrEnumerateReprojectionModesMSFT) \ USE_XR_FUNC(xrEnumerateSceneComputeFeaturesMSFT) \ USE_XR_FUNC(xrEnumerateSwapchainFormats) \ @@ -320,13 +321,16 @@ struct openxr_instance_funcs USE_XR_FUNC(xrGetControllerModelPropertiesMSFT) \ USE_XR_FUNC(xrGetControllerModelStateMSFT) \ USE_XR_FUNC(xrGetCurrentInteractionProfile) \ + USE_XR_FUNC(xrGetDeviceSampleRateFB) \ USE_XR_FUNC(xrGetDisplayRefreshRateFB) \ + USE_XR_FUNC(xrGetFoveationEyeTrackedStateMETA) \ USE_XR_FUNC(xrGetHandMeshFB) \ USE_XR_FUNC(xrGetInputSourceLocalizedName) \ USE_XR_FUNC(xrGetInstanceProperties) \ - USE_XR_FUNC(xrGetMarkerSizeVARJO) \ USE_XR_FUNC(xrGetOpenGLGraphicsRequirementsKHR) \ + USE_XR_FUNC(xrGetPerformanceMetricsStateMETA) \ USE_XR_FUNC(xrGetReferenceSpaceBoundsRect) \ + USE_XR_FUNC(xrGetRenderModelPropertiesFB) \ USE_XR_FUNC(xrGetSceneComponentsMSFT) \ USE_XR_FUNC(xrGetSceneComputeStateMSFT) \ USE_XR_FUNC(xrGetSceneMeshBuffersMSFT) \ @@ -343,12 +347,14 @@ struct openxr_instance_funcs USE_XR_FUNC(xrGetVulkanGraphicsRequirementsKHR) \ USE_XR_FUNC(xrGetVulkanInstanceExtensionsKHR) \ USE_XR_FUNC(xrLoadControllerModelMSFT) \ + USE_XR_FUNC(xrLoadRenderModelFB) \ USE_XR_FUNC(xrLocateHandJointsEXT) \ USE_XR_FUNC(xrLocateSceneComponentsMSFT) \ USE_XR_FUNC(xrLocateSpace) \ USE_XR_FUNC(xrLocateViews) \ USE_XR_FUNC(xrPassthroughLayerPauseFB) \ USE_XR_FUNC(xrPassthroughLayerResumeFB) \ + USE_XR_FUNC(xrPassthroughLayerSetKeyboardHandsIntensityFB) \ USE_XR_FUNC(xrPassthroughLayerSetStyleFB) \ USE_XR_FUNC(xrPassthroughPauseFB) \ USE_XR_FUNC(xrPassthroughStartFB) \ @@ -356,20 +362,26 @@ struct openxr_instance_funcs USE_XR_FUNC(xrPerfSettingsSetPerformanceLevelEXT) \ USE_XR_FUNC(xrPersistSpatialAnchorMSFT) \ USE_XR_FUNC(xrPollEvent) \ + USE_XR_FUNC(xrQueryPerformanceMetricsCounterMETA) \ + USE_XR_FUNC(xrQuerySpacesFB) \ USE_XR_FUNC(xrReleaseSwapchainImage) \ USE_XR_FUNC(xrRequestDisplayRefreshRateFB) \ USE_XR_FUNC(xrRequestExitSession) \ + USE_XR_FUNC(xrRequestSceneCaptureFB) \ USE_XR_FUNC(xrResultToString) \ + USE_XR_FUNC(xrRetrieveSpaceQueryResultsFB) \ + USE_XR_FUNC(xrSaveSpaceListFB) \ USE_XR_FUNC(xrSetColorSpaceFB) \ + USE_XR_FUNC(xrSetDigitalLensControlALMALENCE) \ USE_XR_FUNC(xrSetEnvironmentDepthEstimationVARJO) \ USE_XR_FUNC(xrSetInputDeviceActiveEXT) \ USE_XR_FUNC(xrSetInputDeviceLocationEXT) \ USE_XR_FUNC(xrSetInputDeviceStateBoolEXT) \ USE_XR_FUNC(xrSetInputDeviceStateFloatEXT) \ USE_XR_FUNC(xrSetInputDeviceStateVector2fEXT) \ - USE_XR_FUNC(xrSetMarkerTrackingPredictionVARJO) \ - USE_XR_FUNC(xrSetMarkerTrackingTimeoutVARJO) \ - USE_XR_FUNC(xrSetMarkerTrackingVARJO) \ + USE_XR_FUNC(xrSetPerformanceMetricsStateMETA) \ + USE_XR_FUNC(xrSetTrackingOptimizationSettingsHintQCOM) \ + USE_XR_FUNC(xrSetViewOffsetVARJO) \ USE_XR_FUNC(xrStopHapticFeedback) \ USE_XR_FUNC(xrStringToPath) \ USE_XR_FUNC(xrStructureTypeToString) \ @@ -383,7 +395,6 @@ struct openxr_instance_funcs USE_XR_FUNC(xrTriangleMeshGetIndexBufferFB) \ USE_XR_FUNC(xrTriangleMeshGetVertexBufferFB) \ USE_XR_FUNC(xrUnpersistSpatialAnchorMSFT) \ - USE_XR_FUNC(xrUpdateHandMeshMSFT) \ USE_XR_FUNC(xrUpdateSwapchainFB) \ USE_XR_FUNC(xrWaitFrame) \ USE_XR_FUNC(xrWaitSwapchainImage) diff --git a/wineopenxr/wineopenxr.h b/wineopenxr/wineopenxr.h index 52661b14..43e9097c 100644 --- a/wineopenxr/wineopenxr.h +++ b/wineopenxr/wineopenxr.h @@ -3,7 +3,7 @@ * This file is generated from OpenXR xr.xml file covered * by the following copyright and permission notice: * - * Copyright (c) 2017-2021, The Khronos Group Inc. + * Copyright (c) 2017-2023, The Khronos Group Inc. * * SPDX-License-Identifier: Apache-2.0 OR MIT * @@ -60,14 +60,13 @@ #define XR_MAX_ACTION_NAME_SIZE 64 #define XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE 128 #define XR_MAX_LOCALIZED_ACTION_NAME_SIZE 128 -#define XR_MIN_COMPOSITION_LAYERS_SUPPORTED 16 #define XR_KHR_composition_layer_cube_SPEC_VERSION 8 #define XR_KHR_COMPOSITION_LAYER_CUBE_EXTENSION_NAME "XR_KHR_composition_layer_cube" -#define XR_KHR_composition_layer_depth_SPEC_VERSION 5 +#define XR_KHR_composition_layer_depth_SPEC_VERSION 6 #define XR_KHR_COMPOSITION_LAYER_DEPTH_EXTENSION_NAME "XR_KHR_composition_layer_depth" #define XR_KHR_vulkan_swapchain_format_list_SPEC_VERSION 4 #define XR_KHR_VULKAN_SWAPCHAIN_FORMAT_LIST_EXTENSION_NAME "XR_KHR_vulkan_swapchain_format_list" -#define XR_EXT_performance_settings_SPEC_VERSION 3 +#define XR_EXT_performance_settings_SPEC_VERSION 4 #define XR_EXT_PERFORMANCE_SETTINGS_EXTENSION_NAME "XR_EXT_performance_settings" #define XR_EXT_thermal_query_SPEC_VERSION 2 #define XR_EXT_THERMAL_QUERY_EXTENSION_NAME "XR_EXT_thermal_query" @@ -79,11 +78,11 @@ #define XR_KHR_OPENGL_ENABLE_EXTENSION_NAME "XR_KHR_opengl_enable" #define XR_KHR_vulkan_enable_SPEC_VERSION 8 #define XR_KHR_VULKAN_ENABLE_EXTENSION_NAME "XR_KHR_vulkan_enable" -#define XR_KHR_D3D11_enable_SPEC_VERSION 8 +#define XR_KHR_D3D11_enable_SPEC_VERSION 9 #define XR_KHR_D3D11_ENABLE_EXTENSION_NAME "XR_KHR_D3D11_enable" -#define XR_KHR_D3D12_enable_SPEC_VERSION 8 +#define XR_KHR_D3D12_enable_SPEC_VERSION 9 #define XR_KHR_D3D12_ENABLE_EXTENSION_NAME "XR_KHR_D3D12_enable" -#define XR_EXT_eye_gaze_interaction_SPEC_VERSION 1 +#define XR_EXT_eye_gaze_interaction_SPEC_VERSION 2 #define XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME "XR_EXT_eye_gaze_interaction" #define XR_KHR_visibility_mask_SPEC_VERSION 2 #define XR_KHR_VISIBILITY_MASK_EXTENSION_NAME "XR_KHR_visibility_mask" @@ -111,14 +110,10 @@ #define XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME "XR_EXT_view_configuration_depth_range" #define XR_EXT_conformance_automation_SPEC_VERSION 3 #define XR_EXT_CONFORMANCE_AUTOMATION_EXTENSION_NAME "XR_EXT_conformance_automation" -#define XR_MSFT_spatial_graph_bridge_SPEC_VERSION 1 -#define XR_MSFT_SPATIAL_GRAPH_BRIDGE_EXTENSION_NAME "XR_MSFT_spatial_graph_bridge" #define XR_MSFT_hand_interaction_SPEC_VERSION 1 #define XR_MSFT_HAND_INTERACTION_EXTENSION_NAME "XR_MSFT_hand_interaction" #define XR_EXT_hand_tracking_SPEC_VERSION 4 #define XR_EXT_HAND_TRACKING_EXTENSION_NAME "XR_EXT_hand_tracking" -#define XR_MSFT_hand_tracking_mesh_SPEC_VERSION 3 -#define XR_MSFT_HAND_TRACKING_MESH_EXTENSION_NAME "XR_MSFT_hand_tracking_mesh" #define XR_MSFT_secondary_view_configuration_SPEC_VERSION 1 #define XR_MSFT_SECONDARY_VIEW_CONFIGURATION_EXTENSION_NAME "XR_MSFT_secondary_view_configuration" #define XR_MSFT_first_person_observer_SPEC_VERSION 1 @@ -140,6 +135,8 @@ #define XR_FB_SWAPCHAIN_UPDATE_STATE_EXTENSION_NAME "XR_FB_swapchain_update_state" #define XR_FB_composition_layer_secure_content_SPEC_VERSION 1 #define XR_FB_COMPOSITION_LAYER_SECURE_CONTENT_EXTENSION_NAME "XR_FB_composition_layer_secure_content" +#define XR_EXT_dpad_binding_SPEC_VERSION 1 +#define XR_EXT_DPAD_BINDING_EXTENSION_NAME "XR_EXT_dpad_binding" #define XR_VALVE_analog_threshold_SPEC_VERSION 2 #define XR_VALVE_ANALOG_THRESHOLD_EXTENSION_NAME "XR_VALVE_analog_threshold" #define XR_EXT_hand_joints_motion_range_SPEC_VERSION 1 @@ -154,48 +151,67 @@ #define XR_EXT_HP_MIXED_REALITY_CONTROLLER_EXTENSION_NAME "XR_EXT_hp_mixed_reality_controller" #define XR_MND_swapchain_usage_input_attachment_bit_SPEC_VERSION 2 #define XR_MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME "XR_MND_swapchain_usage_input_attachment_bit" -#define XR_MSFT_scene_understanding_SPEC_VERSION 1 +#define XR_MSFT_scene_understanding_SPEC_VERSION 2 #define XR_MSFT_SCENE_UNDERSTANDING_EXTENSION_NAME "XR_MSFT_scene_understanding" -#define XR_MSFT_scene_understanding_serialization_SPEC_VERSION 1 +#define XR_MSFT_scene_understanding_serialization_SPEC_VERSION 2 #define XR_MSFT_SCENE_UNDERSTANDING_SERIALIZATION_EXTENSION_NAME "XR_MSFT_scene_understanding_serialization" #define XR_FB_display_refresh_rate_SPEC_VERSION 1 #define XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME "XR_FB_display_refresh_rate" #define XR_HTC_vive_cosmos_controller_interaction_SPEC_VERSION 1 #define XR_HTC_VIVE_COSMOS_CONTROLLER_INTERACTION_EXTENSION_NAME "XR_HTC_vive_cosmos_controller_interaction" -#define XR_HTCX_vive_tracker_interaction_SPEC_VERSION 1 +#define XR_HTCX_vive_tracker_interaction_SPEC_VERSION 2 #define XR_HTCX_VIVE_TRACKER_INTERACTION_EXTENSION_NAME "XR_HTCX_vive_tracker_interaction" -#define XR_FB_color_space_SPEC_VERSION 2 +#define XR_HTC_vive_focus3_controller_interaction_SPEC_VERSION 2 +#define XR_HTC_VIVE_FOCUS3_CONTROLLER_INTERACTION_EXTENSION_NAME "XR_HTC_vive_focus3_controller_interaction" +#define XR_HTC_hand_interaction_SPEC_VERSION 1 +#define XR_HTC_HAND_INTERACTION_EXTENSION_NAME "XR_HTC_hand_interaction" +#define XR_HTC_vive_wrist_tracker_interaction_SPEC_VERSION 1 +#define XR_HTC_VIVE_WRIST_TRACKER_INTERACTION_EXTENSION_NAME "XR_HTC_vive_wrist_tracker_interaction" +#define XR_FB_color_space_SPEC_VERSION 3 #define XR_FB_COLOR_SPACE_EXTENSION_NAME "XR_FB_color_space" -#define XR_FB_hand_tracking_mesh_SPEC_VERSION 1 +#define XR_FB_hand_tracking_mesh_SPEC_VERSION 3 #define XR_FB_HAND_TRACKING_MESH_EXTENSION_NAME "XR_FB_hand_tracking_mesh" -#define XR_FB_hand_tracking_aim_SPEC_VERSION 1 +#define XR_FB_hand_tracking_aim_SPEC_VERSION 2 #define XR_FB_HAND_TRACKING_AIM_EXTENSION_NAME "XR_FB_hand_tracking_aim" -#define XR_FB_hand_tracking_capsules_SPEC_VERSION 1 +#define XR_FB_hand_tracking_capsules_SPEC_VERSION 3 #define XR_FB_HAND_TRACKING_CAPSULES_EXTENSION_NAME "XR_FB_hand_tracking_capsules" -#define XR_FB_HAND_TRACKING_CAPSULE_POINT_COUNT 2 -#define XR_FB_HAND_TRACKING_CAPSULE_COUNT 19 +#define XR_HAND_TRACKING_CAPSULE_POINT_COUNT_FB 2 +#define XR_HAND_TRACKING_CAPSULE_COUNT_FB 19 #define XR_FB_foveation_SPEC_VERSION 1 #define XR_FB_FOVEATION_EXTENSION_NAME "XR_FB_foveation" #define XR_FB_foveation_configuration_SPEC_VERSION 1 #define XR_FB_FOVEATION_CONFIGURATION_EXTENSION_NAME "XR_FB_foveation_configuration" -#define XR_FB_triangle_mesh_SPEC_VERSION 1 +#define XR_FB_triangle_mesh_SPEC_VERSION 2 #define XR_FB_TRIANGLE_MESH_EXTENSION_NAME "XR_FB_triangle_mesh" -#define XR_FB_passthrough_SPEC_VERSION 1 +#define XR_FB_passthrough_SPEC_VERSION 3 #define XR_FB_PASSTHROUGH_EXTENSION_NAME "XR_FB_passthrough" #define XR_PASSTHROUGH_COLOR_MAP_MONO_SIZE_FB 256 +#define XR_FB_render_model_SPEC_VERSION 3 +#define XR_FB_RENDER_MODEL_EXTENSION_NAME "XR_FB_render_model" +#define XR_MAX_RENDER_MODEL_NAME_SIZE_FB 64 #define XR_KHR_binding_modification_SPEC_VERSION 1 #define XR_KHR_BINDING_MODIFICATION_EXTENSION_NAME "XR_KHR_binding_modification" -#define XR_VARJO_foveated_rendering_SPEC_VERSION 2 +#define XR_VARJO_foveated_rendering_SPEC_VERSION 3 #define XR_VARJO_FOVEATED_RENDERING_EXTENSION_NAME "XR_VARJO_foveated_rendering" #define XR_VARJO_composition_layer_depth_test_SPEC_VERSION 2 #define XR_VARJO_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME "XR_VARJO_composition_layer_depth_test" #define XR_VARJO_environment_depth_estimation_SPEC_VERSION 1 #define XR_VARJO_ENVIRONMENT_DEPTH_ESTIMATION_EXTENSION_NAME "XR_VARJO_environment_depth_estimation" -#define XR_VARJO_marker_tracking_SPEC_VERSION 1 -#define XR_VARJO_MARKER_TRACKING_EXTENSION_NAME "XR_VARJO_marker_tracking" +#define XR_VARJO_view_offset_SPEC_VERSION 1 +#define XR_VARJO_VIEW_OFFSET_EXTENSION_NAME "XR_VARJO_view_offset" +#define XR_ML_ml2_controller_interaction_SPEC_VERSION 1 +#define XR_ML_ML2_CONTROLLER_INTERACTION_EXTENSION_NAME "XR_ML_ml2_controller_interaction" +#define XR_ML_frame_end_info_SPEC_VERSION 1 +#define XR_ML_FRAME_END_INFO_EXTENSION_NAME "XR_ML_frame_end_info" +#define XR_ML_global_dimmer_SPEC_VERSION 1 +#define XR_ML_GLOBAL_DIMMER_EXTENSION_NAME "XR_ML_global_dimmer" #define XR_MSFT_spatial_anchor_persistence_SPEC_VERSION 2 #define XR_MSFT_SPATIAL_ANCHOR_PERSISTENCE_EXTENSION_NAME "XR_MSFT_spatial_anchor_persistence" #define XR_MAX_SPATIAL_ANCHOR_NAME_SIZE_MSFT 256 +#define XR_ULTRALEAP_hand_tracking_forearm_SPEC_VERSION 1 +#define XR_ULTRALEAP_HAND_TRACKING_FOREARM_EXTENSION_NAME "XR_ULTRALEAP_hand_tracking_forearm" +#define XR_FB_spatial_entity_query_SPEC_VERSION 1 +#define XR_FB_SPATIAL_ENTITY_QUERY_EXTENSION_NAME "XR_FB_spatial_entity_query" #define XR_OCULUS_audio_device_guid_SPEC_VERSION 1 #define XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME "XR_OCULUS_audio_device_guid" #define XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS 128 @@ -205,8 +221,59 @@ #define XR_FB_SWAPCHAIN_UPDATE_STATE_VULKAN_EXTENSION_NAME "XR_FB_swapchain_update_state_vulkan" #define XR_KHR_swapchain_usage_input_attachment_bit_SPEC_VERSION 3 #define XR_KHR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME "XR_KHR_swapchain_usage_input_attachment_bit" -#define XR_FB_space_warp_SPEC_VERSION 1 +#define XR_FB_touch_controller_pro_SPEC_VERSION 1 +#define XR_FB_TOUCH_CONTROLLER_PRO_EXTENSION_NAME "XR_FB_touch_controller_pro" +#define XR_FB_space_warp_SPEC_VERSION 2 #define XR_FB_SPACE_WARP_EXTENSION_NAME "XR_FB_space_warp" +#define XR_FB_haptic_amplitude_envelope_SPEC_VERSION 1 +#define XR_FB_HAPTIC_AMPLITUDE_ENVELOPE_EXTENSION_NAME "XR_FB_haptic_amplitude_envelope" +#define XR_EXT_palm_pose_SPEC_VERSION 2 +#define XR_EXT_PALM_POSE_EXTENSION_NAME "XR_EXT_palm_pose" +#define XR_ALMALENCE_digital_lens_control_SPEC_VERSION 1 +#define XR_ALMALENCE_DIGITAL_LENS_CONTROL_EXTENSION_NAME "XR_ALMALENCE_digital_lens_control" +#define XR_FB_scene_capture_SPEC_VERSION 1 +#define XR_FB_SCENE_CAPTURE_EXTENSION_NAME "XR_FB_scene_capture" +#define XR_META_foveation_eye_tracked_SPEC_VERSION 1 +#define XR_META_FOVEATION_EYE_TRACKED_EXTENSION_NAME "XR_META_foveation_eye_tracked" +#define XR_FOVEATION_CENTER_SIZE_META 2 +#define XR_FB_passthrough_keyboard_hands_SPEC_VERSION 2 +#define XR_FB_PASSTHROUGH_KEYBOARD_HANDS_EXTENSION_NAME "XR_FB_passthrough_keyboard_hands" +#define XR_FB_composition_layer_settings_SPEC_VERSION 1 +#define XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME "XR_FB_composition_layer_settings" +#define XR_FB_touch_controller_proximity_SPEC_VERSION 1 +#define XR_FB_TOUCH_CONTROLLER_PROXIMITY_EXTENSION_NAME "XR_FB_touch_controller_proximity" +#define XR_FB_haptic_pcm_SPEC_VERSION 1 +#define XR_FB_HAPTIC_PCM_EXTENSION_NAME "XR_FB_haptic_pcm" +#define XR_FB_composition_layer_depth_test_SPEC_VERSION 1 +#define XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME "XR_FB_composition_layer_depth_test" +#define XR_META_local_dimming_SPEC_VERSION 1 +#define XR_META_LOCAL_DIMMING_EXTENSION_NAME "XR_META_local_dimming" +#define XR_OCULUS_external_camera_SPEC_VERSION 1 +#define XR_OCULUS_EXTERNAL_CAMERA_EXTENSION_NAME "XR_OCULUS_external_camera" +#define XR_MAX_EXTERNAL_CAMERA_NAME_SIZE_OCULUS 32 +#define XR_META_vulkan_swapchain_create_info_SPEC_VERSION 1 +#define XR_META_VULKAN_SWAPCHAIN_CREATE_INFO_EXTENSION_NAME "XR_META_vulkan_swapchain_create_info" +#define XR_META_performance_metrics_SPEC_VERSION 2 +#define XR_META_PERFORMANCE_METRICS_EXTENSION_NAME "XR_META_performance_metrics" +#define XR_FB_spatial_entity_storage_batch_SPEC_VERSION 1 +#define XR_FB_SPATIAL_ENTITY_STORAGE_BATCH_EXTENSION_NAME "XR_FB_spatial_entity_storage_batch" +#define XR_META_headset_id_SPEC_VERSION 1 +#define XR_META_HEADSET_ID_EXTENSION_NAME "XR_META_headset_id" +#define XR_EXT_uuid_SPEC_VERSION 1 +#define XR_EXT_UUID_EXTENSION_NAME "XR_EXT_uuid" +#define XR_UUID_SIZE_EXT 16 +#define XR_QCOM_tracking_optimization_settings_SPEC_VERSION 1 +#define XR_QCOM_TRACKING_OPTIMIZATION_SETTINGS_EXTENSION_NAME "XR_QCOM_tracking_optimization_settings" +#define XR_HTC_foveation_SPEC_VERSION 1 +#define XR_HTC_FOVEATION_EXTENSION_NAME "XR_HTC_foveation" +#define XR_EXT_active_action_set_priority_SPEC_VERSION 1 +#define XR_EXT_ACTIVE_ACTION_SET_PRIORITY_EXTENSION_NAME "XR_EXT_active_action_set_priority" +#define XR_MNDX_force_feedback_curl_SPEC_VERSION 1 +#define XR_MNDX_FORCE_FEEDBACK_CURL_EXTENSION_NAME "XR_MNDX_force_feedback_curl" +#define XR_BD_controller_interaction_SPEC_VERSION 1 +#define XR_BD_CONTROLLER_INTERACTION_EXTENSION_NAME "XR_BD_controller_interaction" +#define XR_EXT_local_floor_SPEC_VERSION 1 +#define XR_EXT_LOCAL_FLOOR_EXTENSION_NAME "XR_EXT_local_floor" #define XR_MAKE_VERSION(major, minor, patch) \ @@ -219,7 +286,7 @@ #define XR_VERSION_PATCH(version) (uint32_t)((uint64_t)(version) & 0xffffffffULL) -#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 0, 20) +#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 0, 27) #if !defined(XR_MAY_ALIAS) @@ -287,10 +354,34 @@ #define XR_MAX_EVENT_DATA_SIZE sizeof(XrEventDataBuffer) +#define XR_MIN_COMPOSITION_LAYERS_SUPPORTED 16 + + #define XR_HAND_JOINT_COUNT_EXT 26 #define XR_NULL_CONTROLLER_MODEL_KEY_MSFT 0 + + +#define XR_NULL_RENDER_MODEL_KEY_FB 0 + + +#define XR_FACIAL_EXPRESSION_EYE_COUNT_HTC 14 + + +#define XR_FACIAL_EXPRESSION_LIP_COUNT_HTC 37 + + +#define XR_HAND_FOREARM_JOINT_COUNT_ULTRALEAP 27 + + +#define XR_FACE_EXPRESSSION_SET_DEFAULT_FB XR_FACE_EXPRESSION_SET_DEFAULT_FB + + +#define XR_MAX_HAPTIC_AMPLITUDE_ENVELOPE_SAMPLES_FB 4000u + + +#define XR_MAX_HAPTIC_PCM_BUFFER_SIZE_FB 4000 XR_DEFINE_HANDLE(XrAction) XR_DEFINE_HANDLE(XrActionSet) XR_DEFINE_HANDLE(XrFoveationProfileFB) @@ -298,21 +389,26 @@ XR_DEFINE_HANDLE(XrGeometryInstanceFB) XR_DEFINE_HANDLE(XrHandTrackerEXT) XR_DEFINE_HANDLE(XrInstance) XR_DEFINE_HANDLE(XrPassthroughFB) +XR_DEFINE_HANDLE(XrPassthroughHTC) XR_DEFINE_HANDLE(XrPassthroughLayerFB) XR_DEFINE_HANDLE(XrSceneMSFT) XR_DEFINE_HANDLE(XrSceneObserverMSFT) XR_DEFINE_HANDLE(XrSession) XR_DEFINE_HANDLE(XrSpace) +XR_DEFINE_HANDLE(XrSpaceUserFB) XR_DEFINE_HANDLE(XrSpatialAnchorMSFT) XR_DEFINE_HANDLE(XrSpatialAnchorStoreConnectionMSFT) XR_DEFINE_HANDLE(XrSwapchain) XR_DEFINE_HANDLE(XrTriangleMeshFB) +XR_DEFINE_ATOM(XrAsyncRequestIdFB) typedef uint32_t XrBool32; XR_DEFINE_ATOM(XrControllerModelKeyMSFT) typedef int64_t XrDuration; typedef uint64_t XrFlags64; XR_DEFINE_ATOM(XrPath) +XR_DEFINE_ATOM(XrRenderModelKeyFB) +typedef uint64_t XrSpaceUserIdFB; XR_DEFINE_ATOM(XrSystemId) typedef int64_t XrTime; typedef uint64_t XrVersion; @@ -321,16 +417,29 @@ typedef XrFlags64 XrAndroidSurfaceSwapchainFlagsFB; typedef XrFlags64 XrCompositionLayerFlags; typedef XrFlags64 XrCompositionLayerImageLayoutFlagsFB; typedef XrFlags64 XrCompositionLayerSecureContentFlagsFB; +typedef XrFlags64 XrCompositionLayerSettingsFlagsFB; typedef XrFlags64 XrCompositionLayerSpaceWarpInfoFlagsFB; typedef XrFlags64 XrDebugUtilsMessageSeverityFlagsEXT; typedef XrFlags64 XrDebugUtilsMessageTypeFlagsEXT; +typedef XrFlags64 XrDigitalLensControlFlagsALMALENCE; +typedef XrFlags64 XrExternalCameraStatusFlagsOCULUS; +typedef XrFlags64 XrFoveationDynamicFlagsHTC; +typedef XrFlags64 XrFoveationEyeTrackedProfileCreateFlagsMETA; +typedef XrFlags64 XrFoveationEyeTrackedStateFlagsMETA; +typedef XrFlags64 XrFrameEndInfoFlagsML; +typedef XrFlags64 XrGlobalDimmerFrameEndInfoFlagsML; typedef XrFlags64 XrHandTrackingAimFlagsFB; typedef XrFlags64 XrInputSourceLocalizedNameFlags; typedef XrFlags64 XrInstanceCreateFlags; +typedef XrFlags64 XrKeyboardTrackingFlagsFB; +typedef XrFlags64 XrKeyboardTrackingQueryFlagsFB; typedef XrFlags64 XrOverlayMainSessionFlagsEXTX; typedef XrFlags64 XrOverlaySessionCreateFlagsEXTX; +typedef XrFlags64 XrPassthroughCapabilityFlagsFB; typedef XrFlags64 XrPassthroughFlagsFB; typedef XrFlags64 XrPassthroughStateChangedFlagsFB; +typedef XrFlags64 XrPerformanceMetricsCounterFlagsMETA; +typedef XrFlags64 XrRenderModelFlagsFB; typedef XrFlags64 XrSessionCreateFlags; typedef XrFlags64 XrSpaceLocationFlags; typedef XrFlags64 XrSpaceVelocityFlags; @@ -364,6 +473,12 @@ typedef enum XrBlendFactorFB XR_BLEND_FACTOR_FB_MAX_ENUM = 0x7fffffff, } XrBlendFactorFB; +typedef enum XrBodyJointSetFB +{ + XR_BODY_JOINT_SET_DEFAULT_FB = 0, + XR_BODY_JOINT_SET_FB_MAX_ENUM = 0x7fffffff, +} XrBodyJointSetFB; + typedef enum XrColorSpaceFB { XR_COLOR_SPACE_UNMANAGED_FB = 0, @@ -377,6 +492,19 @@ typedef enum XrColorSpaceFB XR_COLOR_SPACE_FB_MAX_ENUM = 0x7fffffff, } XrColorSpaceFB; +typedef enum XrCompareOpFB +{ + XR_COMPARE_OP_NEVER_FB = 0, + XR_COMPARE_OP_LESS_FB = 1, + XR_COMPARE_OP_EQUAL_FB = 2, + XR_COMPARE_OP_LESS_OR_EQUAL_FB = 3, + XR_COMPARE_OP_GREATER_FB = 4, + XR_COMPARE_OP_NOT_EQUAL_FB = 5, + XR_COMPARE_OP_GREATER_OR_EQUAL_FB = 6, + XR_COMPARE_OP_ALWAYS_FB = 7, + XR_COMPARE_OP_FB_MAX_ENUM = 0x7fffffff, +} XrCompareOpFB; + typedef enum XrEnvironmentBlendMode { XR_ENVIRONMENT_BLEND_MODE_OPAQUE = 1, @@ -385,6 +513,15 @@ typedef enum XrEnvironmentBlendMode XR_ENVIRONMENT_BLEND_MODE_MAX_ENUM = 0x7fffffff, } XrEnvironmentBlendMode; +typedef enum XrExternalCameraAttachedToDeviceOCULUS +{ + XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_NONE_OCULUS = 0, + XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_HMD_OCULUS = 1, + XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_LTOUCH_OCULUS = 2, + XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_RTOUCH_OCULUS = 3, + XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_OCULUS_MAX_ENUM = 0x7fffffff, +} XrExternalCameraAttachedToDeviceOCULUS; + typedef enum XrEyeVisibility { XR_EYE_VISIBILITY_BOTH = 0, @@ -393,6 +530,29 @@ typedef enum XrEyeVisibility XR_EYE_VISIBILITY_MAX_ENUM = 0x7fffffff, } XrEyeVisibility; +typedef enum XrFaceExpressionSetFB +{ + XR_FACE_EXPRESSION_SET_DEFAULT_FB = 0, + XR_FACE_EXPRESSION_SET_FB_MAX_ENUM = 0x7fffffff, +} XrFaceExpressionSetFB; + +typedef enum XrFacialTrackingTypeHTC +{ + XR_FACIAL_TRACKING_TYPE_EYE_DEFAULT_HTC = 1, + XR_FACIAL_TRACKING_TYPE_LIP_DEFAULT_HTC = 2, + XR_FACIAL_TRACKING_TYPE_HTC_MAX_ENUM = 0x7fffffff, +} XrFacialTrackingTypeHTC; + +typedef enum XrForceFeedbackCurlLocationMNDX +{ + XR_FORCE_FEEDBACK_CURL_LOCATION_THUMB_CURL_MNDX = 0, + XR_FORCE_FEEDBACK_CURL_LOCATION_INDEX_CURL_MNDX = 1, + XR_FORCE_FEEDBACK_CURL_LOCATION_MIDDLE_CURL_MNDX = 2, + XR_FORCE_FEEDBACK_CURL_LOCATION_RING_CURL_MNDX = 3, + XR_FORCE_FEEDBACK_CURL_LOCATION_LITTLE_CURL_MNDX = 4, + XR_FORCE_FEEDBACK_CURL_LOCATION_MNDX_MAX_ENUM = 0x7fffffff, +} XrForceFeedbackCurlLocationMNDX; + typedef enum XrFormFactor { XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY = 1, @@ -407,6 +567,17 @@ typedef enum XrFoveationDynamicFB XR_FOVEATION_DYNAMIC_FB_MAX_ENUM = 0x7fffffff, } XrFoveationDynamicFB; +typedef enum XrFoveationEyeTrackedProfileCreateFlagBitsMETA +{ + XR_FOVEATION_EYE_TRACKED_PROFILE_CREATE_FLAG_BITS_META_MAX_ENUM = 0x7fffffff, +} XrFoveationEyeTrackedProfileCreateFlagBitsMETA; + +typedef enum XrFoveationEyeTrackedStateFlagBitsMETA +{ + XR_FOVEATION_EYE_TRACKED_STATE_VALID_BIT_META = 0x00000001, + XR_FOVEATION_EYE_TRACKED_STATE_FLAG_BITS_META_MAX_ENUM = 0x7fffffff, +} XrFoveationEyeTrackedStateFlagBitsMETA; + typedef enum XrFoveationLevelFB { XR_FOVEATION_LEVEL_NONE_FB = 0, @@ -416,6 +587,24 @@ typedef enum XrFoveationLevelFB XR_FOVEATION_LEVEL_FB_MAX_ENUM = 0x7fffffff, } XrFoveationLevelFB; +typedef enum XrFoveationLevelHTC +{ + XR_FOVEATION_LEVEL_NONE_HTC = 0, + XR_FOVEATION_LEVEL_LOW_HTC = 1, + XR_FOVEATION_LEVEL_MEDIUM_HTC = 2, + XR_FOVEATION_LEVEL_HIGH_HTC = 3, + XR_FOVEATION_LEVEL_HTC_MAX_ENUM = 0x7fffffff, +} XrFoveationLevelHTC; + +typedef enum XrFoveationModeHTC +{ + XR_FOVEATION_MODE_DISABLE_HTC = 0, + XR_FOVEATION_MODE_FIXED_HTC = 1, + XR_FOVEATION_MODE_DYNAMIC_HTC = 2, + XR_FOVEATION_MODE_CUSTOM_HTC = 3, + XR_FOVEATION_MODE_HTC_MAX_ENUM = 0x7fffffff, +} XrFoveationModeHTC; + typedef enum XrHandEXT { XR_HAND_LEFT_EXT = 1, @@ -423,6 +612,38 @@ typedef enum XrHandEXT XR_HAND_EXT_MAX_ENUM = 0x7fffffff, } XrHandEXT; +typedef enum XrHandForearmJointULTRALEAP +{ + XR_HAND_FOREARM_JOINT_PALM_ULTRALEAP = 0, + XR_HAND_FOREARM_JOINT_WRIST_ULTRALEAP = 1, + XR_HAND_FOREARM_JOINT_THUMB_METACARPAL_ULTRALEAP = 2, + XR_HAND_FOREARM_JOINT_THUMB_PROXIMAL_ULTRALEAP = 3, + XR_HAND_FOREARM_JOINT_THUMB_DISTAL_ULTRALEAP = 4, + XR_HAND_FOREARM_JOINT_THUMB_TIP_ULTRALEAP = 5, + XR_HAND_FOREARM_JOINT_INDEX_METACARPAL_ULTRALEAP = 6, + XR_HAND_FOREARM_JOINT_INDEX_PROXIMAL_ULTRALEAP = 7, + XR_HAND_FOREARM_JOINT_INDEX_INTERMEDIATE_ULTRALEAP = 8, + XR_HAND_FOREARM_JOINT_INDEX_DISTAL_ULTRALEAP = 9, + XR_HAND_FOREARM_JOINT_INDEX_TIP_ULTRALEAP = 10, + XR_HAND_FOREARM_JOINT_MIDDLE_METACARPAL_ULTRALEAP = 11, + XR_HAND_FOREARM_JOINT_MIDDLE_PROXIMAL_ULTRALEAP = 12, + XR_HAND_FOREARM_JOINT_MIDDLE_INTERMEDIATE_ULTRALEAP = 13, + XR_HAND_FOREARM_JOINT_MIDDLE_DISTAL_ULTRALEAP = 14, + XR_HAND_FOREARM_JOINT_MIDDLE_TIP_ULTRALEAP = 15, + XR_HAND_FOREARM_JOINT_RING_METACARPAL_ULTRALEAP = 16, + XR_HAND_FOREARM_JOINT_RING_PROXIMAL_ULTRALEAP = 17, + XR_HAND_FOREARM_JOINT_RING_INTERMEDIATE_ULTRALEAP = 18, + XR_HAND_FOREARM_JOINT_RING_DISTAL_ULTRALEAP = 19, + XR_HAND_FOREARM_JOINT_RING_TIP_ULTRALEAP = 20, + XR_HAND_FOREARM_JOINT_LITTLE_METACARPAL_ULTRALEAP = 21, + XR_HAND_FOREARM_JOINT_LITTLE_PROXIMAL_ULTRALEAP = 22, + XR_HAND_FOREARM_JOINT_LITTLE_INTERMEDIATE_ULTRALEAP = 23, + XR_HAND_FOREARM_JOINT_LITTLE_DISTAL_ULTRALEAP = 24, + XR_HAND_FOREARM_JOINT_LITTLE_TIP_ULTRALEAP = 25, + XR_HAND_FOREARM_JOINT_ELBOW_ULTRALEAP = 26, + XR_HAND_FOREARM_JOINT_ULTRALEAP_MAX_ENUM = 0x7fffffff, +} XrHandForearmJointULTRALEAP; + typedef enum XrHandJointEXT { XR_HAND_JOINT_PALM_EXT = 0, @@ -457,6 +678,7 @@ typedef enum XrHandJointEXT typedef enum XrHandJointSetEXT { XR_HAND_JOINT_SET_DEFAULT_EXT = 0, + XR_HAND_JOINT_SET_HAND_WITH_FOREARM_ULTRALEAP = 1000149000, XR_HAND_JOINT_SET_EXT_MAX_ENUM = 0x7fffffff, } XrHandJointSetEXT; @@ -474,6 +696,13 @@ typedef enum XrHandPoseTypeMSFT XR_HAND_POSE_TYPE_MSFT_MAX_ENUM = 0x7fffffff, } XrHandPoseTypeMSFT; +typedef enum XrLocalDimmingModeMETA +{ + XR_LOCAL_DIMMING_MODE_OFF_META = 0, + XR_LOCAL_DIMMING_MODE_ON_META = 1, + XR_LOCAL_DIMMING_MODE_META_MAX_ENUM = 0x7fffffff, +} XrLocalDimmingModeMETA; + typedef enum XrMeshComputeLodMSFT { XR_MESH_COMPUTE_LOD_COARSE_MSFT = 1, @@ -505,10 +734,19 @@ typedef enum XrObjectType XR_OBJECT_TYPE_MAX_ENUM = 0x7fffffff, } XrObjectType; +typedef enum XrPassthroughFormHTC +{ + XR_PASSTHROUGH_FORM_PLANAR_HTC = 0, + XR_PASSTHROUGH_FORM_PROJECTED_HTC = 1, + XR_PASSTHROUGH_FORM_HTC_MAX_ENUM = 0x7fffffff, +} XrPassthroughFormHTC; + typedef enum XrPassthroughLayerPurposeFB { XR_PASSTHROUGH_LAYER_PURPOSE_RECONSTRUCTION_FB = 0, XR_PASSTHROUGH_LAYER_PURPOSE_PROJECTED_FB = 1, + XR_PASSTHROUGH_LAYER_PURPOSE_TRACKED_KEYBOARD_HANDS_FB = 1000203001, + XR_PASSTHROUGH_LAYER_PURPOSE_TRACKED_KEYBOARD_MASKED_HANDS_FB = 1000203002, XR_PASSTHROUGH_LAYER_PURPOSE_FB_MAX_ENUM = 0x7fffffff, } XrPassthroughLayerPurposeFB; @@ -544,6 +782,16 @@ typedef enum XrPerfSettingsSubDomainEXT XR_PERF_SETTINGS_SUB_DOMAIN_EXT_MAX_ENUM = 0x7fffffff, } XrPerfSettingsSubDomainEXT; +typedef enum XrPerformanceMetricsCounterUnitMETA +{ + XR_PERFORMANCE_METRICS_COUNTER_UNIT_GENERIC_META = 0, + XR_PERFORMANCE_METRICS_COUNTER_UNIT_PERCENTAGE_META = 1, + XR_PERFORMANCE_METRICS_COUNTER_UNIT_MILLISECONDS_META = 2, + XR_PERFORMANCE_METRICS_COUNTER_UNIT_BYTES_META = 3, + XR_PERFORMANCE_METRICS_COUNTER_UNIT_HERTZ_META = 4, + XR_PERFORMANCE_METRICS_COUNTER_UNIT_META_MAX_ENUM = 0x7fffffff, +} XrPerformanceMetricsCounterUnitMETA; + typedef enum XrReferenceSpaceType { XR_REFERENCE_SPACE_TYPE_VIEW = 1, @@ -551,6 +799,7 @@ typedef enum XrReferenceSpaceType XR_REFERENCE_SPACE_TYPE_STAGE = 3, XR_REFERENCE_SPACE_TYPE_UNBOUNDED_MSFT = 1000038000, XR_REFERENCE_SPACE_TYPE_COMBINED_EYE_VARJO = 1000121000, + XR_REFERENCE_SPACE_TYPE_LOCAL_FLOOR_EXT = 1000426000, XR_REFERENCE_SPACE_TYPE_MAX_ENUM = 0x7fffffff, } XrReferenceSpaceType; @@ -565,10 +814,10 @@ typedef enum XrReprojectionModeMSFT typedef enum XrResult { + XR_ERROR_HINT_ALREADY_SET_QCOM = -1000306000, XR_ERROR_SPATIAL_ANCHOR_NAME_INVALID_MSFT = -1000142002, XR_ERROR_SPATIAL_ANCHOR_NAME_NOT_FOUND_MSFT = -1000142001, - XR_ERROR_MARKER_ID_INVALID_VARJO = -1000124001, - XR_ERROR_MARKER_NOT_TRACKED_VARJO = -1000124000, + XR_ERROR_RENDER_MODEL_KEY_INVALID_FB = -1000119000, XR_ERROR_UNKNOWN_PASSTHROUGH_FB = -1000118050, XR_ERROR_INSUFFICIENT_RESOURCES_PASSTHROUGH_FB = -1000118004, XR_ERROR_NOT_PERMITTED_PASSTHROUGH_FB = -1000118003, @@ -642,6 +891,7 @@ typedef enum XrResult XR_SPACE_BOUNDS_UNAVAILABLE = 7, XR_SESSION_NOT_FOCUSED = 8, XR_FRAME_DISCARDED = 9, + XR_RENDER_MODEL_UNAVAILABLE_FB = 1000119020, XR_RESULT_MAX_ENUM = 0x7fffffff, } XrResult; @@ -717,6 +967,40 @@ typedef enum XrSessionState XR_SESSION_STATE_MAX_ENUM = 0x7fffffff, } XrSessionState; +typedef enum XrSpaceComponentTypeFB +{ + XR_SPACE_COMPONENT_TYPE_LOCATABLE_FB = 0, + XR_SPACE_COMPONENT_TYPE_STORABLE_FB = 1, + XR_SPACE_COMPONENT_TYPE_SHARABLE_FB = 2, + XR_SPACE_COMPONENT_TYPE_BOUNDED_2D_FB = 3, + XR_SPACE_COMPONENT_TYPE_BOUNDED_3D_FB = 4, + XR_SPACE_COMPONENT_TYPE_SEMANTIC_LABELS_FB = 5, + XR_SPACE_COMPONENT_TYPE_ROOM_LAYOUT_FB = 6, + XR_SPACE_COMPONENT_TYPE_SPACE_CONTAINER_FB = 7, + XR_SPACE_COMPONENT_TYPE_FB_MAX_ENUM = 0x7fffffff, +} XrSpaceComponentTypeFB; + +typedef enum XrSpacePersistenceModeFB +{ + XR_SPACE_PERSISTENCE_MODE_INVALID_FB = 0, + XR_SPACE_PERSISTENCE_MODE_INDEFINITE_FB = 1, + XR_SPACE_PERSISTENCE_MODE_FB_MAX_ENUM = 0x7fffffff, +} XrSpacePersistenceModeFB; + +typedef enum XrSpaceQueryActionFB +{ + XR_SPACE_QUERY_ACTION_LOAD_FB = 0, + XR_SPACE_QUERY_ACTION_FB_MAX_ENUM = 0x7fffffff, +} XrSpaceQueryActionFB; + +typedef enum XrSpaceStorageLocationFB +{ + XR_SPACE_STORAGE_LOCATION_INVALID_FB = 0, + XR_SPACE_STORAGE_LOCATION_LOCAL_FB = 1, + XR_SPACE_STORAGE_LOCATION_CLOUD_FB = 2, + XR_SPACE_STORAGE_LOCATION_FB_MAX_ENUM = 0x7fffffff, +} XrSpaceStorageLocationFB; + typedef enum XrSpatialGraphNodeTypeMSFT { XR_SPATIAL_GRAPH_NODE_TYPE_STATIC_MSFT = 1, @@ -809,17 +1093,11 @@ typedef enum XrStructureType XR_TYPE_COMPOSITION_LAYER_IMAGE_LAYOUT_FB = 1000040000, XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB = 1000041001, XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT = 1000046000, - XR_TYPE_SPATIAL_GRAPH_NODE_SPACE_CREATE_INFO_MSFT = 1000049000, XR_TYPE_SYSTEM_HAND_TRACKING_PROPERTIES_EXT = 1000051000, XR_TYPE_HAND_TRACKER_CREATE_INFO_EXT = 1000051001, XR_TYPE_HAND_JOINTS_LOCATE_INFO_EXT = 1000051002, XR_TYPE_HAND_JOINT_LOCATIONS_EXT = 1000051003, XR_TYPE_HAND_JOINT_VELOCITIES_EXT = 1000051004, - XR_TYPE_SYSTEM_HAND_TRACKING_MESH_PROPERTIES_MSFT = 1000052000, - XR_TYPE_HAND_MESH_SPACE_CREATE_INFO_MSFT = 1000052001, - XR_TYPE_HAND_MESH_UPDATE_INFO_MSFT = 1000052002, - XR_TYPE_HAND_MESH_MSFT = 1000052003, - XR_TYPE_HAND_POSE_TYPE_INFO_MSFT = 1000052004, XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SESSION_BEGIN_INFO_MSFT = 1000053000, XR_TYPE_SECONDARY_VIEW_CONFIGURATION_STATE_MSFT = 1000053001, XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_STATE_MSFT = 1000053002, @@ -836,6 +1114,7 @@ typedef enum XrStructureType XR_TYPE_COMPOSITION_LAYER_REPROJECTION_INFO_MSFT = 1000066000, XR_TYPE_COMPOSITION_LAYER_REPROJECTION_PLANE_OVERRIDE_MSFT = 1000066001, XR_TYPE_COMPOSITION_LAYER_SECURE_CONTENT_FB = 1000072000, + XR_TYPE_INTERACTION_PROFILE_DPAD_BINDING_EXT = 1000078000, XR_TYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE = 1000079000, XR_TYPE_HAND_JOINTS_MOTION_RANGE_INFO_EXT = 1000080000, XR_TYPE_VULKAN_INSTANCE_CREATE_INFO_KHR = 1000090000, @@ -882,30 +1161,87 @@ typedef enum XrStructureType XR_TYPE_COMPOSITION_LAYER_PASSTHROUGH_FB = 1000118003, XR_TYPE_GEOMETRY_INSTANCE_CREATE_INFO_FB = 1000118004, XR_TYPE_GEOMETRY_INSTANCE_TRANSFORM_FB = 1000118005, + XR_TYPE_SYSTEM_PASSTHROUGH_PROPERTIES2_FB = 1000118006, XR_TYPE_PASSTHROUGH_STYLE_FB = 1000118020, XR_TYPE_PASSTHROUGH_COLOR_MAP_MONO_TO_RGBA_FB = 1000118021, XR_TYPE_PASSTHROUGH_COLOR_MAP_MONO_TO_MONO_FB = 1000118022, + XR_TYPE_PASSTHROUGH_BRIGHTNESS_CONTRAST_SATURATION_FB = 1000118023, XR_TYPE_EVENT_DATA_PASSTHROUGH_STATE_CHANGED_FB = 1000118030, + XR_TYPE_RENDER_MODEL_PATH_INFO_FB = 1000119000, + XR_TYPE_RENDER_MODEL_PROPERTIES_FB = 1000119001, + XR_TYPE_RENDER_MODEL_BUFFER_FB = 1000119002, + XR_TYPE_RENDER_MODEL_LOAD_INFO_FB = 1000119003, + XR_TYPE_SYSTEM_RENDER_MODEL_PROPERTIES_FB = 1000119004, + XR_TYPE_RENDER_MODEL_CAPABILITIES_REQUEST_FB = 1000119005, XR_TYPE_BINDING_MODIFICATIONS_KHR = 1000120000, XR_TYPE_VIEW_LOCATE_FOVEATED_RENDERING_VARJO = 1000121000, XR_TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJO = 1000121001, XR_TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJO = 1000121002, XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJO = 1000122000, - XR_TYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_VARJO = 1000124000, - XR_TYPE_EVENT_DATA_MARKER_TRACKING_UPDATE_VARJO = 1000124001, - XR_TYPE_MARKER_SPACE_CREATE_INFO_VARJO = 1000124002, + XR_TYPE_FRAME_END_INFO_ML = 1000135000, + XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML = 1000136000, XR_TYPE_SPATIAL_ANCHOR_PERSISTENCE_INFO_MSFT = 1000142000, XR_TYPE_SPATIAL_ANCHOR_FROM_PERSISTED_ANCHOR_CREATE_INFO_MSFT = 1000142001, + XR_TYPE_SPACE_QUERY_INFO_FB = 1000156001, + XR_TYPE_SPACE_QUERY_RESULTS_FB = 1000156002, + XR_TYPE_SPACE_STORAGE_LOCATION_FILTER_INFO_FB = 1000156003, + XR_TYPE_SPACE_COMPONENT_FILTER_INFO_FB = 1000156052, + XR_TYPE_SPACE_UUID_FILTER_INFO_FB = 1000156054, + XR_TYPE_EVENT_DATA_SPACE_QUERY_RESULTS_AVAILABLE_FB = 1000156103, + XR_TYPE_EVENT_DATA_SPACE_QUERY_COMPLETE_FB = 1000156104, XR_TYPE_SWAPCHAIN_IMAGE_FOVEATION_VULKAN_FB = 1000160000, XR_TYPE_SWAPCHAIN_STATE_SAMPLER_VULKAN_FB = 1000163000, XR_TYPE_COMPOSITION_LAYER_SPACE_WARP_INFO_FB = 1000171000, XR_TYPE_SYSTEM_SPACE_WARP_PROPERTIES_FB = 1000171001, + XR_TYPE_HAPTIC_AMPLITUDE_ENVELOPE_VIBRATION_FB = 1000173001, + XR_TYPE_DIGITAL_LENS_CONTROL_ALMALENCE = 1000196000, + XR_TYPE_EVENT_DATA_SCENE_CAPTURE_COMPLETE_FB = 1000198001, + XR_TYPE_SCENE_CAPTURE_REQUEST_INFO_FB = 1000198050, + XR_TYPE_FOVEATION_EYE_TRACKED_PROFILE_CREATE_INFO_META = 1000200000, + XR_TYPE_FOVEATION_EYE_TRACKED_STATE_META = 1000200001, + XR_TYPE_SYSTEM_FOVEATION_EYE_TRACKED_PROPERTIES_META = 1000200002, + XR_TYPE_PASSTHROUGH_KEYBOARD_HANDS_INTENSITY_FB = 1000203002, + XR_TYPE_COMPOSITION_LAYER_SETTINGS_FB = 1000204000, + XR_TYPE_HAPTIC_PCM_VIBRATION_FB = 1000209001, + XR_TYPE_DEVICE_PCM_SAMPLE_RATE_STATE_FB = 1000209002, + XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_FB = 1000212000, + XR_TYPE_LOCAL_DIMMING_FRAME_END_INFO_META = 1000216000, + XR_TYPE_EXTERNAL_CAMERA_OCULUS = 1000226000, + XR_TYPE_VULKAN_SWAPCHAIN_CREATE_INFO_META = 1000227000, + XR_TYPE_PERFORMANCE_METRICS_STATE_META = 1000232001, + XR_TYPE_PERFORMANCE_METRICS_COUNTER_META = 1000232002, + XR_TYPE_SPACE_LIST_SAVE_INFO_FB = 1000238000, + XR_TYPE_EVENT_DATA_SPACE_LIST_SAVE_COMPLETE_FB = 1000238001, + XR_TYPE_SYSTEM_HEADSET_ID_PROPERTIES_META = 1000245000, + XR_TYPE_FOVEATION_APPLY_INFO_HTC = 1000318000, + XR_TYPE_FOVEATION_DYNAMIC_MODE_INFO_HTC = 1000318001, + XR_TYPE_FOVEATION_CUSTOM_MODE_INFO_HTC = 1000318002, + XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT = 1000373000, + XR_TYPE_SYSTEM_FORCE_FEEDBACK_CURL_PROPERTIES_MNDX = 1000375000, + XR_TYPE_FORCE_FEEDBACK_CURL_APPLY_LOCATIONS_MNDX = 1000375001, XR_TYPE_GRAPHICS_BINDING_VULKAN2_KHR = XR_TYPE_GRAPHICS_BINDING_VULKAN_KHR, XR_TYPE_SWAPCHAIN_IMAGE_VULKAN2_KHR = XR_TYPE_SWAPCHAIN_IMAGE_VULKAN_KHR, XR_TYPE_GRAPHICS_REQUIREMENTS_VULKAN2_KHR = XR_TYPE_GRAPHICS_REQUIREMENTS_VULKAN_KHR, + XR_TYPE_DEVICE_PCM_SAMPLE_RATE_GET_INFO_FB = XR_TYPE_DEVICE_PCM_SAMPLE_RATE_STATE_FB, XR_STRUCTURE_TYPE_MAX_ENUM = 0x7fffffff, } XrStructureType; +typedef enum XrTrackingOptimizationSettingsDomainQCOM +{ + XR_TRACKING_OPTIMIZATION_SETTINGS_DOMAIN_ALL_QCOM = 1, + XR_TRACKING_OPTIMIZATION_SETTINGS_DOMAIN_QCOM_MAX_ENUM = 0x7fffffff, +} 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_QCOM_MAX_ENUM = 0x7fffffff, +} XrTrackingOptimizationSettingsHintQCOM; + typedef enum XrViewConfigurationType { XR_VIEW_CONFIGURATION_TYPE_PRIMARY_MONO = 1, @@ -936,45 +1272,65 @@ typedef struct XrActionStateBoolean XrActionStateBoolean; typedef struct XrActionStateGetInfo XrActionStateGetInfo; typedef struct XrActionSuggestedBinding XrActionSuggestedBinding; typedef struct XrActiveActionSet XrActiveActionSet; +typedef struct XrActiveActionSetPriorityEXT XrActiveActionSetPriorityEXT; typedef struct XrApplicationInfo XrApplicationInfo; typedef struct XrBaseOutStructure XrBaseOutStructure; -typedef struct XrBoundSourcesForActionEnumerateInfo XrBoundSourcesForActionEnumerateInfo; typedef struct XrCompositionLayerAlphaBlendFB XrCompositionLayerAlphaBlendFB; -typedef struct XrCompositionLayerDepthTestVARJO XrCompositionLayerDepthTestVARJO; +typedef struct XrCompositionLayerDepthTestFB XrCompositionLayerDepthTestFB; typedef struct XrCompositionLayerImageLayoutFB XrCompositionLayerImageLayoutFB; typedef struct XrCompositionLayerReprojectionInfoMSFT XrCompositionLayerReprojectionInfoMSFT; typedef struct XrCompositionLayerSecureContentFB XrCompositionLayerSecureContentFB; typedef struct XrControllerModelKeyStateMSFT XrControllerModelKeyStateMSFT; -typedef struct XrDebugUtilsLabelEXT XrDebugUtilsLabelEXT; typedef struct XrDeserializeSceneFragmentMSFT XrDeserializeSceneFragmentMSFT; -typedef struct XrEventDataBuffer XrEventDataBuffer; -typedef struct XrEventDataEventsLost XrEventDataEventsLost; -typedef struct XrEventDataInteractionProfileChanged XrEventDataInteractionProfileChanged; -typedef struct XrEventDataMarkerTrackingUpdateVARJO XrEventDataMarkerTrackingUpdateVARJO; -typedef struct XrEventDataPerfSettingsEXT XrEventDataPerfSettingsEXT; -typedef struct XrEventDataSessionStateChanged XrEventDataSessionStateChanged; +typedef struct XrDevicePcmSampleRateStateFB XrDevicePcmSampleRateStateFB; +typedef XrDevicePcmSampleRateStateFB XrDevicePcmSampleRateGetInfoFB; +typedef struct XrEventDataBaseHeader XrEventDataBaseHeader; +typedef struct XrEventDataDisplayRefreshRateChangedFB XrEventDataDisplayRefreshRateChangedFB; +typedef struct XrEventDataInstanceLossPending XrEventDataInstanceLossPending; +typedef struct XrEventDataMainSessionVisibilityChangedEXTX XrEventDataMainSessionVisibilityChangedEXTX; +typedef struct XrEventDataPassthroughStateChangedFB XrEventDataPassthroughStateChangedFB; +typedef struct XrEventDataSceneCaptureCompleteFB XrEventDataSceneCaptureCompleteFB; +typedef struct XrEventDataSpaceQueryCompleteFB XrEventDataSpaceQueryCompleteFB; +typedef struct XrEventDataVisibilityMaskChangedKHR XrEventDataVisibilityMaskChangedKHR; typedef struct XrExtensionProperties XrExtensionProperties; typedef struct XrExtent2Di XrExtent2Di; +typedef struct XrEyeGazeSampleTimeEXT XrEyeGazeSampleTimeEXT; +typedef struct XrForceFeedbackCurlApplyLocationMNDX XrForceFeedbackCurlApplyLocationMNDX; typedef struct XrFoveatedViewConfigurationViewVARJO XrFoveatedViewConfigurationViewVARJO; -typedef struct XrFoveationProfileCreateInfoFB XrFoveationProfileCreateInfoFB; -typedef struct XrFrameBeginInfo XrFrameBeginInfo; -typedef struct XrFrameState XrFrameState; -typedef struct XrGraphicsBindingD3D11KHR XrGraphicsBindingD3D11KHR; -typedef struct XrGraphicsRequirementsD3D11KHR XrGraphicsRequirementsD3D11KHR; +typedef struct XrFoveationDynamicModeInfoHTC XrFoveationDynamicModeInfoHTC; +typedef struct XrFoveationLevelProfileCreateInfoFB XrFoveationLevelProfileCreateInfoFB; +typedef struct XrFovf XrFovf; +typedef struct XrFrameEndInfoML XrFrameEndInfoML; +typedef struct XrFrameWaitInfo XrFrameWaitInfo; +typedef struct XrGlobalDimmerFrameEndInfoML XrGlobalDimmerFrameEndInfoML; +typedef struct XrGraphicsBindingD3D12KHR XrGraphicsBindingD3D12KHR; +typedef struct XrGraphicsBindingOpenGLWin32KHR XrGraphicsBindingOpenGLWin32KHR; +typedef struct XrGraphicsBindingVulkanKHR XrGraphicsBindingVulkanKHR; +typedef XrGraphicsBindingVulkanKHR XrGraphicsBindingVulkan2KHR; +typedef struct XrGraphicsRequirementsD3D12KHR XrGraphicsRequirementsD3D12KHR; +typedef struct XrGraphicsRequirementsOpenGLKHR XrGraphicsRequirementsOpenGLKHR; +typedef struct XrGraphicsRequirementsVulkanKHR XrGraphicsRequirementsVulkanKHR; +typedef XrGraphicsRequirementsVulkanKHR XrGraphicsRequirementsVulkan2KHR; typedef struct XrHandJointsLocateInfoEXT XrHandJointsLocateInfoEXT; typedef struct XrHandMeshIndexBufferMSFT XrHandMeshIndexBufferMSFT; -typedef struct XrHandMeshUpdateInfoMSFT XrHandMeshUpdateInfoMSFT; -typedef struct XrHandPoseTypeInfoMSFT XrHandPoseTypeInfoMSFT; typedef struct XrHandTrackingScaleFB XrHandTrackingScaleFB; -typedef struct XrHapticBaseHeader XrHapticBaseHeader; +typedef struct XrHapticAmplitudeEnvelopeVibrationFB XrHapticAmplitudeEnvelopeVibrationFB; +typedef struct XrHapticPcmVibrationFB XrHapticPcmVibrationFB; typedef struct XrHolographicWindowAttachmentMSFT XrHolographicWindowAttachmentMSFT; typedef struct XrInstanceCreateInfo XrInstanceCreateInfo; typedef struct XrInstanceProperties XrInstanceProperties; typedef struct XrInteractionProfileState XrInteractionProfileState; typedef struct XrOffset2Df XrOffset2Df; -typedef struct XrPassthroughColorMapMonoToMonoFB XrPassthroughColorMapMonoToMonoFB; +typedef struct XrOffset3DfFB XrOffset3DfFB; +typedef struct XrPassthroughColorHTC XrPassthroughColorHTC; typedef struct XrPassthroughCreateInfoFB XrPassthroughCreateInfoFB; +typedef struct XrPassthroughKeyboardHandsIntensityFB XrPassthroughKeyboardHandsIntensityFB; +typedef struct XrPerformanceMetricsCounterMETA XrPerformanceMetricsCounterMETA; typedef struct XrQuaternionf XrQuaternionf; +typedef struct XrRenderModelBufferFB XrRenderModelBufferFB; +typedef struct XrRenderModelLoadInfoFB XrRenderModelLoadInfoFB; +typedef struct XrRenderModelPropertiesFB XrRenderModelPropertiesFB; +typedef struct XrSceneCaptureRequestInfoFB XrSceneCaptureRequestInfoFB; typedef struct XrSceneComponentsGetInfoMSFT XrSceneComponentsGetInfoMSFT; typedef struct XrSceneCreateInfoMSFT XrSceneCreateInfoMSFT; typedef struct XrSceneMeshBuffersGetInfoMSFT XrSceneMeshBuffersGetInfoMSFT; @@ -988,6 +1344,10 @@ typedef struct XrSecondaryViewConfigurationSessionBeginInfoMSFT XrSecondaryViewC typedef struct XrSecondaryViewConfigurationSwapchainCreateInfoMSFT XrSecondaryViewConfigurationSwapchainCreateInfoMSFT; typedef struct XrSessionActionSetsAttachInfo XrSessionActionSetsAttachInfo; typedef struct XrSessionCreateInfo XrSessionCreateInfo; +typedef struct XrSpaceComponentFilterInfoFB XrSpaceComponentFilterInfoFB; +typedef struct XrSpaceListSaveInfoFB XrSpaceListSaveInfoFB; +typedef struct XrSpaceQueryInfoBaseHeaderFB XrSpaceQueryInfoBaseHeaderFB; +typedef struct XrSpaceStorageLocationFilterInfoFB XrSpaceStorageLocationFilterInfoFB; typedef struct XrSpatialAnchorPersistenceNameMSFT XrSpatialAnchorPersistenceNameMSFT; typedef struct XrSwapchainCreateInfo XrSwapchainCreateInfo; typedef struct XrSwapchainImageAcquireInfo XrSwapchainImageAcquireInfo; @@ -996,15 +1356,16 @@ typedef struct XrSwapchainImageFoveationVulkanFB XrSwapchainImageFoveationVulkan typedef struct XrSwapchainImageOpenGLKHR XrSwapchainImageOpenGLKHR; typedef struct XrSwapchainImageWaitInfo XrSwapchainImageWaitInfo; typedef struct XrSwapchainStateFoveationFB XrSwapchainStateFoveationFB; -typedef struct XrSystemColorSpacePropertiesFB XrSystemColorSpacePropertiesFB; -typedef struct XrSystemFoveatedRenderingPropertiesVARJO XrSystemFoveatedRenderingPropertiesVARJO; +typedef struct XrSystemEyeGazeInteractionPropertiesEXT XrSystemEyeGazeInteractionPropertiesEXT; +typedef struct XrSystemForceFeedbackCurlPropertiesMNDX XrSystemForceFeedbackCurlPropertiesMNDX; +typedef struct XrSystemFoveationEyeTrackedPropertiesMETA XrSystemFoveationEyeTrackedPropertiesMETA; typedef struct XrSystemGraphicsProperties XrSystemGraphicsProperties; typedef struct XrSystemHandTrackingPropertiesEXT XrSystemHandTrackingPropertiesEXT; -typedef struct XrSystemPassthroughPropertiesFB XrSystemPassthroughPropertiesFB; -typedef struct XrSystemSpaceWarpPropertiesFB XrSystemSpaceWarpPropertiesFB; -typedef struct XrUuidMSFT XrUuidMSFT; -typedef struct XrVector3f XrVector3f; -typedef struct XrVector4sFB XrVector4sFB; +typedef struct XrSystemPassthroughProperties2FB XrSystemPassthroughProperties2FB; +typedef struct XrSystemRenderModelPropertiesFB XrSystemRenderModelPropertiesFB; +typedef struct XrUuidEXT XrUuidEXT; +typedef struct XrVector2f XrVector2f; +typedef struct XrVector4f XrVector4f; typedef struct XrViewConfigurationDepthRangeEXT XrViewConfigurationDepthRangeEXT; typedef struct XrViewConfigurationView XrViewConfigurationView; typedef struct XrViewLocateFoveatedRenderingVARJO XrViewLocateFoveatedRenderingVARJO; @@ -1012,147 +1373,174 @@ typedef struct XrViewState XrViewState; typedef struct XrVisualMeshComputeLodInfoMSFT XrVisualMeshComputeLodInfoMSFT; typedef struct XrVulkanDeviceCreateInfoKHR XrVulkanDeviceCreateInfoKHR; typedef struct XrVulkanInstanceCreateInfoKHR XrVulkanInstanceCreateInfoKHR; +typedef struct XrVulkanSwapchainFormatListCreateInfoKHR XrVulkanSwapchainFormatListCreateInfoKHR; typedef struct XrActionSetCreateInfo XrActionSetCreateInfo; typedef struct XrActionStateFloat XrActionStateFloat; -typedef struct XrActionsSyncInfo XrActionsSyncInfo; +typedef struct XrActionStateVector2f XrActionStateVector2f; +typedef struct XrActiveActionSetPrioritiesEXT XrActiveActionSetPrioritiesEXT; typedef struct XrBaseInStructure XrBaseInStructure; -typedef struct XrColor4f XrColor4f; -typedef struct XrCompositionLayerColorScaleBiasKHR XrCompositionLayerColorScaleBiasKHR; +typedef struct XrBoundSourcesForActionEnumerateInfo XrBoundSourcesForActionEnumerateInfo; +typedef struct XrCompositionLayerBaseHeader XrCompositionLayerBaseHeader; +typedef struct XrCompositionLayerCubeKHR XrCompositionLayerCubeKHR; +typedef struct XrCompositionLayerDepthTestVARJO XrCompositionLayerDepthTestVARJO; typedef struct XrCompositionLayerPassthroughFB XrCompositionLayerPassthroughFB; -typedef struct XrCompositionLayerReprojectionPlaneOverrideMSFT XrCompositionLayerReprojectionPlaneOverrideMSFT; +typedef struct XrCompositionLayerSettingsFB XrCompositionLayerSettingsFB; typedef struct XrControllerModelNodePropertiesMSFT XrControllerModelNodePropertiesMSFT; typedef struct XrControllerModelPropertiesMSFT XrControllerModelPropertiesMSFT; +typedef struct XrDebugUtilsLabelEXT XrDebugUtilsLabelEXT; typedef struct XrDebugUtilsObjectNameInfoEXT XrDebugUtilsObjectNameInfoEXT; -typedef struct XrEventDataDisplayRefreshRateChangedFB XrEventDataDisplayRefreshRateChangedFB; -typedef struct XrEventDataMainSessionVisibilityChangedEXTX XrEventDataMainSessionVisibilityChangedEXTX; -typedef struct XrEventDataVisibilityMaskChangedKHR XrEventDataVisibilityMaskChangedKHR; +typedef struct XrDigitalLensControlALMALENCE XrDigitalLensControlALMALENCE; +typedef struct XrEventDataEventsLost XrEventDataEventsLost; +typedef struct XrEventDataSessionStateChanged XrEventDataSessionStateChanged; +typedef struct XrEventDataSpaceQueryResultsAvailableFB XrEventDataSpaceQueryResultsAvailableFB; typedef struct XrExtent2Df XrExtent2Df; -typedef struct XrFoveationLevelProfileCreateInfoFB XrFoveationLevelProfileCreateInfoFB; -typedef struct XrFrameWaitInfo XrFrameWaitInfo; -typedef struct XrGraphicsBindingD3D12KHR XrGraphicsBindingD3D12KHR; -typedef struct XrGraphicsBindingVulkanKHR XrGraphicsBindingVulkanKHR; -typedef XrGraphicsBindingVulkanKHR XrGraphicsBindingVulkan2KHR; -typedef struct XrGraphicsRequirementsOpenGLKHR XrGraphicsRequirementsOpenGLKHR; -typedef struct XrHandCapsuleFB XrHandCapsuleFB; -typedef struct XrHandJointVelocityEXT XrHandJointVelocityEXT; -typedef struct XrHandMeshVertexMSFT XrHandMeshVertexMSFT; -typedef struct XrHandTrackingCapsulesStateFB XrHandTrackingCapsulesStateFB; +typedef struct XrExternalCameraIntrinsicsOCULUS XrExternalCameraIntrinsicsOCULUS; +typedef struct XrFaceExpressionStatusFB XrFaceExpressionStatusFB; +typedef struct XrFoveationConfigurationHTC XrFoveationConfigurationHTC; +typedef struct XrFoveationEyeTrackedProfileCreateInfoMETA XrFoveationEyeTrackedProfileCreateInfoMETA; +typedef struct XrFoveationProfileCreateInfoFB XrFoveationProfileCreateInfoFB; +typedef struct XrFrameEndInfo XrFrameEndInfo; +typedef struct XrGraphicsBindingD3D11KHR XrGraphicsBindingD3D11KHR; +typedef struct XrHandJointsMotionRangeInfoEXT XrHandJointsMotionRangeInfoEXT; +typedef struct XrHandTrackerCreateInfoEXT XrHandTrackerCreateInfoEXT; typedef struct XrHapticActionInfo XrHapticActionInfo; -typedef struct XrInputSourceLocalizedNameGetInfo XrInputSourceLocalizedNameGetInfo; -typedef struct XrInteractionProfileAnalogThresholdVALVE XrInteractionProfileAnalogThresholdVALVE; +typedef struct XrHapticVibration XrHapticVibration; +typedef struct XrInteractionProfileSuggestedBinding XrInteractionProfileSuggestedBinding; typedef struct XrOffset2Di XrOffset2Di; -typedef struct XrPassthroughLayerCreateInfoFB XrPassthroughLayerCreateInfoFB; -typedef struct XrPosef XrPosef; -typedef struct XrRect2Di XrRect2Di; -typedef struct XrSceneComponentLocationMSFT XrSceneComponentLocationMSFT; -typedef struct XrSceneComponentMSFT XrSceneComponentMSFT; -typedef struct XrSceneComponentsLocateInfoMSFT XrSceneComponentsLocateInfoMSFT; +typedef struct XrPassthroughColorMapMonoToMonoFB XrPassthroughColorMapMonoToMonoFB; +typedef struct XrPerformanceMetricsStateMETA XrPerformanceMetricsStateMETA; +typedef struct XrRect2Df XrRect2Df; +typedef struct XrRenderModelCapabilitiesRequestFB XrRenderModelCapabilitiesRequestFB; typedef struct XrSceneDeserializeInfoMSFT XrSceneDeserializeInfoMSFT; typedef struct XrSceneMeshBuffersMSFT XrSceneMeshBuffersMSFT; -typedef struct XrSceneMeshVertexBufferMSFT XrSceneMeshVertexBufferMSFT; -typedef struct XrSceneOrientedBoxBoundMSFT XrSceneOrientedBoxBoundMSFT; -typedef struct XrSceneSphereBoundMSFT XrSceneSphereBoundMSFT; -typedef struct XrSecondaryViewConfigurationStateMSFT XrSecondaryViewConfigurationStateMSFT; +typedef struct XrSceneObjectMSFT XrSceneObjectMSFT; +typedef struct XrScenePlaneMSFT XrScenePlaneMSFT; +typedef struct XrSecondaryViewConfigurationLayerInfoMSFT XrSecondaryViewConfigurationLayerInfoMSFT; typedef struct XrSessionBeginInfo XrSessionBeginInfo; -typedef struct XrSpaceLocation XrSpaceLocation; -typedef struct XrSpatialAnchorCreateInfoMSFT XrSpatialAnchorCreateInfoMSFT; -typedef struct XrSpatialAnchorPersistenceInfoMSFT XrSpatialAnchorPersistenceInfoMSFT; -typedef struct XrSpatialGraphNodeSpaceCreateInfoMSFT XrSpatialGraphNodeSpaceCreateInfoMSFT; -typedef struct XrSwapchainImageBaseHeader XrSwapchainImageBaseHeader; -typedef struct XrSwapchainImageVulkanKHR XrSwapchainImageVulkanKHR; -typedef XrSwapchainImageVulkanKHR XrSwapchainImageVulkan2KHR; -typedef struct XrSwapchainStateSamplerVulkanFB XrSwapchainStateSamplerVulkanFB; -typedef struct XrSystemEyeGazeInteractionPropertiesEXT XrSystemEyeGazeInteractionPropertiesEXT; -typedef struct XrSystemHandTrackingMeshPropertiesMSFT XrSystemHandTrackingMeshPropertiesMSFT; -typedef struct XrSystemTrackingProperties XrSystemTrackingProperties; -typedef struct XrVector2f XrVector2f; +typedef struct XrSpaceFilterInfoBaseHeaderFB XrSpaceFilterInfoBaseHeaderFB; +typedef struct XrSpaceQueryInfoFB XrSpaceQueryInfoFB; +typedef struct XrSpaceUuidFilterInfoFB XrSpaceUuidFilterInfoFB; +typedef struct XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT; +typedef struct XrSwapchainCreateInfoFoveationFB XrSwapchainCreateInfoFoveationFB; +typedef struct XrSwapchainImageD3D12KHR XrSwapchainImageD3D12KHR; +typedef struct XrSwapchainImageReleaseInfo XrSwapchainImageReleaseInfo; +typedef struct XrSwapchainStateBaseHeaderFB XrSwapchainStateBaseHeaderFB; +typedef struct XrSystemColorSpacePropertiesFB XrSystemColorSpacePropertiesFB; +typedef struct XrSystemGetInfo XrSystemGetInfo; +typedef struct XrSystemHeadsetIdPropertiesMETA XrSystemHeadsetIdPropertiesMETA; +typedef struct XrSystemPassthroughPropertiesFB XrSystemPassthroughPropertiesFB; +typedef struct XrSystemSpaceWarpPropertiesFB XrSystemSpaceWarpPropertiesFB; +typedef struct XrUuidMSFT XrUuidMSFT; +typedef struct XrVector4sFB XrVector4sFB; typedef struct XrViewConfigurationProperties XrViewConfigurationProperties; typedef struct XrViewLocateInfo XrViewLocateInfo; typedef struct XrViveTrackerPathsHTCX XrViveTrackerPathsHTCX; -typedef struct XrVulkanSwapchainFormatListCreateInfoKHR XrVulkanSwapchainFormatListCreateInfoKHR; -typedef struct XrActionSpaceCreateInfo XrActionSpaceCreateInfo; -typedef struct XrActionStateVector2f XrActionStateVector2f; -typedef struct XrBindingModificationBaseHeaderKHR XrBindingModificationBaseHeaderKHR; -typedef struct XrCompositionLayerBaseHeader XrCompositionLayerBaseHeader; -typedef struct XrControllerModelNodeStateMSFT XrControllerModelNodeStateMSFT; -typedef struct XrDebugUtilsMessengerCallbackDataEXT XrDebugUtilsMessengerCallbackDataEXT; -typedef struct XrEventDataInstanceLossPending XrEventDataInstanceLossPending; -typedef struct XrEventDataReferenceSpaceChangePending XrEventDataReferenceSpaceChangePending; -typedef struct XrEyeGazeSampleTimeEXT XrEyeGazeSampleTimeEXT; -typedef struct XrFrameEndInfo XrFrameEndInfo; -typedef struct XrGeometryInstanceTransformFB XrGeometryInstanceTransformFB; -typedef struct XrGraphicsRequirementsD3D12KHR XrGraphicsRequirementsD3D12KHR; -typedef struct XrHandJointLocationEXT XrHandJointLocationEXT; -typedef struct XrHandJointVelocitiesEXT XrHandJointVelocitiesEXT; -typedef struct XrHandMeshSpaceCreateInfoMSFT XrHandMeshSpaceCreateInfoMSFT; -typedef struct XrHandTrackerCreateInfoEXT XrHandTrackerCreateInfoEXT; -typedef struct XrHapticVibration XrHapticVibration; -typedef struct XrInteractionProfileSuggestedBinding XrInteractionProfileSuggestedBinding; -typedef struct XrPassthroughColorMapMonoToRgbaFB XrPassthroughColorMapMonoToRgbaFB; -typedef struct XrRect2Df XrRect2Df; -typedef struct XrSceneComponentLocationsMSFT XrSceneComponentLocationsMSFT; -typedef struct XrSceneComponentsMSFT XrSceneComponentsMSFT; -typedef struct XrSceneMeshIndicesUint32MSFT XrSceneMeshIndicesUint32MSFT; -typedef struct XrScenePlaneMSFT XrScenePlaneMSFT; -typedef struct XrSecondaryViewConfigurationFrameStateMSFT XrSecondaryViewConfigurationFrameStateMSFT; -typedef struct XrSerializedSceneFragmentDataGetInfoMSFT XrSerializedSceneFragmentDataGetInfoMSFT; -typedef struct XrSpaceVelocity XrSpaceVelocity; -typedef struct XrSpatialAnchorSpaceCreateInfoMSFT XrSpatialAnchorSpaceCreateInfoMSFT; -typedef struct XrSwapchainImageD3D12KHR XrSwapchainImageD3D12KHR; -typedef struct XrSwapchainStateBaseHeaderFB XrSwapchainStateBaseHeaderFB; -typedef struct XrSystemGetInfo XrSystemGetInfo; -typedef struct XrSystemProperties XrSystemProperties; -typedef struct XrVector4f XrVector4f; -typedef struct XrVisibilityMaskKHR XrVisibilityMaskKHR; +typedef struct XrVulkanSwapchainCreateInfoMETA XrVulkanSwapchainCreateInfoMETA; typedef struct XrActionStatePose XrActionStatePose; -typedef struct XrBindingModificationsKHR XrBindingModificationsKHR; -typedef struct XrControllerModelStateMSFT XrControllerModelStateMSFT; -typedef struct XrEventDataPassthroughStateChangedFB XrEventDataPassthroughStateChangedFB; -typedef struct XrFovf XrFovf; -typedef struct XrGraphicsBindingOpenGLWin32KHR XrGraphicsBindingOpenGLWin32KHR; -typedef struct XrHandJointLocationsEXT XrHandJointLocationsEXT; -typedef struct XrHandMeshVertexBufferMSFT XrHandMeshVertexBufferMSFT; -typedef struct XrHandTrackingMeshFB XrHandTrackingMeshFB; -typedef struct XrMarkerSpaceCreateInfoVARJO XrMarkerSpaceCreateInfoVARJO; -typedef struct XrPassthroughStyleFB XrPassthroughStyleFB; -typedef struct XrSceneComponentParentFilterInfoMSFT XrSceneComponentParentFilterInfoMSFT; -typedef struct XrSceneObjectMSFT XrSceneObjectMSFT; -typedef struct XrScenePlanesMSFT XrScenePlanesMSFT; -typedef struct XrSecondaryViewConfigurationLayerInfoMSFT XrSecondaryViewConfigurationLayerInfoMSFT; -typedef struct XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT; -typedef struct XrSwapchainImageReleaseInfo XrSwapchainImageReleaseInfo; -typedef struct XrSystemMarkerTrackingPropertiesVARJO XrSystemMarkerTrackingPropertiesVARJO; -typedef struct XrView XrView; -typedef struct XrVulkanGraphicsDeviceGetInfoKHR XrVulkanGraphicsDeviceGetInfoKHR; typedef struct XrApiLayerProperties XrApiLayerProperties; -typedef struct XrEventDataBaseHeader XrEventDataBaseHeader; -typedef struct XrGeometryInstanceCreateInfoFB XrGeometryInstanceCreateInfoFB; -typedef struct XrHandJointsMotionRangeInfoEXT XrHandJointsMotionRangeInfoEXT; -typedef struct XrHandTrackingAimStateFB XrHandTrackingAimStateFB; -typedef struct XrReferenceSpaceCreateInfo XrReferenceSpaceCreateInfo; -typedef struct XrSceneFrustumBoundMSFT XrSceneFrustumBoundMSFT; -typedef struct XrSecondaryViewConfigurationFrameEndInfoMSFT XrSecondaryViewConfigurationFrameEndInfoMSFT; -typedef struct XrSwapchainCreateInfoFoveationFB XrSwapchainCreateInfoFoveationFB; -typedef struct XrTriangleMeshCreateInfoFB XrTriangleMeshCreateInfoFB; -typedef struct XrCompositionLayerCubeKHR XrCompositionLayerCubeKHR; +typedef struct XrColor4f XrColor4f; +typedef struct XrDebugUtilsMessengerCallbackDataEXT XrDebugUtilsMessengerCallbackDataEXT; +typedef struct XrEventDataBuffer XrEventDataBuffer; +typedef struct XrEventDataPerfSettingsEXT XrEventDataPerfSettingsEXT; +typedef struct XrEventDataSpaceListSaveCompleteFB XrEventDataSpaceListSaveCompleteFB; typedef struct XrEventDataViveTrackerConnectedHTCX XrEventDataViveTrackerConnectedHTCX; -typedef struct XrHandMeshMSFT XrHandMeshMSFT; -typedef struct XrSceneBoundsMSFT XrSceneBoundsMSFT; +typedef struct XrForceFeedbackCurlApplyLocationsMNDX XrForceFeedbackCurlApplyLocationsMNDX; +typedef struct XrFoveationCustomModeInfoHTC XrFoveationCustomModeInfoHTC; +typedef struct XrFrameBeginInfo XrFrameBeginInfo; +typedef struct XrHapticBaseHeader XrHapticBaseHeader; +typedef struct XrInteractionProfileAnalogThresholdVALVE XrInteractionProfileAnalogThresholdVALVE; +typedef struct XrPassthroughBrightnessContrastSaturationFB XrPassthroughBrightnessContrastSaturationFB; +typedef struct XrPassthroughLayerCreateInfoFB XrPassthroughLayerCreateInfoFB; +typedef struct XrRect2Di XrRect2Di; +typedef struct XrRenderModelPathInfoFB XrRenderModelPathInfoFB; +typedef struct XrSceneComponentMSFT XrSceneComponentMSFT; +typedef struct XrSceneComponentsLocateInfoMSFT XrSceneComponentsLocateInfoMSFT; +typedef struct XrSceneMeshIndicesUint32MSFT XrSceneMeshIndicesUint32MSFT; +typedef struct XrSceneObjectsMSFT XrSceneObjectsMSFT; +typedef struct XrScenePlanesMSFT XrScenePlanesMSFT; +typedef struct XrSecondaryViewConfigurationFrameEndInfoMSFT XrSecondaryViewConfigurationFrameEndInfoMSFT; +typedef struct XrSecondaryViewConfigurationStateMSFT XrSecondaryViewConfigurationStateMSFT; typedef struct XrSessionCreateInfoOverlayEXTX XrSessionCreateInfoOverlayEXTX; +typedef struct XrSpaceQueryResultFB XrSpaceQueryResultFB; +typedef struct XrSpatialAnchorPersistenceInfoMSFT XrSpatialAnchorPersistenceInfoMSFT; +typedef struct XrSwapchainStateSamplerVulkanFB XrSwapchainStateSamplerVulkanFB; +typedef struct XrSystemTrackingProperties XrSystemTrackingProperties; +typedef struct XrVector3f XrVector3f; typedef struct XrViewConfigurationViewFovEPIC XrViewConfigurationViewFovEPIC; -typedef struct XrGraphicsRequirementsVulkanKHR XrGraphicsRequirementsVulkanKHR; -typedef XrGraphicsRequirementsVulkanKHR XrGraphicsRequirementsVulkan2KHR; -typedef struct XrNewSceneComputeInfoMSFT XrNewSceneComputeInfoMSFT; +typedef struct XrVulkanGraphicsDeviceGetInfoKHR XrVulkanGraphicsDeviceGetInfoKHR; +typedef struct XrActionsSyncInfo XrActionsSyncInfo; +typedef struct XrCompositionLayerColorScaleBiasKHR XrCompositionLayerColorScaleBiasKHR; +typedef struct XrCompositionLayerReprojectionPlaneOverrideMSFT XrCompositionLayerReprojectionPlaneOverrideMSFT; +typedef struct XrFoveationEyeTrackedStateMETA XrFoveationEyeTrackedStateMETA; +typedef struct XrGraphicsRequirementsD3D11KHR XrGraphicsRequirementsD3D11KHR; +typedef struct XrHandJointVelocityEXT XrHandJointVelocityEXT; +typedef struct XrHandMeshVertexMSFT XrHandMeshVertexMSFT; +typedef struct XrInputSourceLocalizedNameGetInfo XrInputSourceLocalizedNameGetInfo; +typedef struct XrLocalDimmingFrameEndInfoMETA XrLocalDimmingFrameEndInfoMETA; +typedef struct XrPassthroughColorMapMonoToRgbaFB XrPassthroughColorMapMonoToRgbaFB; +typedef struct XrPosef XrPosef; +typedef struct XrSceneComponentLocationMSFT XrSceneComponentLocationMSFT; +typedef struct XrSceneComponentParentFilterInfoMSFT XrSceneComponentParentFilterInfoMSFT; +typedef struct XrSceneFrustumBoundMSFT XrSceneFrustumBoundMSFT; +typedef struct XrSceneOrientedBoxBoundMSFT XrSceneOrientedBoxBoundMSFT; +typedef struct XrSecondaryViewConfigurationFrameStateMSFT XrSecondaryViewConfigurationFrameStateMSFT; +typedef struct XrSpaceQueryResultsFB XrSpaceQueryResultsFB; +typedef struct XrSpatialAnchorCreateInfoMSFT XrSpatialAnchorCreateInfoMSFT; +typedef struct XrSwapchainImageBaseHeader XrSwapchainImageBaseHeader; typedef struct XrSwapchainSubImage XrSwapchainSubImage; +typedef struct XrTriangleMeshCreateInfoFB XrTriangleMeshCreateInfoFB; +typedef struct XrVisibilityMaskKHR XrVisibilityMaskKHR; +typedef struct XrActionSpaceCreateInfo XrActionSpaceCreateInfo; +typedef struct XrBodyJointLocationFB XrBodyJointLocationFB; typedef struct XrCompositionLayerCylinderKHR XrCompositionLayerCylinderKHR; typedef struct XrCompositionLayerEquirect2KHR XrCompositionLayerEquirect2KHR; typedef struct XrCompositionLayerProjectionView XrCompositionLayerProjectionView; typedef struct XrCompositionLayerSpaceWarpInfoFB XrCompositionLayerSpaceWarpInfoFB; -typedef struct XrSceneObjectsMSFT XrSceneObjectsMSFT; -typedef struct XrCompositionLayerDepthInfoKHR XrCompositionLayerDepthInfoKHR; -typedef struct XrCompositionLayerProjection XrCompositionLayerProjection; +typedef struct XrEventDataInteractionProfileChanged XrEventDataInteractionProfileChanged; +typedef struct XrExtent3DfFB XrExtent3DfFB; +typedef struct XrEyeGazeFB XrEyeGazeFB; +typedef struct XrFrameState XrFrameState; +typedef struct XrGeometryInstanceTransformFB XrGeometryInstanceTransformFB; +typedef struct XrHandJointLocationEXT XrHandJointLocationEXT; +typedef struct XrHandJointVelocitiesEXT XrHandJointVelocitiesEXT; +typedef struct XrHandTrackingAimStateFB XrHandTrackingAimStateFB; +typedef struct XrHandTrackingMeshFB XrHandTrackingMeshFB; +typedef struct XrPassthroughStyleFB XrPassthroughStyleFB; +typedef struct XrSceneComponentLocationsMSFT XrSceneComponentLocationsMSFT; +typedef struct XrSceneMeshVertexBufferMSFT XrSceneMeshVertexBufferMSFT; +typedef struct XrSerializedSceneFragmentDataGetInfoMSFT XrSerializedSceneFragmentDataGetInfoMSFT; +typedef struct XrSpaceVelocity XrSpaceVelocity; +typedef struct XrSwapchainImageVulkanKHR XrSwapchainImageVulkanKHR; +typedef XrSwapchainImageVulkanKHR XrSwapchainImageVulkan2KHR; +typedef struct XrSystemProperties XrSystemProperties; +typedef struct XrBindingModificationBaseHeaderKHR XrBindingModificationBaseHeaderKHR; +typedef struct XrBodySkeletonJointFB XrBodySkeletonJointFB; typedef struct XrCompositionLayerEquirectKHR XrCompositionLayerEquirectKHR; typedef struct XrCompositionLayerQuad XrCompositionLayerQuad; +typedef struct XrEventDataReferenceSpaceChangePending XrEventDataReferenceSpaceChangePending; +typedef struct XrFoveationApplyInfoHTC XrFoveationApplyInfoHTC; +typedef struct XrHandCapsuleFB XrHandCapsuleFB; +typedef struct XrHandMeshVertexBufferMSFT XrHandMeshVertexBufferMSFT; +typedef struct XrInteractionProfileDpadBindingEXT XrInteractionProfileDpadBindingEXT; +typedef struct XrReferenceSpaceCreateInfo XrReferenceSpaceCreateInfo; +typedef struct XrSceneComponentsMSFT XrSceneComponentsMSFT; +typedef struct XrSpaceLocation XrSpaceLocation; +typedef struct XrSystemFoveatedRenderingPropertiesVARJO XrSystemFoveatedRenderingPropertiesVARJO; +typedef struct XrBindingModificationsKHR XrBindingModificationsKHR; +typedef struct XrCompositionLayerProjection XrCompositionLayerProjection; +typedef struct XrExternalCameraExtrinsicsOCULUS XrExternalCameraExtrinsicsOCULUS; +typedef struct XrGeometryInstanceCreateInfoFB XrGeometryInstanceCreateInfoFB; +typedef struct XrHandTrackingCapsulesStateFB XrHandTrackingCapsulesStateFB; +typedef struct XrSceneSphereBoundMSFT XrSceneSphereBoundMSFT; +typedef struct XrView XrView; +typedef struct XrCompositionLayerDepthInfoKHR XrCompositionLayerDepthInfoKHR; +typedef struct XrExternalCameraOCULUS XrExternalCameraOCULUS; +typedef struct XrSceneBoundsMSFT XrSceneBoundsMSFT; +typedef struct XrControllerModelNodeStateMSFT XrControllerModelNodeStateMSFT; +typedef struct XrHandJointLocationsEXT XrHandJointLocationsEXT; +typedef struct XrSpatialAnchorSpaceCreateInfoMSFT XrSpatialAnchorSpaceCreateInfoMSFT; +typedef struct XrControllerModelStateMSFT XrControllerModelStateMSFT; +typedef struct XrNewSceneComputeInfoMSFT XrNewSceneComputeInfoMSFT; typedef XrBool32 (XRAPI_PTR * PFN_xrDebugUtilsMessengerCallbackEXT)( XrDebugUtilsMessageSeverityFlagsEXT messageSeverity, XrDebugUtilsMessageTypeFlagsEXT messageTypes, @@ -1202,6 +1590,12 @@ struct XrActiveActionSet XrPath subactionPath; }; +struct XrActiveActionSetPriorityEXT +{ + XrActionSet actionSet; + uint32_t priorityOverride; +}; + struct XrApplicationInfo { char applicationName[XR_MAX_APPLICATION_NAME_SIZE]; @@ -1217,13 +1611,6 @@ struct XrBaseOutStructure struct XrBaseOutStructure *next; }; -struct XrBoundSourcesForActionEnumerateInfo -{ - XrStructureType type; - const void *next; - XrAction action; -}; - struct XrCompositionLayerAlphaBlendFB { XrStructureType type; @@ -1234,12 +1621,12 @@ struct XrCompositionLayerAlphaBlendFB XrBlendFactorFB dstFactorAlpha; }; -struct XrCompositionLayerDepthTestVARJO +struct XrCompositionLayerDepthTestFB { XrStructureType type; const void *next; - float depthTestRangeNearZ; - float depthTestRangeFarZ; + XrBool32 depthMask; + XrCompareOpFB compareOp; }; struct XrCompositionLayerImageLayoutFB @@ -1270,67 +1657,78 @@ struct XrControllerModelKeyStateMSFT XrControllerModelKeyMSFT modelKey; }; -struct XrDebugUtilsLabelEXT -{ - XrStructureType type; - const void *next; - const char *labelName; -}; - struct XrDeserializeSceneFragmentMSFT { uint32_t bufferSize; const uint8_t *buffer; }; -struct XrEventDataBuffer +struct XrDevicePcmSampleRateStateFB +{ + XrStructureType type; + void *next; + float sampleRate; +}; + +struct XrEventDataBaseHeader { XrStructureType type; const void *next; - uint8_t varying[4000]; }; -struct XrEventDataEventsLost +struct XrEventDataDisplayRefreshRateChangedFB { XrStructureType type; const void *next; - uint32_t lostEventCount; + float fromDisplayRefreshRate; + float toDisplayRefreshRate; }; -struct XrEventDataInteractionProfileChanged +struct XrEventDataInstanceLossPending +{ + XrStructureType type; + const void *next; + XrTime lossTime; +}; + +struct XrEventDataMainSessionVisibilityChangedEXTX +{ + XrStructureType type; + const void *next; + XrBool32 visible; + XrOverlayMainSessionFlagsEXTX flags; +}; + +struct XrEventDataPassthroughStateChangedFB +{ + XrStructureType type; + const void *next; + XrPassthroughStateChangedFlagsFB flags; +}; + +struct XrEventDataSceneCaptureCompleteFB +{ + XrStructureType type; + const void *next; + XrAsyncRequestIdFB requestId; + XrResult result; +}; + +struct XrEventDataSpaceQueryCompleteFB +{ + XrStructureType type; + const void *next; + XrAsyncRequestIdFB requestId; + XrResult result; +}; + +struct XrEventDataVisibilityMaskChangedKHR { XrStructureType type; const void *next; XrSession session; -}; - -struct XrEventDataMarkerTrackingUpdateVARJO -{ - XrStructureType type; - const void *next; - uint64_t WINE_XR_ALIGN(8) markerId; - XrBool32 isActive; - XrBool32 isPredicted; - XrTime time; -}; - -struct XrEventDataPerfSettingsEXT -{ - XrStructureType type; - const void *next; - XrPerfSettingsDomainEXT domain; - XrPerfSettingsSubDomainEXT subDomain; - XrPerfSettingsNotificationLevelEXT fromLevel; - XrPerfSettingsNotificationLevelEXT toLevel; -}; - -struct XrEventDataSessionStateChanged -{ - XrStructureType type; - const void *next; - XrSession session; - XrSessionState state; - XrTime time; + XrViewConfigurationType viewConfigurationType; + uint32_t viewIndex; }; struct XrExtensionProperties @@ -1347,6 +1745,19 @@ struct XrExtent2Di int32_t height; }; +struct XrEyeGazeSampleTimeEXT +{ + XrStructureType type; + void *next; + XrTime time; +}; + +struct XrForceFeedbackCurlApplyLocationMNDX +{ + XrForceFeedbackCurlLocationMNDX location; + float value; +}; + struct XrFoveatedViewConfigurationViewVARJO { XrStructureType type; @@ -1354,35 +1765,80 @@ struct XrFoveatedViewConfigurationViewVARJO XrBool32 foveatedRenderingActive; }; -struct XrFoveationProfileCreateInfoFB +struct XrFoveationDynamicModeInfoHTC +{ + XrStructureType type; + const void *next; + XrFoveationDynamicFlagsHTC dynamicFlags; +}; + +struct XrFoveationLevelProfileCreateInfoFB { XrStructureType type; void *next; + XrFoveationLevelFB level; + float verticalOffset; + XrFoveationDynamicFB dynamic; }; -struct XrFrameBeginInfo +struct XrFovf +{ + float angleLeft; + float angleRight; + float angleUp; + float angleDown; +}; + +struct XrFrameEndInfoML +{ + XrStructureType type; + const void *next; + float focusDistance; + XrFrameEndInfoFlagsML flags; +}; + +struct XrFrameWaitInfo { XrStructureType type; const void *next; }; -struct XrFrameState -{ - XrStructureType type; - void *next; - XrTime predictedDisplayTime; - XrDuration predictedDisplayPeriod; - XrBool32 shouldRender; -}; - -struct XrGraphicsBindingD3D11KHR +struct XrGlobalDimmerFrameEndInfoML { XrStructureType type; const void *next; - ID3D11Device *device; + float dimmerValue; + XrGlobalDimmerFrameEndInfoFlagsML flags; }; -struct XrGraphicsRequirementsD3D11KHR +struct XrGraphicsBindingD3D12KHR +{ + XrStructureType type; + const void *next; + ID3D12Device *device; + ID3D12CommandQueue *queue; +}; + +struct XrGraphicsBindingOpenGLWin32KHR +{ + XrStructureType type; + const void *next; + HDC hDC; + HGLRC hGLRC; +}; + +struct XrGraphicsBindingVulkanKHR +{ + XrStructureType type; + const void *next; + VkInstance instance; + VkPhysicalDevice physicalDevice; + VkDevice device; + uint32_t queueFamilyIndex; + uint32_t queueIndex; +}; + +struct XrGraphicsRequirementsD3D12KHR { XrStructureType type; void *next; @@ -1390,6 +1846,22 @@ struct XrGraphicsRequirementsD3D11KHR D3D_FEATURE_LEVEL minFeatureLevel; }; +struct XrGraphicsRequirementsOpenGLKHR +{ + XrStructureType type; + void *next; + XrVersion minApiVersionSupported; + XrVersion maxApiVersionSupported; +}; + +struct XrGraphicsRequirementsVulkanKHR +{ + XrStructureType type; + void *next; + XrVersion minApiVersionSupported; + XrVersion maxApiVersionSupported; +}; + struct XrHandJointsLocateInfoEXT { XrStructureType type; @@ -1406,21 +1878,6 @@ struct XrHandMeshIndexBufferMSFT uint32_t *indices; }; -struct XrHandMeshUpdateInfoMSFT -{ - XrStructureType type; - const void *next; - XrTime time; - XrHandPoseTypeMSFT handPoseType; -}; - -struct XrHandPoseTypeInfoMSFT -{ - XrStructureType type; - const void *next; - XrHandPoseTypeMSFT handPoseType; -}; - struct XrHandTrackingScaleFB { XrStructureType type; @@ -1431,10 +1888,24 @@ struct XrHandTrackingScaleFB float overrideValueInput; }; -struct XrHapticBaseHeader +struct XrHapticAmplitudeEnvelopeVibrationFB { XrStructureType type; const void *next; + XrDuration duration; + uint32_t amplitudeCount; + const float *amplitudes; +}; + +struct XrHapticPcmVibrationFB +{ + XrStructureType type; + const void *next; + uint32_t bufferSize; + const float *buffer; + float sampleRate; + XrBool32 append; + uint32_t *samplesConsumed; }; struct XrHolographicWindowAttachmentMSFT @@ -1478,11 +1949,18 @@ struct XrOffset2Df float y; }; -struct XrPassthroughColorMapMonoToMonoFB +struct XrOffset3DfFB +{ + float x; + float y; + float z; +}; + +struct XrPassthroughColorHTC { XrStructureType type; const void *next; - uint8_t textureColorMap[XR_PASSTHROUGH_COLOR_MAP_MONO_SIZE_FB]; + float alpha; }; struct XrPassthroughCreateInfoFB @@ -1492,6 +1970,24 @@ struct XrPassthroughCreateInfoFB XrPassthroughFlagsFB flags; }; +struct XrPassthroughKeyboardHandsIntensityFB +{ + XrStructureType type; + const void *next; + float leftHandIntensity; + float rightHandIntensity; +}; + +struct XrPerformanceMetricsCounterMETA +{ + XrStructureType type; + const void *next; + XrPerformanceMetricsCounterFlagsMETA counterFlags; + XrPerformanceMetricsCounterUnitMETA counterUnit; + uint32_t uintValue; + float floatValue; +}; + struct XrQuaternionf { float x; @@ -1500,6 +1996,41 @@ struct XrQuaternionf float w; }; +struct XrRenderModelBufferFB +{ + XrStructureType type; + void *next; + uint32_t bufferCapacityInput; + uint32_t bufferCountOutput; + uint8_t *buffer; +}; + +struct XrRenderModelLoadInfoFB +{ + XrStructureType type; + void *next; + XrRenderModelKeyFB modelKey; +}; + +struct XrRenderModelPropertiesFB +{ + XrStructureType type; + void *next; + uint32_t vendorId; + char modelName[XR_MAX_RENDER_MODEL_NAME_SIZE_FB]; + XrRenderModelKeyFB modelKey; + uint32_t modelVersion; + XrRenderModelFlagsFB flags; +}; + +struct XrSceneCaptureRequestInfoFB +{ + XrStructureType type; + const void *next; + uint32_t requestByteCount; + const char *request; +}; + struct XrSceneComponentsGetInfoMSFT { XrStructureType type; @@ -1596,6 +2127,35 @@ struct XrSessionCreateInfo XrSystemId systemId; }; +struct XrSpaceComponentFilterInfoFB +{ + XrStructureType type; + const void *next; + XrSpaceComponentTypeFB componentType; +}; + +struct XrSpaceListSaveInfoFB +{ + XrStructureType type; + const void *next; + uint32_t spaceCount; + XrSpace *spaces; + XrSpaceStorageLocationFB location; +}; + +struct XrSpaceQueryInfoBaseHeaderFB +{ + XrStructureType type; + const void *next; +}; + +struct XrSpaceStorageLocationFilterInfoFB +{ + XrStructureType type; + const void *next; + XrSpaceStorageLocationFB location; +}; + struct XrSpatialAnchorPersistenceNameMSFT { char name[XR_MAX_SPATIAL_ANCHOR_NAME_SIZE_MSFT]; @@ -1660,18 +2220,25 @@ struct XrSwapchainStateFoveationFB XrFoveationProfileFB profile; }; -struct XrSystemColorSpacePropertiesFB +struct XrSystemEyeGazeInteractionPropertiesEXT { XrStructureType type; void *next; - XrColorSpaceFB colorSpace; + XrBool32 supportsEyeGazeInteraction; }; -struct XrSystemFoveatedRenderingPropertiesVARJO +struct XrSystemForceFeedbackCurlPropertiesMNDX { XrStructureType type; void *next; - XrBool32 supportsFoveatedRendering; + XrBool32 supportsForceFeedbackCurl; +}; + +struct XrSystemFoveationEyeTrackedPropertiesMETA +{ + XrStructureType type; + void *next; + XrBool32 supportsFoveationEyeTracked; }; struct XrSystemGraphicsProperties @@ -1688,39 +2255,37 @@ struct XrSystemHandTrackingPropertiesEXT XrBool32 supportsHandTracking; }; -struct XrSystemPassthroughPropertiesFB +struct XrSystemPassthroughProperties2FB { XrStructureType type; const void *next; - XrBool32 supportsPassthrough; + XrPassthroughCapabilityFlagsFB capabilities; }; -struct XrSystemSpaceWarpPropertiesFB +struct XrSystemRenderModelPropertiesFB { XrStructureType type; void *next; - uint32_t recommendedMotionVectorImageRectWidth; - uint32_t recommendedMotionVectorImageRectHeight; + XrBool32 supportsRenderModelLoading; }; -struct XrUuidMSFT +struct XrUuidEXT { - uint8_t bytes[16]; + uint8_t data[XR_UUID_SIZE_EXT]; }; -struct XrVector3f +struct XrVector2f +{ + float x; + float y; +}; + +struct XrVector4f { float x; float y; float z; -}; - -struct XrVector4sFB -{ - int16_t x; - int16_t y; - int16_t z; - int16_t w; + float w; }; struct XrViewConfigurationDepthRangeEXT @@ -1789,6 +2354,14 @@ struct XrVulkanInstanceCreateInfoKHR const VkAllocationCallbacks *vulkanAllocator; }; +struct XrVulkanSwapchainFormatListCreateInfoKHR +{ + XrStructureType type; + const void *next; + uint32_t viewFormatCount; + const VkFormat *viewFormats; +}; + struct XrActionSetCreateInfo { XrStructureType type; @@ -1808,12 +2381,22 @@ struct XrActionStateFloat XrBool32 isActive; }; -struct XrActionsSyncInfo +struct XrActionStateVector2f +{ + XrStructureType type; + void *next; + XrVector2f currentState; + XrBool32 changedSinceLastSync; + XrTime lastChangeTime; + XrBool32 isActive; +}; + +struct XrActiveActionSetPrioritiesEXT { XrStructureType type; const void *next; - uint32_t countActiveActionSets; - const XrActiveActionSet *activeActionSets; + uint32_t actionSetPriorityCount; + const XrActiveActionSetPriorityEXT *actionSetPriorities; }; struct XrBaseInStructure @@ -1822,20 +2405,39 @@ struct XrBaseInStructure const struct XrBaseInStructure *next; }; -struct XrColor4f -{ - float r; - float g; - float b; - float a; -}; - -struct XrCompositionLayerColorScaleBiasKHR +struct XrBoundSourcesForActionEnumerateInfo { XrStructureType type; const void *next; - XrColor4f colorScale; - XrColor4f colorBias; + XrAction action; +}; + +struct XrCompositionLayerBaseHeader +{ + XrStructureType type; + const void *next; + XrCompositionLayerFlags layerFlags; + XrSpace space; +}; + +struct XrCompositionLayerCubeKHR +{ + XrStructureType type; + const void *next; + XrCompositionLayerFlags layerFlags; + XrSpace space; + XrEyeVisibility eyeVisibility; + XrSwapchain swapchain; + uint32_t imageArrayIndex; + XrQuaternionf orientation; +}; + +struct XrCompositionLayerDepthTestVARJO +{ + XrStructureType type; + const void *next; + float depthTestRangeNearZ; + float depthTestRangeFarZ; }; struct XrCompositionLayerPassthroughFB @@ -1847,13 +2449,11 @@ struct XrCompositionLayerPassthroughFB XrPassthroughLayerFB layerHandle; }; -struct XrCompositionLayerReprojectionPlaneOverrideMSFT +struct XrCompositionLayerSettingsFB { XrStructureType type; const void *next; - XrVector3f position; - XrVector3f normal; - XrVector3f velocity; + XrCompositionLayerSettingsFlagsFB layerFlags; }; struct XrControllerModelNodePropertiesMSFT @@ -1873,6 +2473,13 @@ struct XrControllerModelPropertiesMSFT XrControllerModelNodePropertiesMSFT *nodeProperties; }; +struct XrDebugUtilsLabelEXT +{ + XrStructureType type; + const void *next; + const char *labelName; +}; + struct XrDebugUtilsObjectNameInfoEXT { XrStructureType type; @@ -1882,29 +2489,34 @@ struct XrDebugUtilsObjectNameInfoEXT const char *objectName; }; -struct XrEventDataDisplayRefreshRateChangedFB +struct XrDigitalLensControlALMALENCE { XrStructureType type; const void *next; - float fromDisplayRefreshRate; - float toDisplayRefreshRate; + XrDigitalLensControlFlagsALMALENCE flags; }; -struct XrEventDataMainSessionVisibilityChangedEXTX +struct XrEventDataEventsLost { XrStructureType type; const void *next; - XrBool32 visible; - XrOverlayMainSessionFlagsEXTX flags; + uint32_t lostEventCount; }; -struct XrEventDataVisibilityMaskChangedKHR +struct XrEventDataSessionStateChanged { XrStructureType type; const void *next; XrSession session; - XrViewConfigurationType viewConfigurationType; - uint32_t viewIndex; + XrSessionState state; + XrTime time; +}; + +struct XrEventDataSpaceQueryResultsAvailableFB +{ + XrStructureType type; + const void *next; + XrAsyncRequestIdFB requestId; }; struct XrExtent2Df @@ -1913,73 +2525,71 @@ struct XrExtent2Df float height; }; -struct XrFoveationLevelProfileCreateInfoFB +struct XrExternalCameraIntrinsicsOCULUS { - XrStructureType type; - void *next; - XrFoveationLevelFB level; - float verticalOffset; - XrFoveationDynamicFB dynamic; + XrTime lastChangeTime; + XrFovf fov; + float virtualNearPlaneDistance; + float virtualFarPlaneDistance; + XrExtent2Di imageSensorPixelResolution; }; -struct XrFrameWaitInfo +struct XrFaceExpressionStatusFB +{ + XrBool32 isValid; + XrBool32 isEyeFollowingBlendshapesValid; +}; + +struct XrFoveationConfigurationHTC +{ + XrFoveationLevelHTC level; + float clearFovDegree; + XrVector2f focalCenterOffset; +}; + +struct XrFoveationEyeTrackedProfileCreateInfoMETA { XrStructureType type; const void *next; + XrFoveationEyeTrackedProfileCreateFlagsMETA flags; }; -struct XrGraphicsBindingD3D12KHR -{ - XrStructureType type; - const void *next; - ID3D12Device *device; - ID3D12CommandQueue *queue; -}; - -struct XrGraphicsBindingVulkanKHR -{ - XrStructureType type; - const void *next; - VkInstance instance; - VkPhysicalDevice physicalDevice; - VkDevice device; - uint32_t queueFamilyIndex; - uint32_t queueIndex; -}; - -struct XrGraphicsRequirementsOpenGLKHR +struct XrFoveationProfileCreateInfoFB { XrStructureType type; void *next; - XrVersion minApiVersionSupported; - XrVersion maxApiVersionSupported; }; -struct XrHandCapsuleFB -{ - XrVector3f points[XR_FB_HAND_TRACKING_CAPSULE_POINT_COUNT]; - float radius; - XrHandJointEXT joint; -}; - -struct XrHandJointVelocityEXT -{ - XrSpaceVelocityFlags velocityFlags; - XrVector3f linearVelocity; - XrVector3f angularVelocity; -}; - -struct XrHandMeshVertexMSFT -{ - XrVector3f position; - XrVector3f normal; -}; - -struct XrHandTrackingCapsulesStateFB +struct XrFrameEndInfo { XrStructureType type; - void *next; - XrHandCapsuleFB capsules[XR_FB_HAND_TRACKING_CAPSULE_COUNT]; + const void *next; + XrTime displayTime; + XrEnvironmentBlendMode environmentBlendMode; + uint32_t layerCount; + const XrCompositionLayerBaseHeader * const*layers; +}; + +struct XrGraphicsBindingD3D11KHR +{ + XrStructureType type; + const void *next; + ID3D11Device *device; +}; + +struct XrHandJointsMotionRangeInfoEXT +{ + XrStructureType type; + const void *next; + XrHandJointsMotionRangeEXT handJointsMotionRange; +}; + +struct XrHandTrackerCreateInfoEXT +{ + XrStructureType type; + const void *next; + XrHandEXT hand; + XrHandJointSetEXT handJointSet; }; struct XrHapticActionInfo @@ -1990,24 +2600,22 @@ struct XrHapticActionInfo XrPath subactionPath; }; -struct XrInputSourceLocalizedNameGetInfo +struct XrHapticVibration { XrStructureType type; const void *next; - XrPath sourcePath; - XrInputSourceLocalizedNameFlags whichComponents; + XrDuration duration; + float frequency; + float amplitude; }; -struct XrInteractionProfileAnalogThresholdVALVE +struct XrInteractionProfileSuggestedBinding { XrStructureType type; const void *next; - XrAction action; - XrPath binding; - float onThreshold; - float offThreshold; - const XrHapticBaseHeader *onHaptic; - const XrHapticBaseHeader *offHaptic; + XrPath interactionProfile; + uint32_t countSuggestedBindings; + const XrActionSuggestedBinding *suggestedBindings; }; struct XrOffset2Di @@ -2016,49 +2624,31 @@ struct XrOffset2Di int32_t y; }; -struct XrPassthroughLayerCreateInfoFB +struct XrPassthroughColorMapMonoToMonoFB { XrStructureType type; const void *next; - XrPassthroughFB passthrough; - XrPassthroughFlagsFB flags; - XrPassthroughLayerPurposeFB purpose; + uint8_t textureColorMap[XR_PASSTHROUGH_COLOR_MAP_MONO_SIZE_FB]; }; -struct XrPosef -{ - XrQuaternionf orientation; - XrVector3f position; -}; - -struct XrRect2Di -{ - XrOffset2Di offset; - XrExtent2Di extent; -}; - -struct XrSceneComponentLocationMSFT -{ - XrSpaceLocationFlags flags; - XrPosef pose; -}; - -struct XrSceneComponentMSFT -{ - XrSceneComponentTypeMSFT componentType; - XrUuidMSFT id; - XrUuidMSFT parentId; - XrTime updateTime; -}; - -struct XrSceneComponentsLocateInfoMSFT +struct XrPerformanceMetricsStateMETA { XrStructureType type; const void *next; - XrSpace baseSpace; - XrTime time; - uint32_t componentIdCount; - const XrUuidMSFT *componentIds; + XrBool32 enabled; +}; + +struct XrRect2Df +{ + XrOffset2Df offset; + XrExtent2Df extent; +}; + +struct XrRenderModelCapabilitiesRequestFB +{ + XrStructureType type; + void *next; + XrRenderModelFlagsFB flags; }; struct XrSceneDeserializeInfoMSFT @@ -2075,33 +2665,27 @@ struct XrSceneMeshBuffersMSFT void *next; }; -struct XrSceneMeshVertexBufferMSFT +struct XrSceneObjectMSFT +{ + XrSceneObjectTypeMSFT objectType; +}; + +struct XrScenePlaneMSFT +{ + XrScenePlaneAlignmentTypeMSFT alignment; + XrExtent2Df size; + uint64_t WINE_XR_ALIGN(8) meshBufferId; + XrBool32 supportsIndicesUint16; +}; + +struct XrSecondaryViewConfigurationLayerInfoMSFT { XrStructureType type; - void *next; - uint32_t vertexCapacityInput; - uint32_t vertexCountOutput; - XrVector3f *vertices; -}; - -struct XrSceneOrientedBoxBoundMSFT -{ - XrPosef pose; - XrVector3f extents; -}; - -struct XrSceneSphereBoundMSFT -{ - XrVector3f center; - float radius; -}; - -struct XrSecondaryViewConfigurationStateMSFT -{ - XrStructureType type; - void *next; + const void *next; XrViewConfigurationType viewConfigurationType; - XrBool32 active; + XrEnvironmentBlendMode environmentBlendMode; + uint32_t layerCount; + const XrCompositionLayerBaseHeader * const*layers; }; struct XrSessionBeginInfo @@ -2111,96 +2695,112 @@ struct XrSessionBeginInfo XrViewConfigurationType primaryViewConfigurationType; }; -struct XrSpaceLocation -{ - XrStructureType type; - void *next; - XrSpaceLocationFlags locationFlags; - XrPosef pose; -}; - -struct XrSpatialAnchorCreateInfoMSFT +struct XrSpaceFilterInfoBaseHeaderFB { XrStructureType type; const void *next; - XrSpace space; - XrPosef pose; - XrTime time; }; -struct XrSpatialAnchorPersistenceInfoMSFT +struct XrSpaceQueryInfoFB { XrStructureType type; const void *next; + XrSpaceQueryActionFB queryAction; + uint32_t maxResultCount; + XrDuration timeout; + const XrSpaceFilterInfoBaseHeaderFB *filter; + const XrSpaceFilterInfoBaseHeaderFB *excludeFilter; +}; + +struct XrSpaceUuidFilterInfoFB +{ + XrStructureType type; + const void *next; + uint32_t uuidCount; + XrUuidEXT *uuids; +}; + +struct XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT +{ + XrStructureType type; + const void *next; + XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore; XrSpatialAnchorPersistenceNameMSFT spatialAnchorPersistenceName; - XrSpatialAnchorMSFT spatialAnchor; }; -struct XrSpatialGraphNodeSpaceCreateInfoMSFT +struct XrSwapchainCreateInfoFoveationFB +{ + XrStructureType type; + void *next; + XrSwapchainCreateFoveationFlagsFB flags; +}; + +struct XrSwapchainImageD3D12KHR +{ + XrStructureType type; + void *next; + ID3D12Resource *texture; +}; + +struct XrSwapchainImageReleaseInfo { XrStructureType type; const void *next; - XrSpatialGraphNodeTypeMSFT nodeType; - uint8_t nodeId[16]; - XrPosef pose; }; -struct XrSwapchainImageBaseHeader +struct XrSwapchainStateBaseHeaderFB { XrStructureType type; void *next; }; -struct XrSwapchainImageVulkanKHR +struct XrSystemColorSpacePropertiesFB { XrStructureType type; void *next; - VkImage image; + XrColorSpaceFB colorSpace; }; -struct XrSwapchainStateSamplerVulkanFB +struct XrSystemGetInfo +{ + XrStructureType type; + const void *next; + XrFormFactor formFactor; +}; + +struct XrSystemHeadsetIdPropertiesMETA { XrStructureType type; void *next; - VkFilter minFilter; - VkFilter magFilter; - VkSamplerMipmapMode mipmapMode; - VkSamplerAddressMode wrapModeS; - VkSamplerAddressMode wrapModeT; - VkComponentSwizzle swizzleRed; - VkComponentSwizzle swizzleGreen; - VkComponentSwizzle swizzleBlue; - VkComponentSwizzle swizzleAlpha; - float maxAnisotropy; - XrColor4f borderColor; + XrUuidEXT id; }; -struct XrSystemEyeGazeInteractionPropertiesEXT +struct XrSystemPassthroughPropertiesFB +{ + XrStructureType type; + const void *next; + XrBool32 supportsPassthrough; +}; + +struct XrSystemSpaceWarpPropertiesFB { XrStructureType type; void *next; - XrBool32 supportsEyeGazeInteraction; + uint32_t recommendedMotionVectorImageRectWidth; + uint32_t recommendedMotionVectorImageRectHeight; }; -struct XrSystemHandTrackingMeshPropertiesMSFT +struct XrUuidMSFT { - XrStructureType type; - void *next; - XrBool32 supportsHandTrackingMesh; - uint32_t maxHandMeshIndexCount; - uint32_t maxHandMeshVertexCount; + uint8_t bytes[16]; }; -struct XrSystemTrackingProperties +struct XrVector4sFB { - XrBool32 orientationTracking; - XrBool32 positionTracking; -}; - -struct XrVector2f -{ - float x; - float y; + int16_t x; + int16_t y; + int16_t z; + int16_t w; }; struct XrViewConfigurationProperties @@ -2228,52 +2828,37 @@ struct XrViveTrackerPathsHTCX XrPath rolePath; }; -struct XrVulkanSwapchainFormatListCreateInfoKHR +struct XrVulkanSwapchainCreateInfoMETA { XrStructureType type; const void *next; - uint32_t viewFormatCount; - const VkFormat *viewFormats; + VkImageCreateFlags additionalCreateFlags; + VkImageUsageFlags additionalUsageFlags; }; -struct XrActionSpaceCreateInfo -{ - XrStructureType type; - const void *next; - XrAction action; - XrPath subactionPath; - XrPosef poseInActionSpace; -}; - -struct XrActionStateVector2f +struct XrActionStatePose { XrStructureType type; void *next; - XrVector2f currentState; - XrBool32 changedSinceLastSync; - XrTime lastChangeTime; XrBool32 isActive; }; -struct XrBindingModificationBaseHeaderKHR -{ - XrStructureType type; - const void *next; -}; - -struct XrCompositionLayerBaseHeader -{ - XrStructureType type; - const void *next; - XrCompositionLayerFlags layerFlags; - XrSpace space; -}; - -struct XrControllerModelNodeStateMSFT +struct XrApiLayerProperties { XrStructureType type; void *next; - XrPosef nodePose; + char layerName[XR_MAX_API_LAYER_NAME_SIZE]; + XrVersion specVersion; + uint32_t layerVersion; + char description[XR_MAX_API_LAYER_DESCRIPTION_SIZE]; +}; + +struct XrColor4f +{ + float r; + float g; + float b; + float a; }; struct XrDebugUtilsMessengerCallbackDataEXT @@ -2289,136 +2874,125 @@ struct XrDebugUtilsMessengerCallbackDataEXT XrDebugUtilsLabelEXT *sessionLabels; }; -struct XrEventDataInstanceLossPending +struct XrEventDataBuffer { XrStructureType type; const void *next; - XrTime lossTime; + uint8_t varying[4000]; }; -struct XrEventDataReferenceSpaceChangePending +struct XrEventDataPerfSettingsEXT { XrStructureType type; const void *next; - XrSession session; - XrReferenceSpaceType referenceSpaceType; - XrTime changeTime; - XrBool32 poseValid; - XrPosef poseInPreviousSpace; + XrPerfSettingsDomainEXT domain; + XrPerfSettingsSubDomainEXT subDomain; + XrPerfSettingsNotificationLevelEXT fromLevel; + XrPerfSettingsNotificationLevelEXT toLevel; }; -struct XrEyeGazeSampleTimeEXT +struct XrEventDataSpaceListSaveCompleteFB +{ + XrStructureType type; + const void *next; + XrAsyncRequestIdFB requestId; + XrResult result; +}; + +struct XrEventDataViveTrackerConnectedHTCX +{ + XrStructureType type; + const void *next; + XrViveTrackerPathsHTCX *paths; +}; + +struct XrForceFeedbackCurlApplyLocationsMNDX +{ + XrStructureType type; + const void *next; + uint32_t locationCount; + XrForceFeedbackCurlApplyLocationMNDX *locations; +}; + +struct XrFoveationCustomModeInfoHTC +{ + XrStructureType type; + const void *next; + uint32_t configCount; + const XrFoveationConfigurationHTC *configs; +}; + +struct XrFrameBeginInfo +{ + XrStructureType type; + const void *next; +}; + +struct XrHapticBaseHeader +{ + XrStructureType type; + const void *next; +}; + +struct XrInteractionProfileAnalogThresholdVALVE +{ + XrStructureType type; + const void *next; + XrAction action; + XrPath binding; + float onThreshold; + float offThreshold; + const XrHapticBaseHeader *onHaptic; + const XrHapticBaseHeader *offHaptic; +}; + +struct XrPassthroughBrightnessContrastSaturationFB +{ + XrStructureType type; + const void *next; + float brightness; + float contrast; + float saturation; +}; + +struct XrPassthroughLayerCreateInfoFB +{ + XrStructureType type; + const void *next; + XrPassthroughFB passthrough; + XrPassthroughFlagsFB flags; + XrPassthroughLayerPurposeFB purpose; +}; + +struct XrRect2Di +{ + XrOffset2Di offset; + XrExtent2Di extent; +}; + +struct XrRenderModelPathInfoFB { XrStructureType type; void *next; - XrTime time; + XrPath path; }; -struct XrFrameEndInfo +struct XrSceneComponentMSFT { - XrStructureType type; - const void *next; - XrTime displayTime; - XrEnvironmentBlendMode environmentBlendMode; - uint32_t layerCount; - const XrCompositionLayerBaseHeader * const*layers; + XrSceneComponentTypeMSFT componentType; + XrUuidMSFT id; + XrUuidMSFT parentId; + XrTime updateTime; }; -struct XrGeometryInstanceTransformFB +struct XrSceneComponentsLocateInfoMSFT { XrStructureType type; const void *next; XrSpace baseSpace; XrTime time; - XrPosef pose; - XrVector3f scale; -}; - -struct XrGraphicsRequirementsD3D12KHR -{ - XrStructureType type; - void *next; - LUID adapterLuid; - D3D_FEATURE_LEVEL minFeatureLevel; -}; - -struct XrHandJointLocationEXT -{ - XrSpaceLocationFlags locationFlags; - XrPosef pose; - float radius; -}; - -struct XrHandJointVelocitiesEXT -{ - XrStructureType type; - void *next; - uint32_t jointCount; - XrHandJointVelocityEXT *jointVelocities; -}; - -struct XrHandMeshSpaceCreateInfoMSFT -{ - XrStructureType type; - const void *next; - XrHandPoseTypeMSFT handPoseType; - XrPosef poseInHandMeshSpace; -}; - -struct XrHandTrackerCreateInfoEXT -{ - XrStructureType type; - const void *next; - XrHandEXT hand; - XrHandJointSetEXT handJointSet; -}; - -struct XrHapticVibration -{ - XrStructureType type; - const void *next; - XrDuration duration; - float frequency; - float amplitude; -}; - -struct XrInteractionProfileSuggestedBinding -{ - XrStructureType type; - const void *next; - XrPath interactionProfile; - uint32_t countSuggestedBindings; - const XrActionSuggestedBinding *suggestedBindings; -}; - -struct XrPassthroughColorMapMonoToRgbaFB -{ - XrStructureType type; - const void *next; - XrColor4f textureColorMap[XR_PASSTHROUGH_COLOR_MAP_MONO_SIZE_FB]; -}; - -struct XrRect2Df -{ - XrOffset2Df offset; - XrExtent2Df extent; -}; - -struct XrSceneComponentLocationsMSFT -{ - XrStructureType type; - void *next; - uint32_t locationCount; - XrSceneComponentLocationMSFT *locations; -}; - -struct XrSceneComponentsMSFT -{ - XrStructureType type; - void *next; - uint32_t componentCapacityInput; - uint32_t componentCountOutput; - XrSceneComponentMSFT *components; + uint32_t componentIdCount; + const XrUuidMSFT *componentIds; }; struct XrSceneMeshIndicesUint32MSFT @@ -2430,208 +3004,12 @@ struct XrSceneMeshIndicesUint32MSFT uint32_t *indices; }; -struct XrScenePlaneMSFT -{ - XrScenePlaneAlignmentTypeMSFT alignment; - XrExtent2Df size; - uint64_t WINE_XR_ALIGN(8) meshBufferId; - XrBool32 supportsIndicesUint16; -}; - -struct XrSecondaryViewConfigurationFrameStateMSFT +struct XrSceneObjectsMSFT { XrStructureType type; void *next; - uint32_t viewConfigurationCount; - XrSecondaryViewConfigurationStateMSFT *viewConfigurationStates; -}; - -struct XrSerializedSceneFragmentDataGetInfoMSFT -{ - XrStructureType type; - const void *next; - XrUuidMSFT sceneFragmentId; -}; - -struct XrSpaceVelocity -{ - XrStructureType type; - void *next; - XrSpaceVelocityFlags velocityFlags; - XrVector3f linearVelocity; - XrVector3f angularVelocity; -}; - -struct XrSpatialAnchorSpaceCreateInfoMSFT -{ - XrStructureType type; - const void *next; - XrSpatialAnchorMSFT anchor; - XrPosef poseInAnchorSpace; -}; - -struct XrSwapchainImageD3D12KHR -{ - XrStructureType type; - void *next; - ID3D12Resource *texture; -}; - -struct XrSwapchainStateBaseHeaderFB -{ - XrStructureType type; - void *next; -}; - -struct XrSystemGetInfo -{ - XrStructureType type; - const void *next; - XrFormFactor formFactor; -}; - -struct XrSystemProperties -{ - XrStructureType type; - void *next; - XrSystemId systemId; - uint32_t vendorId; - char systemName[XR_MAX_SYSTEM_NAME_SIZE]; - XrSystemGraphicsProperties graphicsProperties; - XrSystemTrackingProperties trackingProperties; -}; - -struct XrVector4f -{ - float x; - float y; - float z; - float w; -}; - -struct XrVisibilityMaskKHR -{ - XrStructureType type; - void *next; - uint32_t vertexCapacityInput; - uint32_t vertexCountOutput; - XrVector2f *vertices; - uint32_t indexCapacityInput; - uint32_t indexCountOutput; - uint32_t *indices; -}; - -struct XrActionStatePose -{ - XrStructureType type; - void *next; - XrBool32 isActive; -}; - -struct XrBindingModificationsKHR -{ - XrStructureType type; - const void *next; - uint32_t bindingModificationCount; - const XrBindingModificationBaseHeaderKHR * const*bindingModifications; -}; - -struct XrControllerModelStateMSFT -{ - XrStructureType type; - void *next; - uint32_t nodeCapacityInput; - uint32_t nodeCountOutput; - XrControllerModelNodeStateMSFT *nodeStates; -}; - -struct XrEventDataPassthroughStateChangedFB -{ - XrStructureType type; - const void *next; - XrPassthroughStateChangedFlagsFB flags; -}; - -struct XrFovf -{ - float angleLeft; - float angleRight; - float angleUp; - float angleDown; -}; - -struct XrGraphicsBindingOpenGLWin32KHR -{ - XrStructureType type; - const void *next; - HDC hDC; - HGLRC hGLRC; -}; - -struct XrHandJointLocationsEXT -{ - XrStructureType type; - void *next; - XrBool32 isActive; - uint32_t jointCount; - XrHandJointLocationEXT *jointLocations; -}; - -struct XrHandMeshVertexBufferMSFT -{ - XrTime vertexUpdateTime; - uint32_t vertexCapacityInput; - uint32_t vertexCountOutput; - XrHandMeshVertexMSFT *vertices; -}; - -struct XrHandTrackingMeshFB -{ - XrStructureType type; - void *next; - uint32_t jointCapacityInput; - uint32_t jointCountOutput; - XrPosef *jointBindPoses; - float *jointRadii; - XrHandJointEXT *jointParents; - uint32_t vertexCapacityInput; - uint32_t vertexCountOutput; - XrVector3f *vertexPositions; - XrVector3f *vertexNormals; - XrVector2f *vertexUVs; - XrVector4sFB *vertexBlendIndices; - XrVector4f *vertexBlendWeights; - uint32_t indexCapacityInput; - uint32_t indexCountOutput; - int16_t *indices; -}; - -struct XrMarkerSpaceCreateInfoVARJO -{ - XrStructureType type; - const void *next; - uint64_t WINE_XR_ALIGN(8) markerId; - XrPosef poseInMarkerSpace; -}; - -struct XrPassthroughStyleFB -{ - XrStructureType type; - const void *next; - float textureOpacityFactor; - XrColor4f edgeColor; -}; - -struct XrSceneComponentParentFilterInfoMSFT -{ - XrStructureType type; - const void *next; - XrUuidMSFT parentId; -}; - -struct XrSceneObjectMSFT -{ - XrSceneObjectTypeMSFT objectType; + uint32_t sceneObjectCount; + XrSceneObjectMSFT *sceneObjects; }; struct XrScenePlanesMSFT @@ -2642,43 +3020,80 @@ struct XrScenePlanesMSFT XrScenePlaneMSFT *scenePlanes; }; -struct XrSecondaryViewConfigurationLayerInfoMSFT +struct XrSecondaryViewConfigurationFrameEndInfoMSFT { XrStructureType type; const void *next; + uint32_t viewConfigurationCount; + const XrSecondaryViewConfigurationLayerInfoMSFT *viewConfigurationLayersInfo; +}; + +struct XrSecondaryViewConfigurationStateMSFT +{ + XrStructureType type; + void *next; XrViewConfigurationType viewConfigurationType; - XrEnvironmentBlendMode environmentBlendMode; - uint32_t layerCount; - const XrCompositionLayerBaseHeader * const*layers; + XrBool32 active; }; -struct XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT +struct XrSessionCreateInfoOverlayEXTX +{ + XrStructureType type; + const void *next; + XrOverlaySessionCreateFlagsEXTX createFlags; + uint32_t sessionLayersPlacement; +}; + +struct XrSpaceQueryResultFB +{ + XrSpace space; + XrUuidEXT uuid; +}; + +struct XrSpatialAnchorPersistenceInfoMSFT { XrStructureType type; const void *next; - XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore; XrSpatialAnchorPersistenceNameMSFT spatialAnchorPersistenceName; + XrSpatialAnchorMSFT spatialAnchor; }; -struct XrSwapchainImageReleaseInfo +struct XrSwapchainStateSamplerVulkanFB +{ + XrStructureType type; + void *next; + VkFilter minFilter; + VkFilter magFilter; + VkSamplerMipmapMode mipmapMode; + VkSamplerAddressMode wrapModeS; + VkSamplerAddressMode wrapModeT; + VkComponentSwizzle swizzleRed; + VkComponentSwizzle swizzleGreen; + VkComponentSwizzle swizzleBlue; + VkComponentSwizzle swizzleAlpha; + float maxAnisotropy; + XrColor4f borderColor; +}; + +struct XrSystemTrackingProperties +{ + XrBool32 orientationTracking; + XrBool32 positionTracking; +}; + +struct XrVector3f +{ + float x; + float y; + float z; +}; + +struct XrViewConfigurationViewFovEPIC { XrStructureType type; const void *next; -}; - -struct XrSystemMarkerTrackingPropertiesVARJO -{ - XrStructureType type; - void *next; - XrBool32 supportsMarkerTracking; -}; - -struct XrView -{ - XrStructureType type; - void *next; - XrPosef pose; - XrFovf fov; + XrFovf recommendedFov; + XrFovf maxMutableFov; }; struct XrVulkanGraphicsDeviceGetInfoKHR @@ -2689,58 +3104,99 @@ struct XrVulkanGraphicsDeviceGetInfoKHR VkInstance vulkanInstance; }; -struct XrApiLayerProperties +struct XrActionsSyncInfo +{ + XrStructureType type; + const void *next; + uint32_t countActiveActionSets; + const XrActiveActionSet *activeActionSets; +}; + +struct XrCompositionLayerColorScaleBiasKHR +{ + XrStructureType type; + const void *next; + XrColor4f colorScale; + XrColor4f colorBias; +}; + +struct XrCompositionLayerReprojectionPlaneOverrideMSFT +{ + XrStructureType type; + const void *next; + XrVector3f position; + XrVector3f normal; + XrVector3f velocity; +}; + +struct XrFoveationEyeTrackedStateMETA { XrStructureType type; void *next; - char layerName[XR_MAX_API_LAYER_NAME_SIZE]; - XrVersion specVersion; - uint32_t layerVersion; - char description[XR_MAX_API_LAYER_DESCRIPTION_SIZE]; + XrVector2f foveationCenter[XR_FOVEATION_CENTER_SIZE_META]; + XrFoveationEyeTrackedStateFlagsMETA flags; }; -struct XrEventDataBaseHeader +struct XrGraphicsRequirementsD3D11KHR +{ + XrStructureType type; + void *next; + LUID adapterLuid; + D3D_FEATURE_LEVEL minFeatureLevel; +}; + +struct XrHandJointVelocityEXT +{ + XrSpaceVelocityFlags velocityFlags; + XrVector3f linearVelocity; + XrVector3f angularVelocity; +}; + +struct XrHandMeshVertexMSFT +{ + XrVector3f position; + XrVector3f normal; +}; + +struct XrInputSourceLocalizedNameGetInfo { XrStructureType type; const void *next; + XrPath sourcePath; + XrInputSourceLocalizedNameFlags whichComponents; }; -struct XrGeometryInstanceCreateInfoFB +struct XrLocalDimmingFrameEndInfoMETA { XrStructureType type; const void *next; - XrPassthroughLayerFB layer; - XrTriangleMeshFB mesh; - XrSpace baseSpace; + XrLocalDimmingModeMETA localDimmingMode; +}; + +struct XrPassthroughColorMapMonoToRgbaFB +{ + XrStructureType type; + const void *next; + XrColor4f textureColorMap[XR_PASSTHROUGH_COLOR_MAP_MONO_SIZE_FB]; +}; + +struct XrPosef +{ + XrQuaternionf orientation; + XrVector3f position; +}; + +struct XrSceneComponentLocationMSFT +{ + XrSpaceLocationFlags flags; XrPosef pose; - XrVector3f scale; }; -struct XrHandJointsMotionRangeInfoEXT +struct XrSceneComponentParentFilterInfoMSFT { XrStructureType type; const void *next; - XrHandJointsMotionRangeEXT handJointsMotionRange; -}; - -struct XrHandTrackingAimStateFB -{ - XrStructureType type; - void *next; - XrHandTrackingAimFlagsFB status; - XrPosef aimPose; - float pinchStrengthIndex; - float pinchStrengthMiddle; - float pinchStrengthRing; - float pinchStrengthLittle; -}; - -struct XrReferenceSpaceCreateInfo -{ - XrStructureType type; - const void *next; - XrReferenceSpaceType referenceSpaceType; - XrPosef poseInReferenceSpace; + XrUuidMSFT parentId; }; struct XrSceneFrustumBoundMSFT @@ -2750,19 +3206,49 @@ struct XrSceneFrustumBoundMSFT float farDistance; }; -struct XrSecondaryViewConfigurationFrameEndInfoMSFT +struct XrSceneOrientedBoxBoundMSFT { - XrStructureType type; - const void *next; - uint32_t viewConfigurationCount; - const XrSecondaryViewConfigurationLayerInfoMSFT *viewConfigurationLayersInfo; + XrPosef pose; + XrVector3f extents; }; -struct XrSwapchainCreateInfoFoveationFB +struct XrSecondaryViewConfigurationFrameStateMSFT { XrStructureType type; void *next; - XrSwapchainCreateFoveationFlagsFB flags; + uint32_t viewConfigurationCount; + XrSecondaryViewConfigurationStateMSFT *viewConfigurationStates; +}; + +struct XrSpaceQueryResultsFB +{ + XrStructureType type; + void *next; + uint32_t resultCapacityInput; + uint32_t resultCountOutput; + XrSpaceQueryResultFB *results; +}; + +struct XrSpatialAnchorCreateInfoMSFT +{ + XrStructureType type; + const void *next; + XrSpace space; + XrPosef pose; + XrTime time; +}; + +struct XrSwapchainImageBaseHeader +{ + XrStructureType type; + void *next; +}; + +struct XrSwapchainSubImage +{ + XrSwapchain swapchain; + XrRect2Di imageRect; + uint32_t imageArrayIndex; }; struct XrTriangleMeshCreateInfoFB @@ -2777,87 +3263,31 @@ struct XrTriangleMeshCreateInfoFB const uint32_t *indexBuffer; }; -struct XrCompositionLayerCubeKHR -{ - XrStructureType type; - const void *next; - XrCompositionLayerFlags layerFlags; - XrSpace space; - XrEyeVisibility eyeVisibility; - XrSwapchain swapchain; - uint32_t imageArrayIndex; - XrQuaternionf orientation; -}; - -struct XrEventDataViveTrackerConnectedHTCX -{ - XrStructureType type; - const void *next; - XrViveTrackerPathsHTCX *paths; -}; - -struct XrHandMeshMSFT +struct XrVisibilityMaskKHR { XrStructureType type; void *next; - XrBool32 isActive; - XrBool32 indexBufferChanged; - XrBool32 vertexBufferChanged; - XrHandMeshIndexBufferMSFT indexBuffer; - XrHandMeshVertexBufferMSFT vertexBuffer; + uint32_t vertexCapacityInput; + uint32_t vertexCountOutput; + XrVector2f *vertices; + uint32_t indexCapacityInput; + uint32_t indexCountOutput; + uint32_t *indices; }; -struct XrSceneBoundsMSFT -{ - XrSpace space; - XrTime time; - uint32_t sphereCount; - const XrSceneSphereBoundMSFT *spheres; - uint32_t boxCount; - const XrSceneOrientedBoxBoundMSFT *boxes; - uint32_t frustumCount; - const XrSceneFrustumBoundMSFT *frustums; -}; - -struct XrSessionCreateInfoOverlayEXTX +struct XrActionSpaceCreateInfo { XrStructureType type; const void *next; - XrOverlaySessionCreateFlagsEXTX createFlags; - uint32_t sessionLayersPlacement; + XrAction action; + XrPath subactionPath; + XrPosef poseInActionSpace; }; -struct XrViewConfigurationViewFovEPIC +struct XrBodyJointLocationFB { - XrStructureType type; - const void *next; - XrFovf recommendedFov; - XrFovf maxMutableFov; -}; - -struct XrGraphicsRequirementsVulkanKHR -{ - XrStructureType type; - void *next; - XrVersion minApiVersionSupported; - XrVersion maxApiVersionSupported; -}; - -struct XrNewSceneComputeInfoMSFT -{ - XrStructureType type; - const void *next; - uint32_t requestedFeatureCount; - const XrSceneComputeFeatureMSFT *requestedFeatures; - XrSceneComputeConsistencyMSFT consistency; - XrSceneBoundsMSFT bounds; -}; - -struct XrSwapchainSubImage -{ - XrSwapchain swapchain; - XrRect2Di imageRect; - uint32_t imageArrayIndex; + XrSpaceLocationFlags locationFlags; + XrPosef pose; }; struct XrCompositionLayerCylinderKHR @@ -2912,33 +3342,164 @@ struct XrCompositionLayerSpaceWarpInfoFB float farZ; }; -struct XrSceneObjectsMSFT +struct XrEventDataInteractionProfileChanged +{ + XrStructureType type; + const void *next; + XrSession session; +}; + +struct XrExtent3DfFB +{ + float width; + float height; + float depth; +}; + +struct XrEyeGazeFB +{ + XrBool32 isValid; + XrPosef gazePose; + float gazeConfidence; +}; + +struct XrFrameState { XrStructureType type; void *next; - uint32_t sceneObjectCount; - XrSceneObjectMSFT *sceneObjects; + XrTime predictedDisplayTime; + XrDuration predictedDisplayPeriod; + XrBool32 shouldRender; }; -struct XrCompositionLayerDepthInfoKHR +struct XrGeometryInstanceTransformFB { XrStructureType type; const void *next; - XrSwapchainSubImage subImage; - float minDepth; - float maxDepth; - float nearZ; - float farZ; + XrSpace baseSpace; + XrTime time; + XrPosef pose; + XrVector3f scale; }; -struct XrCompositionLayerProjection +struct XrHandJointLocationEXT +{ + XrSpaceLocationFlags locationFlags; + XrPosef pose; + float radius; +}; + +struct XrHandJointVelocitiesEXT +{ + XrStructureType type; + void *next; + uint32_t jointCount; + XrHandJointVelocityEXT *jointVelocities; +}; + +struct XrHandTrackingAimStateFB +{ + XrStructureType type; + void *next; + XrHandTrackingAimFlagsFB status; + XrPosef aimPose; + float pinchStrengthIndex; + float pinchStrengthMiddle; + float pinchStrengthRing; + float pinchStrengthLittle; +}; + +struct XrHandTrackingMeshFB +{ + XrStructureType type; + void *next; + uint32_t jointCapacityInput; + uint32_t jointCountOutput; + XrPosef *jointBindPoses; + float *jointRadii; + XrHandJointEXT *jointParents; + uint32_t vertexCapacityInput; + uint32_t vertexCountOutput; + XrVector3f *vertexPositions; + XrVector3f *vertexNormals; + XrVector2f *vertexUVs; + XrVector4sFB *vertexBlendIndices; + XrVector4f *vertexBlendWeights; + uint32_t indexCapacityInput; + uint32_t indexCountOutput; + int16_t *indices; +}; + +struct XrPassthroughStyleFB { XrStructureType type; const void *next; - XrCompositionLayerFlags layerFlags; - XrSpace space; - uint32_t viewCount; - const XrCompositionLayerProjectionView *views; + float textureOpacityFactor; + XrColor4f edgeColor; +}; + +struct XrSceneComponentLocationsMSFT +{ + XrStructureType type; + void *next; + uint32_t locationCount; + XrSceneComponentLocationMSFT *locations; +}; + +struct XrSceneMeshVertexBufferMSFT +{ + XrStructureType type; + void *next; + uint32_t vertexCapacityInput; + uint32_t vertexCountOutput; + XrVector3f *vertices; +}; + +struct XrSerializedSceneFragmentDataGetInfoMSFT +{ + XrStructureType type; + const void *next; + XrUuidMSFT sceneFragmentId; +}; + +struct XrSpaceVelocity +{ + XrStructureType type; + void *next; + XrSpaceVelocityFlags velocityFlags; + XrVector3f linearVelocity; + XrVector3f angularVelocity; +}; + +struct XrSwapchainImageVulkanKHR +{ + XrStructureType type; + void *next; + VkImage image; +}; + +struct XrSystemProperties +{ + XrStructureType type; + void *next; + XrSystemId systemId; + uint32_t vendorId; + char systemName[XR_MAX_SYSTEM_NAME_SIZE]; + XrSystemGraphicsProperties graphicsProperties; + XrSystemTrackingProperties trackingProperties; +}; + +struct XrBindingModificationBaseHeaderKHR +{ + XrStructureType type; + const void *next; +}; + +struct XrBodySkeletonJointFB +{ + int32_t joint; + int32_t parentJoint; + XrPosef pose; }; struct XrCompositionLayerEquirectKHR @@ -2967,7 +3528,224 @@ struct XrCompositionLayerQuad XrExtent2Df size; }; +struct XrEventDataReferenceSpaceChangePending +{ + XrStructureType type; + const void *next; + XrSession session; + XrReferenceSpaceType referenceSpaceType; + XrTime changeTime; + XrBool32 poseValid; + XrPosef poseInPreviousSpace; +}; + +struct XrFoveationApplyInfoHTC +{ + XrStructureType type; + const void *next; + XrFoveationModeHTC mode; + uint32_t subImageCount; + XrSwapchainSubImage *subImages; +}; + +struct XrHandCapsuleFB +{ + XrVector3f points[XR_HAND_TRACKING_CAPSULE_POINT_COUNT_FB]; + float radius; + XrHandJointEXT joint; +}; + +struct XrHandMeshVertexBufferMSFT +{ + XrTime vertexUpdateTime; + uint32_t vertexCapacityInput; + uint32_t vertexCountOutput; + XrHandMeshVertexMSFT *vertices; +}; + +struct XrInteractionProfileDpadBindingEXT +{ + XrStructureType type; + const void *next; + XrPath binding; + XrActionSet actionSet; + float forceThreshold; + float forceThresholdReleased; + float centerRegion; + float wedgeAngle; + XrBool32 isSticky; + const XrHapticBaseHeader *onHaptic; + const XrHapticBaseHeader *offHaptic; +}; + +struct XrReferenceSpaceCreateInfo +{ + XrStructureType type; + const void *next; + XrReferenceSpaceType referenceSpaceType; + XrPosef poseInReferenceSpace; +}; + +struct XrSceneComponentsMSFT +{ + XrStructureType type; + void *next; + uint32_t componentCapacityInput; + uint32_t componentCountOutput; + XrSceneComponentMSFT *components; +}; + +struct XrSpaceLocation +{ + XrStructureType type; + void *next; + XrSpaceLocationFlags locationFlags; + XrPosef pose; +}; + +struct XrSystemFoveatedRenderingPropertiesVARJO +{ + XrStructureType type; + void *next; + XrBool32 supportsFoveatedRendering; +}; + +struct XrBindingModificationsKHR +{ + XrStructureType type; + const void *next; + uint32_t bindingModificationCount; + const XrBindingModificationBaseHeaderKHR * const*bindingModifications; +}; + +struct XrCompositionLayerProjection +{ + XrStructureType type; + const void *next; + XrCompositionLayerFlags layerFlags; + XrSpace space; + uint32_t viewCount; + const XrCompositionLayerProjectionView *views; +}; + +struct XrExternalCameraExtrinsicsOCULUS +{ + XrTime lastChangeTime; + XrExternalCameraStatusFlagsOCULUS cameraStatusFlags; + XrExternalCameraAttachedToDeviceOCULUS attachedToDevice; + XrPosef relativePose; +}; + +struct XrGeometryInstanceCreateInfoFB +{ + XrStructureType type; + const void *next; + XrPassthroughLayerFB layer; + XrTriangleMeshFB mesh; + XrSpace baseSpace; + XrPosef pose; + XrVector3f scale; +}; + +struct XrHandTrackingCapsulesStateFB +{ + XrStructureType type; + void *next; + XrHandCapsuleFB capsules[XR_HAND_TRACKING_CAPSULE_COUNT_FB]; +}; + +struct XrSceneSphereBoundMSFT +{ + XrVector3f center; + float radius; +}; + +struct XrView +{ + XrStructureType type; + void *next; + XrPosef pose; + XrFovf fov; +}; + +struct XrCompositionLayerDepthInfoKHR +{ + XrStructureType type; + const void *next; + XrSwapchainSubImage subImage; + float minDepth; + float maxDepth; + float nearZ; + float farZ; +}; + +struct XrExternalCameraOCULUS +{ + XrStructureType type; + const void *next; + char name[XR_MAX_EXTERNAL_CAMERA_NAME_SIZE_OCULUS]; + XrExternalCameraIntrinsicsOCULUS intrinsics; + XrExternalCameraExtrinsicsOCULUS extrinsics; +}; + +struct XrSceneBoundsMSFT +{ + XrSpace space; + XrTime time; + uint32_t sphereCount; + const XrSceneSphereBoundMSFT *spheres; + uint32_t boxCount; + const XrSceneOrientedBoxBoundMSFT *boxes; + uint32_t frustumCount; + const XrSceneFrustumBoundMSFT *frustums; +}; + +struct XrControllerModelNodeStateMSFT +{ + XrStructureType type; + void *next; + XrPosef nodePose; +}; + +struct XrHandJointLocationsEXT +{ + XrStructureType type; + void *next; + XrBool32 isActive; + uint32_t jointCount; + XrHandJointLocationEXT *jointLocations; +}; + +struct XrSpatialAnchorSpaceCreateInfoMSFT +{ + XrStructureType type; + const void *next; + XrSpatialAnchorMSFT anchor; + XrPosef poseInAnchorSpace; +}; + +struct XrControllerModelStateMSFT +{ + XrStructureType type; + void *next; + uint32_t nodeCapacityInput; + uint32_t nodeCountOutput; + XrControllerModelNodeStateMSFT *nodeStates; +}; + +struct XrNewSceneComputeInfoMSFT +{ + XrStructureType type; + const void *next; + uint32_t requestedFeatureCount; + const XrSceneComputeFeatureMSFT *requestedFeatures; + XrSceneComputeConsistencyMSFT consistency; + XrSceneBoundsMSFT bounds; +}; + typedef XrResult (XRAPI_PTR *PFN_xrAcquireSwapchainImage)(XrSwapchain, const XrSwapchainImageAcquireInfo *, uint32_t *); +typedef XrResult (XRAPI_PTR *PFN_xrApplyForceFeedbackCurlMNDX)(XrHandTrackerEXT, const XrForceFeedbackCurlApplyLocationsMNDX *); +typedef XrResult (XRAPI_PTR *PFN_xrApplyFoveationHTC)(XrSession, const XrFoveationApplyInfoHTC *); typedef XrResult (XRAPI_PTR *PFN_xrApplyHapticFeedback)(XrSession, const XrHapticActionInfo *, const XrHapticBaseHeader *); typedef XrResult (XRAPI_PTR *PFN_xrAttachSessionActionSets)(XrSession, const XrSessionActionSetsAttachInfo *); typedef XrResult (XRAPI_PTR *PFN_xrBeginFrame)(XrSession, const XrFrameBeginInfo *); @@ -2981,10 +3759,8 @@ typedef XrResult (XRAPI_PTR *PFN_xrCreateActionSet)(XrInstance, const XrActionSe typedef XrResult (XRAPI_PTR *PFN_xrCreateActionSpace)(XrSession, const XrActionSpaceCreateInfo *, XrSpace *); typedef XrResult (XRAPI_PTR *PFN_xrCreateFoveationProfileFB)(XrSession, const XrFoveationProfileCreateInfoFB *, XrFoveationProfileFB *); typedef XrResult (XRAPI_PTR *PFN_xrCreateGeometryInstanceFB)(XrSession, const XrGeometryInstanceCreateInfoFB *, XrGeometryInstanceFB *); -typedef XrResult (XRAPI_PTR *PFN_xrCreateHandMeshSpaceMSFT)(XrHandTrackerEXT, const XrHandMeshSpaceCreateInfoMSFT *, XrSpace *); typedef XrResult (XRAPI_PTR *PFN_xrCreateHandTrackerEXT)(XrSession, const XrHandTrackerCreateInfoEXT *, XrHandTrackerEXT *); typedef XrResult (XRAPI_PTR *PFN_xrCreateInstance)(const XrInstanceCreateInfo *, XrInstance *); -typedef XrResult (XRAPI_PTR *PFN_xrCreateMarkerSpaceVARJO)(XrSession, const XrMarkerSpaceCreateInfoVARJO *, XrSpace *); typedef XrResult (XRAPI_PTR *PFN_xrCreatePassthroughFB)(XrSession, const XrPassthroughCreateInfoFB *, XrPassthroughFB *); typedef XrResult (XRAPI_PTR *PFN_xrCreatePassthroughLayerFB)(XrSession, const XrPassthroughLayerCreateInfoFB *, XrPassthroughLayerFB *); typedef XrResult (XRAPI_PTR *PFN_xrCreateReferenceSpace)(XrSession, const XrReferenceSpaceCreateInfo *, XrSpace *); @@ -2995,7 +3771,6 @@ typedef XrResult (XRAPI_PTR *PFN_xrCreateSpatialAnchorFromPersistedNameMSFT)(XrS typedef XrResult (XRAPI_PTR *PFN_xrCreateSpatialAnchorMSFT)(XrSession, const XrSpatialAnchorCreateInfoMSFT *, XrSpatialAnchorMSFT *); typedef XrResult (XRAPI_PTR *PFN_xrCreateSpatialAnchorSpaceMSFT)(XrSession, const XrSpatialAnchorSpaceCreateInfoMSFT *, XrSpace *); typedef XrResult (XRAPI_PTR *PFN_xrCreateSpatialAnchorStoreConnectionMSFT)(XrSession, XrSpatialAnchorStoreConnectionMSFT *); -typedef XrResult (XRAPI_PTR *PFN_xrCreateSpatialGraphNodeSpaceMSFT)(XrSession, const XrSpatialGraphNodeSpaceCreateInfoMSFT *, XrSpace *); typedef XrResult (XRAPI_PTR *PFN_xrCreateSwapchain)(XrSession, const XrSwapchainCreateInfo *, XrSwapchain *); typedef XrResult (XRAPI_PTR *PFN_xrCreateTriangleMeshFB)(XrSession, const XrTriangleMeshCreateInfoFB *, XrTriangleMeshFB *); typedef XrResult (XRAPI_PTR *PFN_xrCreateVulkanDeviceKHR)(XrInstance, const XrVulkanDeviceCreateInfoKHR *, VkDevice *, VkResult *); @@ -3024,9 +3799,12 @@ typedef XrResult (XRAPI_PTR *PFN_xrEnumerateBoundSourcesForAction)(XrSession, co typedef XrResult (XRAPI_PTR *PFN_xrEnumerateColorSpacesFB)(XrSession, uint32_t, uint32_t *, XrColorSpaceFB *); typedef XrResult (XRAPI_PTR *PFN_xrEnumerateDisplayRefreshRatesFB)(XrSession, uint32_t, uint32_t *, float *); typedef XrResult (XRAPI_PTR *PFN_xrEnumerateEnvironmentBlendModes)(XrInstance, XrSystemId, XrViewConfigurationType, uint32_t, uint32_t *, XrEnvironmentBlendMode *); +typedef XrResult (XRAPI_PTR *PFN_xrEnumerateExternalCamerasOCULUS)(XrSession, uint32_t, uint32_t *, XrExternalCameraOCULUS *); typedef XrResult (XRAPI_PTR *PFN_xrEnumerateInstanceExtensionProperties)(const char *, uint32_t, uint32_t *, XrExtensionProperties *); +typedef XrResult (XRAPI_PTR *PFN_xrEnumeratePerformanceMetricsCounterPathsMETA)(XrInstance, uint32_t, uint32_t *, XrPath *); typedef XrResult (XRAPI_PTR *PFN_xrEnumeratePersistedSpatialAnchorNamesMSFT)(XrSpatialAnchorStoreConnectionMSFT, uint32_t, uint32_t *, XrSpatialAnchorPersistenceNameMSFT *); typedef XrResult (XRAPI_PTR *PFN_xrEnumerateReferenceSpaces)(XrSession, uint32_t, uint32_t *, XrReferenceSpaceType *); +typedef XrResult (XRAPI_PTR *PFN_xrEnumerateRenderModelPathsFB)(XrSession, uint32_t, uint32_t *, XrRenderModelPathInfoFB *); typedef XrResult (XRAPI_PTR *PFN_xrEnumerateReprojectionModesMSFT)(XrInstance, XrSystemId, XrViewConfigurationType, uint32_t, uint32_t *, XrReprojectionModeMSFT *); typedef XrResult (XRAPI_PTR *PFN_xrEnumerateSceneComputeFeaturesMSFT)(XrInstance, XrSystemId, uint32_t, uint32_t *, XrSceneComputeFeatureMSFT *); typedef XrResult (XRAPI_PTR *PFN_xrEnumerateSwapchainFormats)(XrSession, uint32_t, uint32_t *, int64_t *); @@ -3047,14 +3825,17 @@ typedef XrResult (XRAPI_PTR *PFN_xrGetControllerModelStateMSFT)(XrSession, XrCon typedef XrResult (XRAPI_PTR *PFN_xrGetCurrentInteractionProfile)(XrSession, XrPath, XrInteractionProfileState *); typedef XrResult (XRAPI_PTR *PFN_xrGetD3D11GraphicsRequirementsKHR)(XrInstance, XrSystemId, XrGraphicsRequirementsD3D11KHR *); typedef XrResult (XRAPI_PTR *PFN_xrGetD3D12GraphicsRequirementsKHR)(XrInstance, XrSystemId, XrGraphicsRequirementsD3D12KHR *); +typedef XrResult (XRAPI_PTR *PFN_xrGetDeviceSampleRateFB)(XrSession, const XrHapticActionInfo *, XrDevicePcmSampleRateGetInfoFB *); typedef XrResult (XRAPI_PTR *PFN_xrGetDisplayRefreshRateFB)(XrSession, float *); +typedef XrResult (XRAPI_PTR *PFN_xrGetFoveationEyeTrackedStateMETA)(XrSession, XrFoveationEyeTrackedStateMETA *); typedef XrResult (XRAPI_PTR *PFN_xrGetHandMeshFB)(XrHandTrackerEXT, XrHandTrackingMeshFB *); typedef XrResult (XRAPI_PTR *PFN_xrGetInputSourceLocalizedName)(XrSession, const XrInputSourceLocalizedNameGetInfo *, uint32_t, uint32_t *, char *); typedef XrResult (XRAPI_PTR *PFN_xrGetInstanceProcAddr)(XrInstance, const char *, PFN_xrVoidFunction *); typedef XrResult (XRAPI_PTR *PFN_xrGetInstanceProperties)(XrInstance, XrInstanceProperties *); -typedef XrResult (XRAPI_PTR *PFN_xrGetMarkerSizeVARJO)(XrSession, uint64_t, XrExtent2Df *); typedef XrResult (XRAPI_PTR *PFN_xrGetOpenGLGraphicsRequirementsKHR)(XrInstance, XrSystemId, XrGraphicsRequirementsOpenGLKHR *); +typedef XrResult (XRAPI_PTR *PFN_xrGetPerformanceMetricsStateMETA)(XrSession, XrPerformanceMetricsStateMETA *); typedef XrResult (XRAPI_PTR *PFN_xrGetReferenceSpaceBoundsRect)(XrSession, XrReferenceSpaceType, XrExtent2Df *); +typedef XrResult (XRAPI_PTR *PFN_xrGetRenderModelPropertiesFB)(XrSession, XrPath, XrRenderModelPropertiesFB *); typedef XrResult (XRAPI_PTR *PFN_xrGetSceneComponentsMSFT)(XrSceneMSFT, const XrSceneComponentsGetInfoMSFT *, XrSceneComponentsMSFT *); typedef XrResult (XRAPI_PTR *PFN_xrGetSceneComputeStateMSFT)(XrSceneObserverMSFT, XrSceneComputeStateMSFT *); typedef XrResult (XRAPI_PTR *PFN_xrGetSceneMeshBuffersMSFT)(XrSceneMSFT, const XrSceneMeshBuffersGetInfoMSFT *, XrSceneMeshBuffersMSFT *); @@ -3071,12 +3852,14 @@ typedef XrResult (XRAPI_PTR *PFN_xrGetVulkanGraphicsRequirements2KHR)(XrInstance typedef XrResult (XRAPI_PTR *PFN_xrGetVulkanGraphicsRequirementsKHR)(XrInstance, XrSystemId, XrGraphicsRequirementsVulkanKHR *); typedef XrResult (XRAPI_PTR *PFN_xrGetVulkanInstanceExtensionsKHR)(XrInstance, XrSystemId, uint32_t, uint32_t *, char *); typedef XrResult (XRAPI_PTR *PFN_xrLoadControllerModelMSFT)(XrSession, XrControllerModelKeyMSFT, uint32_t, uint32_t *, uint8_t *); +typedef XrResult (XRAPI_PTR *PFN_xrLoadRenderModelFB)(XrSession, const XrRenderModelLoadInfoFB *, XrRenderModelBufferFB *); typedef XrResult (XRAPI_PTR *PFN_xrLocateHandJointsEXT)(XrHandTrackerEXT, const XrHandJointsLocateInfoEXT *, XrHandJointLocationsEXT *); typedef XrResult (XRAPI_PTR *PFN_xrLocateSceneComponentsMSFT)(XrSceneMSFT, const XrSceneComponentsLocateInfoMSFT *, XrSceneComponentLocationsMSFT *); typedef XrResult (XRAPI_PTR *PFN_xrLocateSpace)(XrSpace, XrSpace, XrTime, XrSpaceLocation *); typedef XrResult (XRAPI_PTR *PFN_xrLocateViews)(XrSession, const XrViewLocateInfo *, XrViewState *, uint32_t, uint32_t *, XrView *); typedef XrResult (XRAPI_PTR *PFN_xrPassthroughLayerPauseFB)(XrPassthroughLayerFB); typedef XrResult (XRAPI_PTR *PFN_xrPassthroughLayerResumeFB)(XrPassthroughLayerFB); +typedef XrResult (XRAPI_PTR *PFN_xrPassthroughLayerSetKeyboardHandsIntensityFB)(XrPassthroughLayerFB, const XrPassthroughKeyboardHandsIntensityFB *); typedef XrResult (XRAPI_PTR *PFN_xrPassthroughLayerSetStyleFB)(XrPassthroughLayerFB, const XrPassthroughStyleFB *); typedef XrResult (XRAPI_PTR *PFN_xrPassthroughPauseFB)(XrPassthroughFB); typedef XrResult (XRAPI_PTR *PFN_xrPassthroughStartFB)(XrPassthroughFB); @@ -3084,20 +3867,26 @@ typedef XrResult (XRAPI_PTR *PFN_xrPathToString)(XrInstance, XrPath, uint32_t, u typedef XrResult (XRAPI_PTR *PFN_xrPerfSettingsSetPerformanceLevelEXT)(XrSession, XrPerfSettingsDomainEXT, XrPerfSettingsLevelEXT); typedef XrResult (XRAPI_PTR *PFN_xrPersistSpatialAnchorMSFT)(XrSpatialAnchorStoreConnectionMSFT, const XrSpatialAnchorPersistenceInfoMSFT *); typedef XrResult (XRAPI_PTR *PFN_xrPollEvent)(XrInstance, XrEventDataBuffer *); +typedef XrResult (XRAPI_PTR *PFN_xrQueryPerformanceMetricsCounterMETA)(XrSession, XrPath, XrPerformanceMetricsCounterMETA *); +typedef XrResult (XRAPI_PTR *PFN_xrQuerySpacesFB)(XrSession, const XrSpaceQueryInfoBaseHeaderFB *, XrAsyncRequestIdFB *); typedef XrResult (XRAPI_PTR *PFN_xrReleaseSwapchainImage)(XrSwapchain, const XrSwapchainImageReleaseInfo *); typedef XrResult (XRAPI_PTR *PFN_xrRequestDisplayRefreshRateFB)(XrSession, float); typedef XrResult (XRAPI_PTR *PFN_xrRequestExitSession)(XrSession); +typedef XrResult (XRAPI_PTR *PFN_xrRequestSceneCaptureFB)(XrSession, const XrSceneCaptureRequestInfoFB *, XrAsyncRequestIdFB *); typedef XrResult (XRAPI_PTR *PFN_xrResultToString)(XrInstance, XrResult, char[]); +typedef XrResult (XRAPI_PTR *PFN_xrRetrieveSpaceQueryResultsFB)(XrSession, XrAsyncRequestIdFB, XrSpaceQueryResultsFB *); +typedef XrResult (XRAPI_PTR *PFN_xrSaveSpaceListFB)(XrSession, const XrSpaceListSaveInfoFB *, XrAsyncRequestIdFB *); typedef XrResult (XRAPI_PTR *PFN_xrSetColorSpaceFB)(XrSession, const XrColorSpaceFB); +typedef XrResult (XRAPI_PTR *PFN_xrSetDigitalLensControlALMALENCE)(XrSession, const XrDigitalLensControlALMALENCE *); typedef XrResult (XRAPI_PTR *PFN_xrSetEnvironmentDepthEstimationVARJO)(XrSession, XrBool32); typedef XrResult (XRAPI_PTR *PFN_xrSetInputDeviceActiveEXT)(XrSession, XrPath, XrPath, XrBool32); typedef XrResult (XRAPI_PTR *PFN_xrSetInputDeviceLocationEXT)(XrSession, XrPath, XrPath, XrSpace, XrPosef); typedef XrResult (XRAPI_PTR *PFN_xrSetInputDeviceStateBoolEXT)(XrSession, XrPath, XrPath, XrBool32); typedef XrResult (XRAPI_PTR *PFN_xrSetInputDeviceStateFloatEXT)(XrSession, XrPath, XrPath, float); typedef XrResult (XRAPI_PTR *PFN_xrSetInputDeviceStateVector2fEXT)(XrSession, XrPath, XrPath, XrVector2f); -typedef XrResult (XRAPI_PTR *PFN_xrSetMarkerTrackingPredictionVARJO)(XrSession, uint64_t, XrBool32); -typedef XrResult (XRAPI_PTR *PFN_xrSetMarkerTrackingTimeoutVARJO)(XrSession, uint64_t, XrDuration); -typedef XrResult (XRAPI_PTR *PFN_xrSetMarkerTrackingVARJO)(XrSession, XrBool32); +typedef XrResult (XRAPI_PTR *PFN_xrSetPerformanceMetricsStateMETA)(XrSession, const XrPerformanceMetricsStateMETA *); +typedef XrResult (XRAPI_PTR *PFN_xrSetTrackingOptimizationSettingsHintQCOM)(XrSession, XrTrackingOptimizationSettingsDomainQCOM, XrTrackingOptimizationSettingsHintQCOM); +typedef XrResult (XRAPI_PTR *PFN_xrSetViewOffsetVARJO)(XrSession, float); typedef XrResult (XRAPI_PTR *PFN_xrStopHapticFeedback)(XrSession, const XrHapticActionInfo *); typedef XrResult (XRAPI_PTR *PFN_xrStringToPath)(XrInstance, const char *, XrPath *); typedef XrResult (XRAPI_PTR *PFN_xrStructureTypeToString)(XrInstance, XrStructureType, char[]); @@ -3111,13 +3900,14 @@ typedef XrResult (XRAPI_PTR *PFN_xrTriangleMeshEndVertexBufferUpdateFB)(XrTriang typedef XrResult (XRAPI_PTR *PFN_xrTriangleMeshGetIndexBufferFB)(XrTriangleMeshFB, uint32_t **); typedef XrResult (XRAPI_PTR *PFN_xrTriangleMeshGetVertexBufferFB)(XrTriangleMeshFB, XrVector3f **); typedef XrResult (XRAPI_PTR *PFN_xrUnpersistSpatialAnchorMSFT)(XrSpatialAnchorStoreConnectionMSFT, const XrSpatialAnchorPersistenceNameMSFT *); -typedef XrResult (XRAPI_PTR *PFN_xrUpdateHandMeshMSFT)(XrHandTrackerEXT, const XrHandMeshUpdateInfoMSFT *, XrHandMeshMSFT *); typedef XrResult (XRAPI_PTR *PFN_xrUpdateSwapchainFB)(XrSwapchain, const XrSwapchainStateBaseHeaderFB *); typedef XrResult (XRAPI_PTR *PFN_xrWaitFrame)(XrSession, const XrFrameWaitInfo *, XrFrameState *); typedef XrResult (XRAPI_PTR *PFN_xrWaitSwapchainImage)(XrSwapchain, const XrSwapchainImageWaitInfo *); #ifndef XR_NO_PROTOTYPES XrResult XRAPI_CALL xrAcquireSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageAcquireInfo *acquireInfo, uint32_t *index); +XrResult XRAPI_CALL xrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, const XrForceFeedbackCurlApplyLocationsMNDX *locations); +XrResult XRAPI_CALL xrApplyFoveationHTC(XrSession session, const XrFoveationApplyInfoHTC *applyInfo); XrResult XRAPI_CALL xrApplyHapticFeedback(XrSession session, const XrHapticActionInfo *hapticActionInfo, const XrHapticBaseHeader *hapticFeedback); XrResult XRAPI_CALL xrAttachSessionActionSets(XrSession session, const XrSessionActionSetsAttachInfo *attachInfo); XrResult XRAPI_CALL xrBeginFrame(XrSession session, const XrFrameBeginInfo *frameBeginInfo); @@ -3131,10 +3921,8 @@ XrResult XRAPI_CALL xrCreateActionSet(XrInstance instance, const XrActionSetCrea XrResult XRAPI_CALL xrCreateActionSpace(XrSession session, const XrActionSpaceCreateInfo *createInfo, XrSpace *space); XrResult XRAPI_CALL xrCreateFoveationProfileFB(XrSession session, const XrFoveationProfileCreateInfoFB *createInfo, XrFoveationProfileFB *profile); XrResult XRAPI_CALL xrCreateGeometryInstanceFB(XrSession session, const XrGeometryInstanceCreateInfoFB *createInfo, XrGeometryInstanceFB *outGeometryInstance); -XrResult XRAPI_CALL xrCreateHandMeshSpaceMSFT(XrHandTrackerEXT handTracker, const XrHandMeshSpaceCreateInfoMSFT *createInfo, XrSpace *space); XrResult XRAPI_CALL xrCreateHandTrackerEXT(XrSession session, const XrHandTrackerCreateInfoEXT *createInfo, XrHandTrackerEXT *handTracker); XrResult XRAPI_CALL xrCreateInstance(const XrInstanceCreateInfo *createInfo, XrInstance *instance); -XrResult XRAPI_CALL xrCreateMarkerSpaceVARJO(XrSession session, const XrMarkerSpaceCreateInfoVARJO *createInfo, XrSpace *space); XrResult XRAPI_CALL xrCreatePassthroughFB(XrSession session, const XrPassthroughCreateInfoFB *createInfo, XrPassthroughFB *outPassthrough); XrResult XRAPI_CALL xrCreatePassthroughLayerFB(XrSession session, const XrPassthroughLayerCreateInfoFB *createInfo, XrPassthroughLayerFB *outLayer); XrResult XRAPI_CALL xrCreateReferenceSpace(XrSession session, const XrReferenceSpaceCreateInfo *createInfo, XrSpace *space); @@ -3145,7 +3933,6 @@ XrResult XRAPI_CALL xrCreateSpatialAnchorFromPersistedNameMSFT(XrSession session XrResult XRAPI_CALL xrCreateSpatialAnchorMSFT(XrSession session, const XrSpatialAnchorCreateInfoMSFT *createInfo, XrSpatialAnchorMSFT *anchor); XrResult XRAPI_CALL xrCreateSpatialAnchorSpaceMSFT(XrSession session, const XrSpatialAnchorSpaceCreateInfoMSFT *createInfo, XrSpace *space); XrResult XRAPI_CALL xrCreateSpatialAnchorStoreConnectionMSFT(XrSession session, XrSpatialAnchorStoreConnectionMSFT *spatialAnchorStore); -XrResult XRAPI_CALL xrCreateSpatialGraphNodeSpaceMSFT(XrSession session, const XrSpatialGraphNodeSpaceCreateInfoMSFT *createInfo, XrSpace *space); XrResult XRAPI_CALL xrCreateSwapchain(XrSession session, const XrSwapchainCreateInfo *createInfo, XrSwapchain *swapchain); XrResult XRAPI_CALL xrCreateTriangleMeshFB(XrSession session, const XrTriangleMeshCreateInfoFB *createInfo, XrTriangleMeshFB *outTriangleMesh); XrResult XRAPI_CALL xrCreateVulkanDeviceKHR(XrInstance instance, const XrVulkanDeviceCreateInfoKHR *createInfo, VkDevice *vulkanDevice, VkResult *vulkanResult); @@ -3174,9 +3961,12 @@ XrResult XRAPI_CALL xrEnumerateBoundSourcesForAction(XrSession session, const Xr XrResult XRAPI_CALL xrEnumerateColorSpacesFB(XrSession session, uint32_t colorSpaceCapacityInput, uint32_t *colorSpaceCountOutput, XrColorSpaceFB *colorSpaces); XrResult XRAPI_CALL xrEnumerateDisplayRefreshRatesFB(XrSession session, uint32_t displayRefreshRateCapacityInput, uint32_t *displayRefreshRateCountOutput, float *displayRefreshRates); XrResult XRAPI_CALL xrEnumerateEnvironmentBlendModes(XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, uint32_t environmentBlendModeCapacityInput, uint32_t *environmentBlendModeCountOutput, XrEnvironmentBlendMode *environmentBlendModes); +XrResult XRAPI_CALL xrEnumerateExternalCamerasOCULUS(XrSession session, uint32_t cameraCapacityInput, uint32_t *cameraCountOutput, XrExternalCameraOCULUS *cameras); XrResult XRAPI_CALL xrEnumerateInstanceExtensionProperties(const char *layerName, uint32_t propertyCapacityInput, uint32_t *propertyCountOutput, XrExtensionProperties *properties); +XrResult XRAPI_CALL xrEnumeratePerformanceMetricsCounterPathsMETA(XrInstance instance, uint32_t counterPathCapacityInput, uint32_t *counterPathCountOutput, XrPath *counterPaths); XrResult XRAPI_CALL xrEnumeratePersistedSpatialAnchorNamesMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, uint32_t spatialAnchorNamesCapacityInput, uint32_t *spatialAnchorNamesCountOutput, XrSpatialAnchorPersistenceNameMSFT *persistedAnchorNames); XrResult XRAPI_CALL xrEnumerateReferenceSpaces(XrSession session, uint32_t spaceCapacityInput, uint32_t *spaceCountOutput, XrReferenceSpaceType *spaces); +XrResult XRAPI_CALL xrEnumerateRenderModelPathsFB(XrSession session, uint32_t pathCapacityInput, uint32_t *pathCountOutput, XrRenderModelPathInfoFB *paths); XrResult XRAPI_CALL xrEnumerateReprojectionModesMSFT(XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, uint32_t modeCapacityInput, uint32_t *modeCountOutput, XrReprojectionModeMSFT *modes); XrResult XRAPI_CALL xrEnumerateSceneComputeFeaturesMSFT(XrInstance instance, XrSystemId systemId, uint32_t featureCapacityInput, uint32_t *featureCountOutput, XrSceneComputeFeatureMSFT *features); XrResult XRAPI_CALL xrEnumerateSwapchainFormats(XrSession session, uint32_t formatCapacityInput, uint32_t *formatCountOutput, int64_t *formats); @@ -3197,14 +3987,17 @@ XrResult XRAPI_CALL xrGetControllerModelStateMSFT(XrSession session, XrControlle XrResult XRAPI_CALL xrGetCurrentInteractionProfile(XrSession session, XrPath topLevelUserPath, XrInteractionProfileState *interactionProfile); XrResult XRAPI_CALL xrGetD3D11GraphicsRequirementsKHR(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsD3D11KHR *graphicsRequirements); XrResult XRAPI_CALL xrGetD3D12GraphicsRequirementsKHR(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsD3D12KHR *graphicsRequirements); +XrResult XRAPI_CALL xrGetDeviceSampleRateFB(XrSession session, const XrHapticActionInfo *hapticActionInfo, XrDevicePcmSampleRateGetInfoFB *deviceSampleRate); XrResult XRAPI_CALL xrGetDisplayRefreshRateFB(XrSession session, float *displayRefreshRate); +XrResult XRAPI_CALL xrGetFoveationEyeTrackedStateMETA(XrSession session, XrFoveationEyeTrackedStateMETA *foveationState); XrResult XRAPI_CALL xrGetHandMeshFB(XrHandTrackerEXT handTracker, XrHandTrackingMeshFB *mesh); XrResult XRAPI_CALL xrGetInputSourceLocalizedName(XrSession session, const XrInputSourceLocalizedNameGetInfo *getInfo, uint32_t bufferCapacityInput, uint32_t *bufferCountOutput, char *buffer); XrResult XRAPI_CALL xrGetInstanceProcAddr(XrInstance instance, const char *name, PFN_xrVoidFunction *function); XrResult XRAPI_CALL xrGetInstanceProperties(XrInstance instance, XrInstanceProperties *instanceProperties); -XrResult XRAPI_CALL xrGetMarkerSizeVARJO(XrSession session, uint64_t markerId, XrExtent2Df *size); XrResult XRAPI_CALL xrGetOpenGLGraphicsRequirementsKHR(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsOpenGLKHR *graphicsRequirements); +XrResult XRAPI_CALL xrGetPerformanceMetricsStateMETA(XrSession session, XrPerformanceMetricsStateMETA *state); XrResult XRAPI_CALL xrGetReferenceSpaceBoundsRect(XrSession session, XrReferenceSpaceType referenceSpaceType, XrExtent2Df *bounds); +XrResult XRAPI_CALL xrGetRenderModelPropertiesFB(XrSession session, XrPath path, XrRenderModelPropertiesFB *properties); XrResult XRAPI_CALL xrGetSceneComponentsMSFT(XrSceneMSFT scene, const XrSceneComponentsGetInfoMSFT *getInfo, XrSceneComponentsMSFT *components); XrResult XRAPI_CALL xrGetSceneComputeStateMSFT(XrSceneObserverMSFT sceneObserver, XrSceneComputeStateMSFT *state); XrResult XRAPI_CALL xrGetSceneMeshBuffersMSFT(XrSceneMSFT scene, const XrSceneMeshBuffersGetInfoMSFT *getInfo, XrSceneMeshBuffersMSFT *buffers); @@ -3221,12 +4014,14 @@ XrResult XRAPI_CALL xrGetVulkanGraphicsRequirements2KHR(XrInstance instance, XrS XrResult XRAPI_CALL xrGetVulkanGraphicsRequirementsKHR(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkanKHR *graphicsRequirements); XrResult XRAPI_CALL xrGetVulkanInstanceExtensionsKHR(XrInstance instance, XrSystemId systemId, uint32_t bufferCapacityInput, uint32_t *bufferCountOutput, char *buffer); XrResult XRAPI_CALL xrLoadControllerModelMSFT(XrSession session, XrControllerModelKeyMSFT modelKey, uint32_t bufferCapacityInput, uint32_t *bufferCountOutput, uint8_t *buffer); +XrResult XRAPI_CALL xrLoadRenderModelFB(XrSession session, const XrRenderModelLoadInfoFB *info, XrRenderModelBufferFB *buffer); XrResult XRAPI_CALL xrLocateHandJointsEXT(XrHandTrackerEXT handTracker, const XrHandJointsLocateInfoEXT *locateInfo, XrHandJointLocationsEXT *locations); XrResult XRAPI_CALL xrLocateSceneComponentsMSFT(XrSceneMSFT scene, const XrSceneComponentsLocateInfoMSFT *locateInfo, XrSceneComponentLocationsMSFT *locations); XrResult XRAPI_CALL xrLocateSpace(XrSpace space, XrSpace baseSpace, XrTime time, XrSpaceLocation *location); XrResult XRAPI_CALL xrLocateViews(XrSession session, const XrViewLocateInfo *viewLocateInfo, XrViewState *viewState, uint32_t viewCapacityInput, uint32_t *viewCountOutput, XrView *views); XrResult XRAPI_CALL xrPassthroughLayerPauseFB(XrPassthroughLayerFB layer); XrResult XRAPI_CALL xrPassthroughLayerResumeFB(XrPassthroughLayerFB layer); +XrResult XRAPI_CALL xrPassthroughLayerSetKeyboardHandsIntensityFB(XrPassthroughLayerFB layer, const XrPassthroughKeyboardHandsIntensityFB *intensity); XrResult XRAPI_CALL xrPassthroughLayerSetStyleFB(XrPassthroughLayerFB layer, const XrPassthroughStyleFB *style); XrResult XRAPI_CALL xrPassthroughPauseFB(XrPassthroughFB passthrough); XrResult XRAPI_CALL xrPassthroughStartFB(XrPassthroughFB passthrough); @@ -3234,20 +4029,26 @@ XrResult XRAPI_CALL xrPathToString(XrInstance instance, XrPath path, uint32_t bu XrResult XRAPI_CALL xrPerfSettingsSetPerformanceLevelEXT(XrSession session, XrPerfSettingsDomainEXT domain, XrPerfSettingsLevelEXT level); XrResult XRAPI_CALL xrPersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, const XrSpatialAnchorPersistenceInfoMSFT *spatialAnchorPersistenceInfo); XrResult XRAPI_CALL xrPollEvent(XrInstance instance, XrEventDataBuffer *eventData); +XrResult XRAPI_CALL xrQueryPerformanceMetricsCounterMETA(XrSession session, XrPath counterPath, XrPerformanceMetricsCounterMETA *counter); +XrResult XRAPI_CALL xrQuerySpacesFB(XrSession session, const XrSpaceQueryInfoBaseHeaderFB *info, XrAsyncRequestIdFB *requestId); XrResult XRAPI_CALL xrReleaseSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageReleaseInfo *releaseInfo); XrResult XRAPI_CALL xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate); XrResult XRAPI_CALL xrRequestExitSession(XrSession session); +XrResult XRAPI_CALL xrRequestSceneCaptureFB(XrSession session, const XrSceneCaptureRequestInfoFB *info, XrAsyncRequestIdFB *requestId); XrResult XRAPI_CALL xrResultToString(XrInstance instance, XrResult value, char buffer[]); +XrResult XRAPI_CALL xrRetrieveSpaceQueryResultsFB(XrSession session, XrAsyncRequestIdFB requestId, XrSpaceQueryResultsFB *results); +XrResult XRAPI_CALL xrSaveSpaceListFB(XrSession session, const XrSpaceListSaveInfoFB *info, XrAsyncRequestIdFB *requestId); XrResult XRAPI_CALL xrSetColorSpaceFB(XrSession session, const XrColorSpaceFB colorspace); +XrResult XRAPI_CALL xrSetDigitalLensControlALMALENCE(XrSession session, const XrDigitalLensControlALMALENCE *digitalLensControl); XrResult XRAPI_CALL xrSetEnvironmentDepthEstimationVARJO(XrSession session, XrBool32 enabled); XrResult XRAPI_CALL xrSetInputDeviceActiveEXT(XrSession session, XrPath interactionProfile, XrPath topLevelPath, XrBool32 isActive); XrResult XRAPI_CALL xrSetInputDeviceLocationEXT(XrSession session, XrPath topLevelPath, XrPath inputSourcePath, XrSpace space, XrPosef pose); XrResult XRAPI_CALL xrSetInputDeviceStateBoolEXT(XrSession session, XrPath topLevelPath, XrPath inputSourcePath, XrBool32 state); XrResult XRAPI_CALL xrSetInputDeviceStateFloatEXT(XrSession session, XrPath topLevelPath, XrPath inputSourcePath, float state); XrResult XRAPI_CALL xrSetInputDeviceStateVector2fEXT(XrSession session, XrPath topLevelPath, XrPath inputSourcePath, XrVector2f state); -XrResult XRAPI_CALL xrSetMarkerTrackingPredictionVARJO(XrSession session, uint64_t markerId, XrBool32 enabled); -XrResult XRAPI_CALL xrSetMarkerTrackingTimeoutVARJO(XrSession session, uint64_t markerId, XrDuration timeout); -XrResult XRAPI_CALL xrSetMarkerTrackingVARJO(XrSession session, XrBool32 enabled); +XrResult XRAPI_CALL xrSetPerformanceMetricsStateMETA(XrSession session, const XrPerformanceMetricsStateMETA *state); +XrResult XRAPI_CALL xrSetTrackingOptimizationSettingsHintQCOM(XrSession session, XrTrackingOptimizationSettingsDomainQCOM domain, XrTrackingOptimizationSettingsHintQCOM hint); +XrResult XRAPI_CALL xrSetViewOffsetVARJO(XrSession session, float offset); XrResult XRAPI_CALL xrStopHapticFeedback(XrSession session, const XrHapticActionInfo *hapticActionInfo); XrResult XRAPI_CALL xrStringToPath(XrInstance instance, const char *pathString, XrPath *path); XrResult XRAPI_CALL xrStructureTypeToString(XrInstance instance, XrStructureType value, char buffer[]); @@ -3261,7 +4062,6 @@ XrResult XRAPI_CALL xrTriangleMeshEndVertexBufferUpdateFB(XrTriangleMeshFB mesh) XrResult XRAPI_CALL xrTriangleMeshGetIndexBufferFB(XrTriangleMeshFB mesh, uint32_t **outIndexBuffer); XrResult XRAPI_CALL xrTriangleMeshGetVertexBufferFB(XrTriangleMeshFB mesh, XrVector3f **outVertexBuffer); XrResult XRAPI_CALL xrUnpersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, const XrSpatialAnchorPersistenceNameMSFT *spatialAnchorPersistenceName); -XrResult XRAPI_CALL xrUpdateHandMeshMSFT(XrHandTrackerEXT handTracker, const XrHandMeshUpdateInfoMSFT *updateInfo, XrHandMeshMSFT *handMesh); XrResult XRAPI_CALL xrUpdateSwapchainFB(XrSwapchain swapchain, const XrSwapchainStateBaseHeaderFB *state); XrResult XRAPI_CALL xrWaitFrame(XrSession session, const XrFrameWaitInfo *frameWaitInfo, XrFrameState *frameState); XrResult XRAPI_CALL xrWaitSwapchainImage(XrSwapchain swapchain, const XrSwapchainImageWaitInfo *waitInfo); diff --git a/wineopenxr/xr.xml b/wineopenxr/xr.xml index 00e97cd0..e9fb727d 100644 --- a/wineopenxr/xr.xml +++ b/wineopenxr/xr.xml @@ -4,7 +4,7 @@ -Copyright (c) 2017-2021, The Khronos Group Inc. +Copyright (c) 2017-2023, The Khronos Group Inc. SPDX-License-Identifier: Apache-2.0 OR MIT @@ -19,43 +19,48 @@ layer authors. The only authoritative version of xr.xml is the one maintained in the default branch of the Khronos OpenXR GitHub project. - + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -102,6 +107,8 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + + @@ -109,6 +116,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + #define XR_MAKE_VERSION(major, minor, patch) \ ((((major) & 0xffffULL) << 48) | (((minor) & 0xffffULL) << 32) | ((patch) & 0xffffffffULL)) @@ -122,7 +130,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. updates them automatically by processing a line at a time. --> // OpenXR current version number. -#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 0, 20) +#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 0, 27) #define XR_HAND_JOINT_COUNT_EXT 26 @@ -203,6 +214,32 @@ maintained in the default branch of the Khronos OpenXR GitHub project. #define XR_NULL_CONTROLLER_MODEL_KEY_MSFT 0 + + +#define XR_NULL_RENDER_MODEL_KEY_FB 0 + + + +#define XR_FACIAL_EXPRESSION_EYE_COUNT_HTC 14 + +#define XR_FACIAL_EXPRESSION_LIP_COUNT_HTC 37 + + + +#define XR_HAND_FOREARM_JOINT_COUNT_ULTRALEAP 27 + + + +#define XR_FACE_EXPRESSSION_SET_DEFAULT_FB XR_FACE_EXPRESSION_SET_DEFAULT_FB + + + +#define XR_MAX_HAPTIC_AMPLITUDE_ENVELOPE_SAMPLES_FB 4000u + + + +#define XR_MAX_HAPTIC_PCM_BUFFER_SIZE_FB 4000 + typedef uint32_t XrBool32; typedef uint64_t XrFlags64; @@ -210,11 +247,18 @@ maintained in the default branch of the Khronos OpenXR GitHub project. typedef int64_t XrDuration; typedef uint64_t XrVersion; + + typedef uint64_t XrSpaceUserIdFB; + XR_DEFINE_ATOM(XrPath) XR_DEFINE_ATOM(XrSystemId) XR_DEFINE_ATOM(XrControllerModelKeyMSFT) + + XR_DEFINE_ATOM(XrAsyncRequestIdFB) + + XR_DEFINE_ATOM(XrRenderModelKeyFB) @@ -268,19 +312,52 @@ maintained in the default branch of the Khronos OpenXR GitHub project. typedef XrFlags64 XrSwapchainCreateFoveationFlagsFB; typedef XrFlags64 XrSwapchainStateFoveationFlagsFB; + + typedef XrFlags64 XrFoveationEyeTrackedProfileCreateFlagsMETA; + typedef XrFlags64 XrFoveationEyeTrackedStateFlagsMETA; + typedef XrFlags64 XrTriangleMeshFlagsFB; typedef XrFlags64 XrPassthroughFlagsFB; typedef XrFlags64 XrPassthroughStateChangedFlagsFB; + typedef XrFlags64 XrPassthroughCapabilityFlagsFB; typedef XrFlags64 XrHandTrackingAimFlagsFB; + + typedef XrFlags64 XrKeyboardTrackingFlagsFB; + typedef XrFlags64 XrKeyboardTrackingQueryFlagsFB; + typedef XrFlags64 XrCompositionLayerSpaceWarpInfoFlagsFB; + + typedef XrFlags64 XrRenderModelFlagsFB; + + + typedef XrFlags64 XrDigitalLensControlFlagsALMALENCE; + + + typedef XrFlags64 XrCompositionLayerSettingsFlagsFB; + + + typedef XrFlags64 XrExternalCameraStatusFlagsOCULUS; + + + typedef XrFlags64 XrPerformanceMetricsCounterFlagsMETA; + + + typedef XrFlags64 XrFoveationDynamicFlagsHTC; + + + typedef XrFlags64 XrFrameEndInfoFlagsML; + + + typedef XrFlags64 XrGlobalDimmerFrameEndInfoFlagsML; + XR_DEFINE_HANDLE(XrInstance) @@ -306,6 +383,24 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XR_DEFINE_HANDLE(XrPassthroughLayerFB) XR_DEFINE_HANDLE(XrGeometryInstanceFB) + + XR_DEFINE_HANDLE(XrFacialTrackerHTC) + + + XR_DEFINE_HANDLE(XrPassthroughHTC) + + + XR_DEFINE_HANDLE(XrFaceTrackerFB) + + + XR_DEFINE_HANDLE(XrBodyTrackerFB) + + + XR_DEFINE_HANDLE(XrEyeTrackerFB) + + + XR_DEFINE_HANDLE(XrSpaceUserFB) + @@ -332,15 +427,15 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + @@ -350,22 +445,29 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + - + + + + + + + + @@ -374,13 +476,82 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + float x @@ -582,7 +753,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrStructureType type const void* next - XrSwapchainCreateFlags createFlags + XrSwapchainCreateFlags createFlags XrSwapchainUsageFlags usageFlags int64_t format uint32_t sampleCount @@ -592,47 +763,47 @@ maintained in the default branch of the Khronos OpenXR GitHub project. uint32_t arraySize uint32_t mipCount - + XrStructureType type void* next - + XrStructureType type void* next uint32_t image - + XrStructureType type void* next uint32_t image - + XrStructureType type void* next VkImage image - + XrStructureType type void* next ID3D11Texture2D* texture - + XrStructureType type void* next ID3D12Resource* texture XrStructureType type - const void* next + const void* next XrStructureType type - const void* next + const void* next XrDuration timeout XrStructureType type - const void* next + const void* next XrStructureType type @@ -808,7 +979,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. float frequency float amplitude - + XrStructureType type const void* next @@ -817,24 +988,24 @@ maintained in the default branch of the Khronos OpenXR GitHub project. const void* next uint8_t varying[4000] - + XrStructureType type const void* next uint32_t lostEventCount - + XrStructureType type const void* next XrTime lossTime - + XrStructureType type const void* next XrSession session XrSessionState state XrTime time - + XrStructureType type const void* next XrSession session @@ -843,7 +1014,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrBool32 poseValid XrPosef poseInPreviousSpace - + XrStructureType type const void* next XrPerfSettingsDomainEXT domain @@ -851,7 +1022,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrPerfSettingsNotificationLevelEXT fromLevel XrPerfSettingsNotificationLevelEXT toLevel - + XrStructureType type const void* next XrSession session @@ -963,7 +1134,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrInputSourceLocalizedNameFlags whichComponents - + XrStructureType type const void* next XrSession session @@ -1101,6 +1272,14 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + + + XrStructureType type + const void* next + VkImageCreateFlags additionalCreateFlags + VkImageUsageFlags additionalUsageFlags + + XrStructureType type @@ -1108,7 +1287,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrOverlaySessionCreateFlagsEXTX createFlags uint32_t sessionLayersPlacement - + XrStructureType type const void* next XrBool32 visible @@ -1116,7 +1295,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + XrStructureType type const void* next float fromDisplayRefreshRate @@ -1141,6 +1320,21 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrFovf maxMutableFov + + + XrStructureType type + const void* next + XrPath binding + XrActionSet actionSet + float forceThreshold + float forceThresholdReleased + float centerRegion + float wedgeAngle + XrBool32 isSticky + const XrHapticBaseHeader* onHaptic + const XrHapticBaseHeader* offHaptic + + XrStructureType type @@ -1178,7 +1372,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + XrStructureType type void* next XrBool32 supportsEyeGazeInteraction @@ -1233,27 +1427,45 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + XR_DEFINE_HANDLE(XrSpatialGraphNodeBindingMSFT) XrStructureType type const void* next XrSpatialGraphNodeTypeMSFT nodeType - uint8_t nodeId[16] + uint8_t nodeId[XR_GUID_SIZE_MSFT] XrPosef pose + + XrStructureType type + const void* next + XrSpace space + XrPosef poseInSpace + XrTime time + + + XrStructureType type + const void* next + + + XrStructureType type + void* next + uint8_t nodeId[XR_GUID_SIZE_MSFT] + XrPosef poseInNodeSpace + - + XrStructureType type void* next XrBool32 supportsHandTracking XrStructureType type - const void* next + const void* next XrHandEXT hand XrHandJointSetEXT handJointSet @@ -1287,6 +1499,108 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrHandJointVelocityEXT* jointVelocities + + + XrStructureType type + void* next + XrBool32 supportsFaceTracking + + + XrStructureType type + const void* next + XrFaceExpressionSetFB faceExpressionSet + + + XrStructureType type + const void* next + XrTime time + + + XrBool32 isValid + XrBool32 isEyeFollowingBlendshapesValid + + + XrStructureType type + void* next + uint32_t weightCount + float* weights + uint32_t confidenceCount + float* confidences + XrFaceExpressionStatusFB status + XrTime time + + + + + XrStructureType type + void* next + XrBool32 supportsBodyTracking + + + XrStructureType type + const void* next + XrBodyJointSetFB bodyJointSet + + + int32_t joint + int32_t parentJoint + XrPosef pose + + + XrStructureType type + void* next + uint32_t jointCount + XrBodySkeletonJointFB* joints + + + XrStructureType type + const void* next + XrSpace baseSpace + XrTime time + + + XrSpaceLocationFlags locationFlags + XrPosef pose + + + XrStructureType type + void* next + XrBool32 isActive + float confidence + uint32_t jointCount + XrBodyJointLocationFB* jointLocations + uint32_t skeletonChangedCount + XrTime time + + + + + XrStructureType type + void* next + XrBool32 supportsEyeTracking + + + XrStructureType type + const void* next + + + XrStructureType type + const void* next + XrSpace baseSpace + XrTime time + + + XrBool32 isValid + XrPosef gazePose + float gazeConfidence + + + XrStructureType type + void* next + XrEyeGazeFB gaze[XR_EYE_POSITION_COUNT_FB] + XrTime time + + @@ -1334,7 +1648,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrVector3f position XrVector3f normal - + XrStructureType type void* next XrBool32 supportsHandTrackingMesh @@ -1343,7 +1657,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrStructureType type - const void* next + const void* next XrHandPoseTypeMSFT handPoseType @@ -1717,12 +2031,57 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + XrStructureType type void* next XrColorSpaceFB colorSpace + + + XrStructureType type + const void* next + XrBool32 supportsSpatialEntity + + + XrStructureType type + const void* next + XrSpace space + XrPosef poseInSpace + XrTime time + + + XrStructureType type + const void* next + XrSpaceComponentTypeFB componentType + XrBool32 enabled + XrDuration timeout + + + XrStructureType type + void* next + XrBool32 enabled + XrBool32 changePending + + + XrStructureType type + const void* next + XrAsyncRequestIdFB requestId + XrResult result + XrSpace space + XrUuidEXT uuid + + + XrStructureType type + const void* next + XrAsyncRequestIdFB requestId + XrResult result + XrSpace space + XrUuidEXT uuid + XrSpaceComponentTypeFB componentType + XrBool32 enabled + + XrStructureType type @@ -1760,6 +2119,24 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrFoveationDynamicFB dynamic + + + XrStructureType type + const void* next + XrFoveationEyeTrackedProfileCreateFlagsMETA flags + + + XrStructureType type + void* next + XrVector2f foveationCenter[XR_FOVEATION_CENTER_SIZE_META] + XrFoveationEyeTrackedStateFlagsMETA flags + + + XrStructureType type + void* next + XrBool32 supportsFoveationEyeTracked + + int16_t x @@ -1768,25 +2145,25 @@ maintained in the default branch of the Khronos OpenXR GitHub project. int16_t w - XrStructureType type - void* next - uint32_t jointCapacityInput - uint32_t jointCountOutput - XrPosef* jointBindPoses - float* jointRadii - XrHandJointEXT* jointParents - uint32_t vertexCapacityInput - uint32_t vertexCountOutput - XrVector3f* vertexPositions - XrVector3f* vertexNormals - XrVector2f* vertexUVs - XrVector4sFB* vertexBlendIndices - XrVector4f* vertexBlendWeights - uint32_t indexCapacityInput - uint32_t indexCountOutput - int16_t* indices + XrStructureType type + void* next + uint32_t jointCapacityInput + uint32_t jointCountOutput + XrPosef* jointBindPoses + float* jointRadii + XrHandJointEXT* jointParents + uint32_t vertexCapacityInput + uint32_t vertexCountOutput + XrVector3f* vertexPositions + XrVector3f* vertexNormals + XrVector2f* vertexUVs + XrVector4sFB* vertexBlendIndices + XrVector4f* vertexBlendWeights + uint32_t indexCapacityInput + uint32_t indexCountOutput + int16_t* indices - + XrStructureType type void* next float sensorOutput @@ -1796,7 +2173,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + XrStructureType type void* next XrHandTrackingAimFlagsFB status @@ -1809,14 +2186,258 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - XrVector3f points[XR_FB_HAND_TRACKING_CAPSULE_POINT_COUNT] + XrVector3f points[XR_HAND_TRACKING_CAPSULE_POINT_COUNT_FB] float radius XrHandJointEXT joint - + XrStructureType type void* next - XrHandCapsuleFB capsules[XR_FB_HAND_TRACKING_CAPSULE_COUNT] + XrHandCapsuleFB capsules[XR_HAND_TRACKING_CAPSULE_COUNT_FB] + + + + + XrStructureType type + void* next + XrPath path + + + XrStructureType type + void* next + uint32_t vendorId + char modelName[XR_MAX_RENDER_MODEL_NAME_SIZE_FB] + XrRenderModelKeyFB modelKey + uint32_t modelVersion + XrRenderModelFlagsFB flags + + + XrStructureType type + void* next + uint32_t bufferCapacityInput + uint32_t bufferCountOutput + uint8_t* buffer + + + XrStructureType type + void* next + XrRenderModelKeyFB modelKey + + + XrStructureType type + void* next + XrBool32 supportsRenderModelLoading + + + XrStructureType type + void* next + XrRenderModelFlagsFB flags + + + + + XrStructureType type + const void* next + + + XrStructureType type + const void* next + + + XrStructureType type + const void* next + XrSpaceQueryActionFB queryAction + uint32_t maxResultCount + XrDuration timeout + const XrSpaceFilterInfoBaseHeaderFB* filter + const XrSpaceFilterInfoBaseHeaderFB* excludeFilter + + + XrStructureType type + const void* next + XrSpaceStorageLocationFB location + + + XrStructureType type + const void* next + uint32_t uuidCount + XrUuidEXT* uuids + + + XrStructureType type + const void* next + XrSpaceComponentTypeFB componentType + + + XrSpace space + XrUuidEXT uuid + + + XrStructureType type + void* next + uint32_t resultCapacityInput + uint32_t resultCountOutput + XrSpaceQueryResultFB* results + + + XrStructureType type + const void* next + XrAsyncRequestIdFB requestId + + + XrStructureType type + const void* next + XrAsyncRequestIdFB requestId + XrResult result + + + + + XrStructureType type + const void* next + XrSpace space + XrSpaceStorageLocationFB location + XrSpacePersistenceModeFB persistenceMode + + + XrStructureType type + const void* next + XrSpace space + XrSpaceStorageLocationFB location + + + XrStructureType type + const void* next + XrAsyncRequestIdFB requestId + XrResult result + XrSpace space + XrUuidEXT uuid + XrSpaceStorageLocationFB location + + + XrStructureType type + const void* next + XrAsyncRequestIdFB requestId + XrResult result + XrSpace space + XrUuidEXT uuid + XrSpaceStorageLocationFB location + + + + + XrStructureType type + const void* next + uint32_t spaceCount + XrSpace* spaces + uint32_t userCount + XrSpaceUserFB* users + + + XrStructureType type + const void* next + XrAsyncRequestIdFB requestId + XrResult result + + + + + XrStructureType type + const void* next + uint32_t spaceCount + XrSpace* spaces + XrSpaceStorageLocationFB location + + + XrStructureType type + const void* next + XrAsyncRequestIdFB requestId + XrResult result + + + + + XrStructureType type + const void* next + uint32_t uuidCapacityInput + uint32_t uuidCountOutput + XrUuidEXT* uuids + + + + + float width + float height + float depth + + + float x + float y + float z + + + XrOffset3DfFB offset + XrExtent3DfFB extent + + + XrStructureType type + const void* next + uint32_t bufferCapacityInput + uint32_t bufferCountOutput + char* buffer + + + XrStructureType type + const void* next + XrUuidEXT floorUuid + XrUuidEXT ceilingUuid + uint32_t wallUuidCapacityInput + uint32_t wallUuidCountOutput + XrUuidEXT* wallUuids + + + XrStructureType type + const void* next + uint32_t vertexCapacityInput + uint32_t vertexCountOutput + XrVector2f* vertices + + + + + XrStructureType type + const void* next + uint32_t requestByteCount + const char* request + + + XrStructureType type + const void* next + XrAsyncRequestIdFB requestId + XrResult result + + + + + XrStructureType type + void* next + XrBool32 supportsKeyboardTracking + + + uint64_t trackedKeyboardId + XrVector3f size + XrKeyboardTrackingFlagsFB flags + char name[XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB] + + + XrStructureType type + void* next + uint64_t trackedKeyboardId + + + XrStructureType type + void* next + XrKeyboardTrackingQueryFlagsFB flags @@ -1840,7 +2461,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrBool32 foveatedRenderingActive - + XrStructureType type void* next XrBool32 supportsFoveatedRendering @@ -1864,21 +2485,26 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrStructureType type - const void* next - XrTriangleMeshFlagsFB flags - XrWindingOrderFB windingOrder - uint32_t vertexCount - const XrVector3f* vertexBuffer - uint32_t triangleCount - const uint32_t*indexBuffer + const void* next + XrTriangleMeshFlagsFB flags + XrWindingOrderFB windingOrder + uint32_t vertexCount + const XrVector3f* vertexBuffer + uint32_t triangleCount + const uint32_t* indexBuffer - + XrStructureType type const void* next XrBool32 supportsPassthrough + + XrStructureType type + const void* next + XrPassthroughCapabilityFlagsFB capabilities + XrStructureType type const void* next @@ -1921,22 +2547,44 @@ maintained in the default branch of the Khronos OpenXR GitHub project. float textureOpacityFactor XrColor4f edgeColor - + XrStructureType type const void* next XrColor4f textureColorMap[XR_PASSTHROUGH_COLOR_MAP_MONO_SIZE_FB] - + XrStructureType type const void* next uint8_t textureColorMap[XR_PASSTHROUGH_COLOR_MAP_MONO_SIZE_FB] + + XrStructureType type + const void* next + float brightness + float contrast + float saturation + XrStructureType type const void* next XrPassthroughStateChangedFlagsFB flags + + + XrStructureType type + const void* next + float leftHandIntensity + float rightHandIntensity + + + + + XrStructureType type + const void* next + XrLocalDimmingModeMETA localDimmingMode + + XR_DEFINE_HANDLE(XrSpatialAnchorStoreConnectionMSFT) @@ -1956,6 +2604,59 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrSpatialAnchorPersistenceNameMSFT spatialAnchorPersistenceName + + + XrStructureType type + const void* next + XrFacialTrackingTypeHTC facialTrackingType + + + XrStructureType type + void* next + XrBool32 supportEyeFacialTracking + XrBool32 supportLipFacialTracking + + + XrStructureType type + const void* next + XrBool32 isActive + XrTime sampleTime + uint32_t expressionCount + float* expressionWeightings + + + + + XrStructureType type + const void* next + XrPassthroughFormHTC form + + + XrStructureType type + const void* next + float alpha + + + XrStructureType type + const void* next + uint32_t vertexCount + const XrVector3f* vertices + uint32_t indexCount + const uint32_t* indices + XrSpace baseSpace + XrTime time + XrPosef pose + XrVector3f scale + + + XrStructureType type + const void* next + XrCompositionLayerFlags layerFlags + XrSpace space + XrPassthroughHTC passthrough + XrPassthroughColorHTC color + + XrStructureType type @@ -1963,7 +2664,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrPath persistentPath XrPath rolePath - + XrStructureType type const void* next XrViveTrackerPathsHTCX* paths @@ -1974,7 +2675,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrStructureType type const void* next - XrCompositionLayerSpaceWarpInfoFlagsFB layerFlags + XrCompositionLayerSpaceWarpInfoFlagsFB layerFlags XrSwapchainSubImage motionVectorSubImage XrPosef appSpaceDeltaPose XrSwapchainSubImage depthSubImage @@ -1983,21 +2684,22 @@ maintained in the default branch of the Khronos OpenXR GitHub project. float nearZ float farZ - + XrStructureType type void* next uint32_t recommendedMotionVectorImageRectWidth uint32_t recommendedMotionVectorImageRectHeight + - + XrStructureType type void* next XrBool32 supportsMarkerTracking - + XrStructureType type const void* next uint64_t markerId @@ -2012,6 +2714,202 @@ maintained in the default branch of the Khronos OpenXR GitHub project. uint64_t markerId XrPosef poseInMarkerSpace + + + + uint8_t data[XR_UUID_SIZE_EXT] + + + + + XrStructureType type + const void* next + float dimmerValue + XrGlobalDimmerFrameEndInfoFlagsML flags + + + + + XrStructureType type + const void* next + XrDigitalLensControlFlagsALMALENCE flags + + + + + + + + + + + XrStructureType type + const void* next + XrCompositionLayerSettingsFlagsFB layerFlags + + + + + XrTime lastChangeTime + XrFovf fov + float virtualNearPlaneDistance + float virtualFarPlaneDistance + XrExtent2Di imageSensorPixelResolution + + + + XrTime lastChangeTime + XrExternalCameraStatusFlagsOCULUS cameraStatusFlags + XrExternalCameraAttachedToDeviceOCULUS attachedToDevice + XrPosef relativePose + + + + XrStructureType type + const void* next + char name[XR_MAX_EXTERNAL_CAMERA_NAME_SIZE_OCULUS] + XrExternalCameraIntrinsicsOCULUS intrinsics + XrExternalCameraExtrinsicsOCULUS extrinsics + + + + + XrStructureType type + const void* next + XrBool32 enabled + + + + XrStructureType type + const void* next + XrPerformanceMetricsCounterFlagsMETA counterFlags + XrPerformanceMetricsCounterUnitMETA counterUnit + uint32_t uintValue + float floatValue + + + + + XrStructureType type + void* next + XrUuidEXT id + + + + + XrStructureType type + const void* next + XrFoveationModeHTC mode + uint32_t subImageCount + XrSwapchainSubImage* subImages + + + XrFoveationLevelHTC level + float clearFovDegree + XrVector2f focalCenterOffset + + + XrStructureType type + const void* next + XrFoveationDynamicFlagsHTC dynamicFlags + + + XrStructureType type + const void* next + uint32_t configCount + const XrFoveationConfigurationHTC* configs + + + + + XrStructureType type + const void* next + uint32_t actionSetPriorityCount + const XrActiveActionSetPriorityEXT* actionSetPriorities + + + + XrActionSet actionSet + uint32_t priorityOverride + + + + + XrStructureType type + const void* next + XrBool32 depthMask + XrCompareOpFB compareOp + + + + XrStructureType type + const void* next + MLCoordinateFrameUID cfuid + XrPosef poseInCoordinateSpace + + + + + + XrStructureType type + const void* next + float focusDistance + XrFrameEndInfoFlagsML flags + + + + + XrStructureType type + const void* next + XrDuration duration + uint32_t amplitudeCount + const float* amplitudes + + + + + XrStructureType type + const void* next + uint32_t bufferSize + const float* buffer + float sampleRate + XrBool32 append + uint32_t* samplesConsumed + + + XrStructureType type + void* next + float sampleRate + + + + + + + XrStructureType type + const void* next + XrSpaceUserIdFB userId + + + + + XrStructureType type + void* next + XrBool32 supportsForceFeedbackCurl + + + + XrStructureType type + const void* next + uint32_t locationCount + XrForceFeedbackCurlApplyLocationMNDX* locations + + + + XrForceFeedbackCurlLocationMNDX location + float value + + @@ -2035,7 +2933,6 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - - - - - + + + + @@ -2242,17 +3128,9 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - - - + + + @@ -2311,6 +3189,170 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2341,6 +3383,37 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2368,7 +3441,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -2380,8 +3453,8 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - - + + @@ -2491,12 +3564,32 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + + + + + + + + + + + + + + + + + + + + @@ -2526,6 +3619,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + @@ -2533,6 +3627,33 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2547,9 +3668,206 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2741,6 +4059,9 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrResult xrBeginFrame XrSession session const XrFrameBeginInfo* frameBeginInfo + + the pname:session parameter by any other flink:xrBeginFrame or flink:xrEndFrame call + XrResult xrLocateViews @@ -2755,6 +4076,9 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrResult xrEndFrame XrSession session const XrFrameEndInfo* frameEndInfo + + the pname:session parameter by any other flink:xrBeginFrame or flink:xrEndFrame call + XrResult xrWaitFrame @@ -3019,23 +4343,23 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrResult xrCreateVulkanInstanceKHR - XrInstance instance + XrInstance instance const XrVulkanInstanceCreateInfoKHR* createInfo - VkInstance* vulkanInstance - VkResult* vulkanResult + VkInstance* vulkanInstance + VkResult* vulkanResult XrResult xrCreateVulkanDeviceKHR - XrInstance instance - const XrVulkanDeviceCreateInfoKHR* createInfo - VkDevice* vulkanDevice - VkResult* vulkanResult + XrInstance instance + const XrVulkanDeviceCreateInfoKHR* createInfo + VkDevice* vulkanDevice + VkResult* vulkanResult XrResult xrGetVulkanGraphicsDevice2KHR - XrInstance instance + XrInstance instance const XrVulkanGraphicsDeviceGetInfoKHR* getInfo - VkPhysicalDevice* vulkanPhysicalDevice + VkPhysicalDevice* vulkanPhysicalDevice @@ -3125,13 +4449,29 @@ maintained in the default branch of the Khronos OpenXR GitHub project. const XrLoaderInitInfoBaseHeaderKHR* loaderInitInfo - + XrResult xrCreateSpatialGraphNodeSpaceMSFT XrSession session const XrSpatialGraphNodeSpaceCreateInfoMSFT* createInfo XrSpace* space + + XrResult xrTryCreateSpatialGraphStaticNodeBindingMSFT + XrSession session + const XrSpatialGraphStaticNodeBindingCreateInfoMSFT* createInfo + XrSpatialGraphNodeBindingMSFT* nodeBinding + + + XrResult xrDestroySpatialGraphNodeBindingMSFT + XrSpatialGraphNodeBindingMSFT nodeBinding + + + XrResult xrGetSpatialGraphNodeBindingPropertiesMSFT + XrSpatialGraphNodeBindingMSFT nodeBinding + const XrSpatialGraphNodeBindingPropertiesGetInfoMSFT* getInfo + XrSpatialGraphNodeBindingPropertiesMSFT* properties + @@ -3151,6 +4491,65 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrHandJointLocationsEXT* locations + + + XrResult xrCreateFaceTrackerFB + XrSession session + const XrFaceTrackerCreateInfoFB* createInfo + XrFaceTrackerFB* faceTracker + + + XrResult xrDestroyFaceTrackerFB + XrFaceTrackerFB faceTracker + + + XrResult xrGetFaceExpressionWeightsFB + XrFaceTrackerFB faceTracker + const XrFaceExpressionInfoFB* expressionInfo + XrFaceExpressionWeightsFB* expressionWeights + + + + + XrResult xrCreateBodyTrackerFB + XrSession session + const XrBodyTrackerCreateInfoFB* createInfo + XrBodyTrackerFB* bodyTracker + + + XrResult xrDestroyBodyTrackerFB + XrBodyTrackerFB bodyTracker + + + XrResult xrLocateBodyJointsFB + XrBodyTrackerFB bodyTracker + const XrBodyJointsLocateInfoFB* locateInfo + XrBodyJointLocationsFB* locations + + + XrResult xrGetBodySkeletonFB + XrBodyTrackerFB bodyTracker + XrBodySkeletonFB* skeleton + + + + + XrResult xrCreateEyeTrackerFB + XrSession session + const XrEyeTrackerCreateInfoFB* createInfo + XrEyeTrackerFB* eyeTracker + + + XrResult xrDestroyEyeTrackerFB + XrEyeTrackerFB eyeTracker + + + XrResult xrGetEyeGazesFB + XrEyeTrackerFB eyeTracker + const XrEyeGazesInfoFB* gazeInfo + XrEyeGazesFB* eyeGazes + + XrResult xrCreateHandMeshSpaceMSFT @@ -3212,7 +4611,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrResult xrDestroySceneObserverMSFT XrSceneObserverMSFT sceneObserver - + XrResult xrCreateSceneMSFT XrSceneObserverMSFT sceneObserver const XrSceneCreateInfoMSFT* createInfo @@ -3222,7 +4621,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrResult xrDestroySceneMSFT XrSceneMSFT scene - + XrResult xrComputeNewSceneMSFT XrSceneObserverMSFT sceneObserver const XrNewSceneComputeInfoMSFT* computeInfo @@ -3232,7 +4631,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrSceneObserverMSFT sceneObserver XrSceneComputeStateMSFT* state - + XrResult xrGetSceneComponentsMSFT XrSceneMSFT scene const XrSceneComponentsGetInfoMSFT* getInfo @@ -3244,7 +4643,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. const XrSceneComponentsLocateInfoMSFT* locateInfo XrSceneComponentLocationsMSFT* locations - + XrResult xrGetSceneMeshBuffersMSFT XrSceneMSFT scene const XrSceneMeshBuffersGetInfoMSFT* getInfo @@ -3252,12 +4651,12 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + XrResult xrDeserializeSceneMSFT XrSceneObserverMSFT sceneObserver const XrSceneDeserializeInfoMSFT* deserializeInfo - + XrResult xrGetSerializedSceneFragmentDataMSFT XrSceneMSFT scene const XrSerializedSceneFragmentDataGetInfoMSFT* getInfo @@ -3338,6 +4737,13 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrFoveationProfileFB profile + + + XrResult xrGetFoveationEyeTrackedStateMETA + XrSession session + XrFoveationEyeTrackedStateMETA* foveationState + + XrResult xrGetHandMeshFB @@ -3345,6 +4751,41 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrHandTrackingMeshFB* mesh + + + XrResult xrEnumerateRenderModelPathsFB + XrSession session + uint32_t pathCapacityInput + uint32_t* pathCountOutput + XrRenderModelPathInfoFB* paths + + + XrResult xrGetRenderModelPropertiesFB + XrSession session + XrPath path + XrRenderModelPropertiesFB* properties + + + XrResult xrLoadRenderModelFB + XrSession session + const XrRenderModelLoadInfoFB* info + XrRenderModelBufferFB* buffer + + + + + XrResult xrQuerySystemTrackedKeyboardFB + XrSession session + const XrKeyboardTrackingQueryFB* queryInfo + XrKeyboardTrackingDescriptionFB* keyboard + + + XrResult xrCreateKeyboardSpaceFB + XrSession session + const XrKeyboardSpaceCreateInfoFB* createInfo + XrSpace* keyboardSpace + + XrResult xrSetEnvironmentDepthEstimationVARJO @@ -3376,6 +4817,38 @@ maintained in the default branch of the Khronos OpenXR GitHub project. wchar_t buffer[XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS] + + + XrResult xrCreateSpatialAnchorFB + XrSession session + const XrSpatialAnchorCreateInfoFB* info + XrAsyncRequestIdFB* requestId + + + XrResult xrGetSpaceUuidFB + XrSpace space + XrUuidEXT* uuid + + + XrResult xrEnumerateSpaceSupportedComponentsFB + XrSpace space + uint32_t componentTypeCapacityInput + uint32_t* componentTypeCountOutput + XrSpaceComponentTypeFB* componentTypes + + + XrResult xrSetSpaceComponentStatusFB + XrSpace space + const XrSpaceComponentStatusSetInfoFB* info + XrAsyncRequestIdFB* requestId + + + XrResult xrGetSpaceComponentStatusFB + XrSpace space + XrSpaceComponentTypeFB componentType + XrSpaceComponentStatusFB* status + + XrResult xrCreateTriangleMeshFB @@ -3400,22 +4873,22 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrTriangleMeshFB mesh uint32_t** outIndexBuffer - + XrResult xrTriangleMeshBeginUpdateFB XrTriangleMeshFB mesh - + XrResult xrTriangleMeshEndUpdateFB XrTriangleMeshFB mesh uint32_t vertexCount uint32_t triangleCount - + XrResult xrTriangleMeshBeginVertexBufferUpdateFB XrTriangleMeshFB mesh uint32_t* outVertexCount - + XrResult xrTriangleMeshEndVertexBufferUpdateFB XrTriangleMeshFB mesh @@ -3478,6 +4951,105 @@ maintained in the default branch of the Khronos OpenXR GitHub project. const XrGeometryInstanceTransformFB* transformation + + + XrResult xrQuerySpacesFB + XrSession session + const XrSpaceQueryInfoBaseHeaderFB* info + XrAsyncRequestIdFB* requestId + + + XrResult xrRetrieveSpaceQueryResultsFB + XrSession session + XrAsyncRequestIdFB requestId + XrSpaceQueryResultsFB* results + + + + + XrResult xrSaveSpaceFB + XrSession session + const XrSpaceSaveInfoFB* info + XrAsyncRequestIdFB* requestId + + + XrResult xrEraseSpaceFB + XrSession session + const XrSpaceEraseInfoFB* info + XrAsyncRequestIdFB* requestId + + + + + XrResult xrSaveSpaceListFB + XrSession session + const XrSpaceListSaveInfoFB* info + XrAsyncRequestIdFB* requestId + + + + + XrResult xrShareSpacesFB + XrSession session + const XrSpaceShareInfoFB* info + XrAsyncRequestIdFB* requestId + + + + + XrResult xrGetSpaceContainerFB + XrSession session + XrSpace space + XrSpaceContainerFB* spaceContainerOutput + + + + + XrResult xrGetSpaceBoundingBox2DFB + XrSession session + XrSpace space + XrRect2Df* boundingBox2DOutput + + + XrResult xrGetSpaceBoundingBox3DFB + XrSession session + XrSpace space + XrRect3DfFB* boundingBox3DOutput + + + XrResult xrGetSpaceSemanticLabelsFB + XrSession session + XrSpace space + XrSemanticLabelsFB* semanticLabelsOutput + + + XrResult xrGetSpaceBoundary2DFB + XrSession session + XrSpace space + XrBoundary2DFB* boundary2DOutput + + + XrResult xrGetSpaceRoomLayoutFB + XrSession session + XrSpace space + XrRoomLayoutFB* roomLayoutOutput + + + + + XrResult xrRequestSceneCaptureFB + XrSession session + const XrSceneCaptureRequestInfoFB* info + XrAsyncRequestIdFB* requestId + + + + + XrResult xrPassthroughLayerSetKeyboardHandsIntensityFB + XrPassthroughLayerFB layer + const XrPassthroughKeyboardHandsIntensityFB* intensity + + XrResult xrCreateSpatialAnchorStoreConnectionMSFT @@ -3516,6 +5088,35 @@ maintained in the default branch of the Khronos OpenXR GitHub project. XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore + + + XrResult xrCreateFacialTrackerHTC + XrSession session + const XrFacialTrackerCreateInfoHTC* createInfo + XrFacialTrackerHTC* facialTracker + + + XrResult xrDestroyFacialTrackerHTC + XrFacialTrackerHTC facialTracker + + + XrResult xrGetFacialExpressionsHTC + XrFacialTrackerHTC facialTracker + XrFacialExpressionsHTC* facialExpressions + + + + + XrResult xrCreatePassthroughHTC + XrSession session + const XrPassthroughCreateInfoHTC* createInfo + XrPassthroughHTC* passthrough + + + XrResult xrDestroyPassthroughHTC + XrPassthroughHTC passthrough + + XrResult xrEnumerateViveTrackerPathsHTCX @@ -3559,8 +5160,597 @@ maintained in the default branch of the Khronos OpenXR GitHub project. const XrMarkerSpaceCreateInfoVARJO* createInfo XrSpace* space + + + + XrResult xrSetDigitalLensControlALMALENCE + XrSession session + const XrDigitalLensControlALMALENCE* digitalLensControl + + + + + XrResult xrSetViewOffsetVARJO + XrSession session + float offset + + + + + XrResult xrEnumerateExternalCamerasOCULUS + XrSession session + uint32_t cameraCapacityInput + uint32_t* cameraCountOutput + XrExternalCameraOCULUS* cameras + + + + + XrResult xrEnumeratePerformanceMetricsCounterPathsMETA + XrInstance instance + uint32_t counterPathCapacityInput + uint32_t* counterPathCountOutput + XrPath* counterPaths + + + + XrResult xrSetPerformanceMetricsStateMETA + XrSession session + const XrPerformanceMetricsStateMETA* state + + + + XrResult xrGetPerformanceMetricsStateMETA + XrSession session + XrPerformanceMetricsStateMETA* state + + + + XrResult xrQueryPerformanceMetricsCounterMETA + XrSession session + XrPath counterPath + XrPerformanceMetricsCounterMETA* counter + + + + + XrResult xrApplyFoveationHTC + XrSession session + const XrFoveationApplyInfoHTC* applyInfo + + + + + + XrResult xrCreateSpaceFromCoordinateFrameUIDML + XrSession session + const XrCoordinateSpaceCreateInfoML *createInfo + XrSpace* space + + + + + XrResult xrGetDeviceSampleRateFB + XrSession session + const XrHapticActionInfo* hapticActionInfo + XrDevicePcmSampleRateGetInfoFB* deviceSampleRate + + + + + XrResult xrSetTrackingOptimizationSettingsHintQCOM + XrSession session + XrTrackingOptimizationSettingsDomainQCOM domain + XrTrackingOptimizationSettingsHintQCOM hint + + + + + XrResult xrCreateSpaceUserFB + XrSession session + const XrSpaceUserCreateInfoFB* info + XrSpaceUserFB* user + + + XrResult xrGetSpaceUserIdFB + XrSpaceUserFB user + XrSpaceUserIdFB* userId + + + XrResult xrDestroySpaceUserFB + XrSpaceUserFB user + + + + + XrResult xrApplyForceFeedbackCurlMNDX + XrHandTrackerEXT handTracker + const XrForceFeedbackCurlApplyLocationsMNDX* locations + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + @@ -3745,7 +5945,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3754,7 +5954,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3764,9 +5964,9 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + @@ -3774,7 +5974,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3784,7 +5984,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3793,9 +5993,9 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + @@ -3803,9 +6003,9 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + @@ -3818,7 +6018,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3829,7 +6029,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3839,7 +6039,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3849,13 +6049,13 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - - - - - - - + + + + + + + @@ -3874,7 +6074,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3882,7 +6082,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3890,7 +6090,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3911,7 +6111,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3926,7 +6126,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3944,7 +6144,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3952,7 +6152,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3967,7 +6167,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3982,7 +6182,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -3990,22 +6190,24 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - - + + + + - + - - + + @@ -4016,7 +6218,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4024,7 +6226,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4037,16 +6239,16 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + @@ -4055,7 +6257,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4064,33 +6266,33 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - - + + - + - + - + - - + + - - + + @@ -4115,44 +6317,44 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + - + - + - + - + @@ -4164,34 +6366,52 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + + + + + + + + + + + + - + + + + + + + + - + @@ -4211,7 +6431,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4221,10 +6441,9 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + @@ -4250,7 +6469,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4258,28 +6477,27 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - - - - - - - + + + + + + + - + - + - + @@ -4295,21 +6513,21 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - - - - - - + + + + + + - + @@ -4320,37 +6538,37 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + - + - + - + @@ -4359,21 +6577,21 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + @@ -4382,37 +6600,53 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - - - + + + - + - + - + + + + + + + + + + + + + + + + + - + @@ -4422,7 +6656,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4443,58 +6677,142 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + @@ -4506,56 +6824,56 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + - + - + - + - + - + @@ -4564,7 +6882,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4573,7 +6891,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4596,7 +6914,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4605,35 +6923,70 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + - + @@ -4642,7 +6995,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4690,70 +7043,69 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + - + - + - + - + @@ -4768,14 +7120,29 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + + + + + + + + + + + + + + + + - + @@ -4783,40 +7150,95 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + + + + + + + + + + + + + + + - + - - + + + + + + + + + + + + + + + + + + + + + - + - - + + + + + + + + + + + + + + + + - + - - + + + + + + + + - + - - + + + - + @@ -4832,14 +7254,14 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + @@ -4855,7 +7277,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4866,23 +7288,57 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - - + + + + + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4919,16 +7375,30 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - - + + + + + + + + + + + + + + + + - + @@ -4952,7 +7422,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -4961,25 +7431,28 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + + - - - - - - + + + + + + - - - + + + + @@ -4988,6 +7461,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. + @@ -5005,18 +7479,42 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -5024,13 +7522,13 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - - - + + + - + @@ -5040,16 +7538,16 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + @@ -5080,121 +7578,143 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - - + + + - + - + - + - + - + - + - + - + - + - - + + + + + + + + + + + + + + + + + - + - - + + + + - + - - + + + + - + - - + + + + - + - + - + - + @@ -5230,121 +7750,168 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - + - + - + - + - + - - + + + + + + + - + - + - + - + - + - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + + + + + + + + + + + + + + + + + + - + - + @@ -5363,7 +7930,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -5372,7 +7939,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -5381,7 +7948,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -5390,7 +7957,7 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + @@ -5405,42 +7972,56 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - - + + - + - + - - + + + + + + + + + + + + + + + + - + - + @@ -5451,36 +8032,79 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - + - - + + + + + - + - + - - + + + + + + + + + + + + + + + + + + + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -5617,80 +8241,2058 @@ maintained in the default branch of the Khronos OpenXR GitHub project. - + - - + + + + + + - + - + - - + + + + + + + + + + + - + - - + + + + + + + + - + - - + + + + + + + + + + + + + + + + + + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + + + + + + + + + + + + + + + + + + + + + + - + - - + + + + + + + + + + + - + - - + + + + + - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +