Monado OpenXR Runtime
oxr_api_funcs.h File Reference

Header defining all API functions. More...

Include dependency graph for oxr_api_funcs.h:

Go to the source code of this file.

Functions

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInstanceProcAddr (XrInstance instance, const char *name, PFN_xrVoidFunction *function)
 OpenXR API function xrGetInstanceProcAddr. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateApiLayerProperties (uint32_t propertyCapacityInput, uint32_t *propertyCountOutput, XrApiLayerProperties *properties)
 OpenXR API function xrEnumerateApiLayerProperties. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateInstanceExtensionProperties (const char *layerName, uint32_t propertyCapacityInput, uint32_t *propertyCountOutput, XrExtensionProperties *properties)
 OpenXR API function xrEnumerateInstanceExtensionProperties. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateInstance (const XrInstanceCreateInfo *createInfo, XrInstance *instance)
 OpenXR API function xrCreateInstance. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyInstance (XrInstance instance)
 OpenXR API function xrDestroyInstance. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInstanceProperties (XrInstance instance, XrInstanceProperties *instanceProperties)
 OpenXR API function xrGetInstanceProperties. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrPollEvent (XrInstance instance, XrEventDataBuffer *eventData)
 OpenXR API function xrPollEvent. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrResultToString (XrInstance instance, XrResult value, char buffer[XR_MAX_RESULT_STRING_SIZE])
 OpenXR API function xrResultToString. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStructureTypeToString (XrInstance instance, XrStructureType value, char buffer[XR_MAX_STRUCTURE_NAME_SIZE])
 OpenXR API function xrStructureTypeToString. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStringToPath (XrInstance instance, const char *pathString, XrPath *path)
 OpenXR API function xrStringToPath. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrPathToString (XrInstance instance, XrPath path, uint32_t bufferCapacityInput, uint32_t *bufferCountOutput, char *buffer)
 OpenXR API function xrPathToString. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrConvertTimespecTimeToTimeKHR (XrInstance instance, const struct timespec *timespecTime, XrTime *time)
 OpenXR API function xrConvertTimespecTimeToTimeKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrConvertTimeToTimespecTimeKHR (XrInstance instance, XrTime time, struct timespec *timespecTime)
 OpenXR API function xrConvertTimeToTimespecTimeKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetSystem (XrInstance instance, const XrSystemGetInfo *getInfo, XrSystemId *systemId)
 OpenXR API function xrGetSystem. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetSystemProperties (XrInstance instance, XrSystemId systemId, XrSystemProperties *properties)
 OpenXR API function xrGetSystemProperties. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateViewConfigurations (XrInstance instance, XrSystemId systemId, uint32_t viewConfigurationTypeCapacityInput, uint32_t *viewConfigurationTypeCountOutput, XrViewConfigurationType *viewConfigurationTypes)
 OpenXR API function xrEnumerateViewConfigurations. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetViewConfigurationProperties (XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, XrViewConfigurationProperties *configurationProperties)
 OpenXR API function xrGetViewConfigurationProperties. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateViewConfigurationViews (XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, uint32_t viewCapacityInput, uint32_t *viewCountOutput, XrViewConfigurationView *views)
 OpenXR API function xrEnumerateViewConfigurationViews. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateEnvironmentBlendModes (XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, uint32_t environmentBlendModeCapacityInput, uint32_t *environmentBlendModeCountOutput, XrEnvironmentBlendMode *environmentBlendModes)
 OpenXR API function xrEnumerateEnvironmentBlendModes. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetOpenGLGraphicsRequirementsKHR (XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsOpenGLKHR *graphicsRequirements)
 OpenXR API function xrGetOpenGLGraphicsRequirementsKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanInstanceExtensionsKHR (XrInstance instance, XrSystemId systemId, uint32_t namesCapacityInput, uint32_t *namesCountOutput, char *namesString)
 OpenXR API function xrGetVulkanInstanceExtensionsKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanDeviceExtensionsKHR (XrInstance instance, XrSystemId systemId, uint32_t namesCapacityInput, uint32_t *namesCountOutput, char *namesString)
 OpenXR API function xrGetVulkanDeviceExtensionsKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsDeviceKHR (XrInstance instance, XrSystemId systemId, VkInstance vkInstance, VkPhysicalDevice *vkPhysicalDevice)
 OpenXR API function xrGetVulkanGraphicsDeviceKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsDevice2KHR (XrInstance instance, const XrVulkanGraphicsDeviceGetInfoKHR *getInfo, VkPhysicalDevice *vkPhysicalDevice)
 OpenXR API function xrGetVulkanGraphicsDeviceKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsRequirementsKHR (XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkanKHR *graphicsRequirements)
 OpenXR API function xrGetVulkanGraphicsRequirementsKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsRequirements2KHR (XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkan2KHR *graphicsRequirements)
 OpenXR API function xrGetVulkanGraphicsRequirements2KHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateVulkanInstanceKHR (XrInstance instance, const XrVulkanInstanceCreateInfoKHR *createInfo, VkInstance *vulkanInstance, VkResult *vulkanResult)
 OpenXR API function xrCreateVulkanInstanceKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateVulkanDeviceKHR (XrInstance instance, const XrVulkanDeviceCreateInfoKHR *createInfo, VkDevice *vulkanDevice, VkResult *vulkanResult)
 OpenXR API function xrCreateVulkanDeviceKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateSession (XrInstance instance, const XrSessionCreateInfo *createInfo, XrSession *session)
 OpenXR API function xrCreateSession. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySession (XrSession session)
 OpenXR API function xrDestroySession. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrBeginSession (XrSession session, const XrSessionBeginInfo *beginInfo)
 OpenXR API function xrBeginSession. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEndSession (XrSession session)
 OpenXR API function xrEndSession. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrWaitFrame (XrSession session, const XrFrameWaitInfo *frameWaitInfo, XrFrameState *frameState)
 OpenXR API function xrWaitFrame. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrBeginFrame (XrSession session, const XrFrameBeginInfo *frameBeginInfo)
 OpenXR API function xrBeginFrame. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEndFrame (XrSession session, const XrFrameEndInfo *frameEndInfo)
 OpenXR API function xrEndFrame. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrRequestExitSession (XrSession session)
 OpenXR API function xrRequestExitSession. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateViews (XrSession session, const XrViewLocateInfo *viewLocateInfo, XrViewState *viewState, uint32_t viewCapacityInput, uint32_t *viewCountOutput, XrView *views)
 OpenXR API function xrLocateViews. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateReferenceSpaces (XrSession session, uint32_t spaceCapacityInput, uint32_t *spaceCountOutput, XrReferenceSpaceType *spaces)
 OpenXR API function xrEnumerateReferenceSpaces. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetReferenceSpaceBoundsRect (XrSession session, XrReferenceSpaceType referenceSpaceType, XrExtent2Df *bounds)
 OpenXR API function xrGetReferenceSpaceBoundsRect. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateReferenceSpace (XrSession session, const XrReferenceSpaceCreateInfo *createInfo, XrSpace *space)
 OpenXR API function xrCreateReferenceSpace. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpace (XrSpace space, XrSpace baseSpace, XrTime time, XrSpaceLocation *location)
 OpenXR API function xrLocateSpace. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySpace (XrSpace space)
 OpenXR API function xrDestroySpace. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateSwapchainFormats (XrSession session, uint32_t formatCapacityInput, uint32_t *formatCountOutput, int64_t *formats)
 OpenXR API function xrEnumerateSwapchainFormats. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateSwapchain (XrSession session, const XrSwapchainCreateInfo *createInfo, XrSwapchain *swapchain)
 OpenXR API function xrCreateSwapchain. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySwapchain (XrSwapchain swapchain)
 OpenXR API function xrDestroySwapchain. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateSwapchainImages (XrSwapchain swapchain, uint32_t imageCapacityInput, uint32_t *imageCountOutput, XrSwapchainImageBaseHeader *images)
 OpenXR API function xrEnumerateSwapchainImages. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrAcquireSwapchainImage (XrSwapchain swapchain, const XrSwapchainImageAcquireInfo *acquireInfo, uint32_t *index)
 OpenXR API function xrAcquireSwapchainImage. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrWaitSwapchainImage (XrSwapchain swapchain, const XrSwapchainImageWaitInfo *waitInfo)
 OpenXR API function xrWaitSwapchainImage. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrReleaseSwapchainImage (XrSwapchain swapchain, const XrSwapchainImageReleaseInfo *releaseInfo)
 OpenXR API function xrReleaseSwapchainImage. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSetDebugUtilsObjectNameEXT (XrInstance instance, const XrDebugUtilsObjectNameInfoEXT *nameInfo)
 OpenXR API function xrSetDebugUtilsObjectNameEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateDebugUtilsMessengerEXT (XrInstance instance, const XrDebugUtilsMessengerCreateInfoEXT *createInfo, XrDebugUtilsMessengerEXT *messenger)
 OpenXR API function xrCreateDebugUtilsMessengerEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyDebugUtilsMessengerEXT (XrDebugUtilsMessengerEXT messenger)
 OpenXR API function xrDestroyDebugUtilsMessengerEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSubmitDebugUtilsMessageEXT (XrInstance instance, XrDebugUtilsMessageSeverityFlagsEXT messageSeverity, XrDebugUtilsMessageTypeFlagsEXT messageTypes, const XrDebugUtilsMessengerCallbackDataEXT *callbackData)
 OpenXR API function xrSubmitDebugUtilsMessageEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionBeginDebugUtilsLabelRegionEXT (XrSession session, const XrDebugUtilsLabelEXT *labelInfo)
 OpenXR API function xrSessionBeginDebugUtilsLabelRegionEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionEndDebugUtilsLabelRegionEXT (XrSession session)
 OpenXR API function xrSessionEndDebugUtilsLabelRegionEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionInsertDebugUtilsLabelEXT (XrSession session, const XrDebugUtilsLabelEXT *labelInfo)
 OpenXR API function xrSessionInsertDebugUtilsLabelEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateActionSpace (XrSession session, const XrActionSpaceCreateInfo *createInfo, XrSpace *space)
 OpenXR API function xrCreateActionSpace. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateActionSet (XrInstance instance, const XrActionSetCreateInfo *createInfo, XrActionSet *actionSet)
 OpenXR API function xrCreateActionSet. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyActionSet (XrActionSet actionSet)
 OpenXR API function xrDestroyActionSet. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateAction (XrActionSet actionSet, const XrActionCreateInfo *createInfo, XrAction *action)
 OpenXR API function xrCreateAction. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyAction (XrAction action)
 OpenXR API function xrDestroyAction. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSuggestInteractionProfileBindings (XrInstance instance, const XrInteractionProfileSuggestedBinding *suggestedBindings)
 OpenXR API function xrSuggestInteractionProfileBindings. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrAttachSessionActionSets (XrSession session, const XrSessionActionSetsAttachInfo *bindInfo)
 OpenXR API function xrAttachSessionActionSets. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetCurrentInteractionProfile (XrSession session, XrPath topLevelUserPath, XrInteractionProfileState *interactionProfile)
 OpenXR API function xrGetCurrentInteractionProfile. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateBoolean (XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateBoolean *data)
 OpenXR API function xrGetActionStateBoolean. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateFloat (XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateFloat *data)
 OpenXR API function xrGetActionStateFloat. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateVector2f (XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateVector2f *data)
 OpenXR API function xrGetActionStateVector2f. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStatePose (XrSession session, const XrActionStateGetInfo *getInfo, XrActionStatePose *data)
 OpenXR API function xrGetActionStatePose. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSyncActions (XrSession session, const XrActionsSyncInfo *syncInfo)
 OpenXR API function xrSyncActions. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateBoundSourcesForAction (XrSession session, const XrBoundSourcesForActionEnumerateInfo *enumerateInfo, uint32_t sourceCapacityInput, uint32_t *sourceCountOutput, XrPath *sources)
 OpenXR API function xrEnumerateBoundSourcesForAction. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInputSourceLocalizedName (XrSession session, const XrInputSourceLocalizedNameGetInfo *getInfo, uint32_t bufferCapacityInput, uint32_t *bufferCountOutput, char *buffer)
 OpenXR API function xrGetInputSourceLocalizedName. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrApplyHapticFeedback (XrSession session, const XrHapticActionInfo *hapticActionInfo, const XrHapticBaseHeader *hapticEvent)
 OpenXR API function xrApplyHapticFeedback. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStopHapticFeedback (XrSession session, const XrHapticActionInfo *hapticActionInfo)
 OpenXR API function xrStopHapticFeedback. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateHandTrackerEXT (XrSession session, const XrHandTrackerCreateInfoEXT *createInfo, XrHandTrackerEXT *handTracker)
 OpenXR API function xrCreateHandTrackerEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyHandTrackerEXT (XrHandTrackerEXT handTracker)
 OpenXR API function xrDestroyHandTrackerEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateHandJointsEXT (XrHandTrackerEXT handTracker, const XrHandJointsLocateInfoEXT *locateInfo, XrHandJointLocationsEXT *locations)
 OpenXR API function xrLocateHandJointsEXT. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrApplyForceFeedbackCurlMNDX (XrHandTrackerEXT handTracker, const XrForceFeedbackCurlApplyLocationsMNDX *locations)
 OpenXR API function xrApplyForceFeedbackCurlMNDX. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateDisplayRefreshRatesFB (XrSession session, uint32_t displayRefreshRateCapacityInput, uint32_t *displayRefreshRateCountOutput, float *displayRefreshRates)
 OpenXR API function xrEnumerateDisplayRefreshRatesFB. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetDisplayRefreshRateFB (XrSession session, float *displayRefreshRate)
 OpenXR API function xrGetDisplayRefreshRateFB. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrRequestDisplayRefreshRateFB (XrSession session, float displayRefreshRate)
 OpenXR API function xrRequestDisplayRefreshRateFB. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpacesKHR (XrSession session, const XrSpacesLocateInfoKHR *locateInfo, XrSpaceLocationsKHR *spaceLocations)
 OpenXR API function xrLocateSpacesKHR. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpaces (XrSession session, const XrSpacesLocateInfo *locateInfo, XrSpaceLocations *spaceLocations)
 OpenXR API function xrLocateSpaces. More...
 

Detailed Description