Monado OpenXR Runtime
Files | Functions
OpenXR entrypoints

Gets called from the client application, does most verification and routes calls into OpenXR main code functions. More...

Collaboration diagram for OpenXR entrypoints:

Files

file  oxr_api_action.c
 Action related API entrypoint functions.
 
file  oxr_api_debug.c
 Debug messaging entrypoints for the OpenXR state tracker.
 
file  oxr_api_funcs.h
 Header defining all API functions.
 
file  oxr_api_instance.c
 Holds instance related entrypoints.
 
file  oxr_api_negotiate.c
 File for negotiating with the loader.
 
file  oxr_api_session.c
 Session entrypoints for the OpenXR state tracker.
 
file  oxr_api_space.c
 Space, space, space, SPAAAAAAAAAAAAAAAAAAAAAAAAAACE!
 
file  oxr_api_swapchain.c
 Swapchain entrypoints for the OpenXR state tracker.
 
file  oxr_api_system.c
 Holds system related entrypoints.
 
file  oxr_api_verify.h
 File for verifing app input into api functions.
 
file  oxr_verify.c
 File for verifing app input into api functions.
 

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_xrGetVulkanGraphicsRequirementsKHR (XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkanKHR *graphicsRequirements)
 OpenXR API function xrGetVulkanGraphicsRequirementsKHR. 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...
 
XrResult oxr_verify_full_path_c (struct oxr_logger *log, const char *path, const char *name)
 
XrResult oxr_verify_full_path (struct oxr_logger *log, const char *path, size_t length, const char *name)
 Verify a full path. More...
 
XrResult oxr_verify_fixed_size_single_level_path (struct oxr_logger *, const char *path, uint32_t array_size, const char *name)
 Verify a single path level that sits inside of a fixed sized array. More...
 
XrResult oxr_verify_localized_name (struct oxr_logger *, const char *string, uint32_t array_size, const char *name)
 Verify an arbitrary UTF-8 string that sits inside of a fixed sized array. More...
 
XrResult oxr_verify_subaction_paths_create (struct oxr_logger *log, struct oxr_instance *inst, uint32_t countSubactionPaths, const XrPath *subactionPaths, const char *variable)
 Verify a set of subaction paths for action creation. More...
 
XrResult oxr_verify_subaction_path_sync (struct oxr_logger *log, struct oxr_instance *inst, XrPath path, uint32_t index)
 Verify a set of subaction paths for action sync. More...
 
XrResult oxr_verify_subaction_path_get (struct oxr_logger *log, struct oxr_instance *inst, XrPath path, const struct oxr_sub_paths *act_sub_paths, struct oxr_sub_paths *out_sub_paths, const char *variable)
 Verify a set of subaction paths for action state get. More...
 
XrResult oxr_verify_XrSessionCreateInfo (struct oxr_logger *, const struct oxr_instance *, const XrSessionCreateInfo *)
 
XrResult oxr_verify_XrGraphicsBindingOpenGLXlibKHR (struct oxr_logger *, const XrGraphicsBindingOpenGLXlibKHR *)
 
XrResult oxr_verify_XrGraphicsBindingVulkanKHR (struct oxr_logger *, const XrGraphicsBindingVulkanKHR *)
 
#define OXR_VERIFY_INSTANCE_AND_INIT_LOG(log, thing, new_thing, name)   _OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, INSTANCE, name, new_thing)
 
#define OXR_VERIFY_MESSENGER_AND_INIT_LOG(log, thing, new_thing, name)   _OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, MESSENGER, name, new_thing->inst)
 
#define OXR_VERIFY_SESSION_AND_INIT_LOG(log, thing, new_thing, name)   _OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, SESSION, name, new_thing->sys->inst)
 
#define OXR_VERIFY_SPACE_AND_INIT_LOG(log, thing, new_thing, name)   _OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, SPACE, name, new_thing->sess->sys->inst)
 
#define OXR_VERIFY_ACTION_AND_INIT_LOG(log, thing, new_thing, name)   _OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, ACTION, name, new_thing->act_set->inst)
 
#define OXR_VERIFY_SWAPCHAIN_AND_INIT_LOG(log, thing, new_thing, name)   _OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, SWAPCHAIN, name, new_thing->sess->sys->inst)
 
#define OXR_VERIFY_ACTIONSET_AND_INIT_LOG(log, thing, new_thing, name)   _OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, ACTIONSET, name, new_thing->inst)
 
#define OXR_VERIFY_INSTANCE_NOT_NULL(log, arg, new_arg)   _OXR_VERIFY_SET(log, arg, new_arg, INSTANCE);
 
#define OXR_VERIFY_MESSENGER_NOT_NULL(log, arg, new_arg)   _OXR_VERIFY_SET(log, arg, new_arg, MESSENGER);
 
#define OXR_VERIFY_SESSION_NOT_NULL(log, arg, new_arg)   _OXR_VERIFY_SET(log, arg, new_arg, SESSION);
 
#define OXR_VERIFY_SPACE_NOT_NULL(log, arg, new_arg)   _OXR_VERIFY_SET(log, arg, new_arg, SPACE);
 
#define OXR_VERIFY_ACTION_NOT_NULL(log, arg, new_arg)   _OXR_VERIFY_SET(log, arg, new_arg, ACTION);
 
#define OXR_VERIFY_SWAPCHAIN_NOT_NULL(log, arg, new_arg)   _OXR_VERIFY_SET(log, arg, new_arg, SWAPCHAIN);
 
#define OXR_VERIFY_ACTIONSET_NOT_NULL(log, arg, new_arg)   _OXR_VERIFY_SET(log, arg, new_arg, ACTIONSET);
 
#define OXR_VERIFY_EXTENSION(log, inst, mixed_case_name)
 Checks if a required extension is enabled. More...
 
#define OXR_VERIFY_ARG_NOT_NULL(log, arg)
 
#define OXR_VERIFY_ARG_NOT_ZERO(log, arg)
 
#define OXR_VERIFY_ARG_TYPE_CAN_BE_NULL(log, arg, type_enum)
 
#define OXR_VERIFY_ARG_TYPE_AND_NOT_NULL(log, arg, type_enum)
 
#define OXR_VERIFY_SUBACTION_PATHS(log, count, paths)
 
#define OXR_VERIFY_ARG_SINGLE_LEVEL_FIXED_LENGTH_PATH(log, path)
 
#define OXR_VERIFY_ARG_LOCALIZED_NAME(log, string)
 
#define OXR_VERIFY_POSE(log, p)
 

Detailed Description

Gets called from the client application, does most verification and routes calls into OpenXR main code functions.

Macro Definition Documentation

◆ OXR_VERIFY_ARG_LOCALIZED_NAME

#define OXR_VERIFY_ARG_LOCALIZED_NAME (   log,
  string 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Value:
do { \
XrResult verify_ret = oxr_verify_localized_name( \
log, string, ARRAY_SIZE(string), #string); \
if (verify_ret != XR_SUCCESS) { \
return verify_ret; \
} \
} while (false)
XrResult oxr_verify_localized_name(struct oxr_logger *, const char *string, uint32_t array_size, const char *name)
Verify an arbitrary UTF-8 string that sits inside of a fixed sized array.
Definition: oxr_verify.c:102
#define ARRAY_SIZE(a)
Array size helper.
Definition: xrt_compiler.h:24

◆ OXR_VERIFY_ARG_NOT_NULL

#define OXR_VERIFY_ARG_NOT_NULL (   log,
  arg 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Value:
do { \
if (arg == NULL) { \
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE, \
"(" #arg " == NULL)"); \
} \
} while (false)
XrResult oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt,...)
Definition: oxr_logger.c:79

◆ OXR_VERIFY_ARG_NOT_ZERO

#define OXR_VERIFY_ARG_NOT_ZERO (   log,
  arg 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Value:
do { \
if (arg == 0) { \
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE, \
"(" #arg " == 0) must be non-zero"); \
} \
} while (false)
XrResult oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt,...)
Definition: oxr_logger.c:79

◆ OXR_VERIFY_ARG_SINGLE_LEVEL_FIXED_LENGTH_PATH

#define OXR_VERIFY_ARG_SINGLE_LEVEL_FIXED_LENGTH_PATH (   log,
  path 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Value:
do { \
XrResult verify_ret = oxr_verify_fixed_size_single_level_path( \
log, path, ARRAY_SIZE(path), #path); \
if (verify_ret != XR_SUCCESS) { \
return verify_ret; \
} \
} while (false)
XrResult oxr_verify_fixed_size_single_level_path(struct oxr_logger *, const char *path, uint32_t array_size, const char *name)
Verify a single path level that sits inside of a fixed sized array.
Definition: oxr_verify.c:62
#define ARRAY_SIZE(a)
Array size helper.
Definition: xrt_compiler.h:24

◆ OXR_VERIFY_ARG_TYPE_AND_NOT_NULL

#define OXR_VERIFY_ARG_TYPE_AND_NOT_NULL (   log,
  arg,
  type_enum 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Value:
do { \
if (arg == NULL) { \
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE, \
"(" #arg " == NULL)"); \
} \
OXR_VERIFY_ARG_TYPE_CAN_BE_NULL(log, arg, type_enum); \
} while (false)
XrResult oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt,...)
Definition: oxr_logger.c:79

◆ OXR_VERIFY_ARG_TYPE_CAN_BE_NULL

#define OXR_VERIFY_ARG_TYPE_CAN_BE_NULL (   log,
  arg,
  type_enum 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Value:
do { \
if (arg != NULL && arg->type != type_enum) { \
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE, \
"(" #arg "->type == %u)", arg->type); \
} \
} while (false)
XrResult oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt,...)
Definition: oxr_logger.c:79

◆ OXR_VERIFY_EXTENSION

#define OXR_VERIFY_EXTENSION (   log,
  inst,
  mixed_case_name 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Value:
do { \
if (!(inst)->extensions.mixed_case_name) { \
return oxr_error((log), XR_ERROR_FUNCTION_UNSUPPORTED, \
" Requires XR_" #mixed_case_name \
" extension enabled"); \
} \
} while (false)
XrResult oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt,...)
Definition: oxr_logger.c:79

Checks if a required extension is enabled.

mixed_case_name should be the extension name without the XR_ prefix.

◆ OXR_VERIFY_POSE

#define OXR_VERIFY_POSE (   log,
 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Value:
do { \
if (!math_quat_validate((struct xrt_quat *)&p.orientation)) { \
return oxr_error(log, XR_ERROR_POSE_INVALID, \
"(" #p \
".orientation) is not a valid quat"); \
} \
\
if (!math_vec3_validate((struct xrt_vec3 *)&p.position)) { \
return oxr_error(log, XR_ERROR_POSE_INVALID, \
"(" #p ".position) is not valid"); \
} \
} while (false)
A 3 element vector with single floats.
Definition: xrt_defines.h:131
bool math_vec3_validate(const struct xrt_vec3 *vec3)
Check if this vec3 is valid for math operations.
Definition: m_base.cpp:61
A quaternion with single floats.
Definition: xrt_defines.h:97
XrResult oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt,...)
Definition: oxr_logger.c:79
bool math_quat_validate(const struct xrt_quat *quat)
Check if this quat can be used in transformation operations.
Definition: m_base.cpp:136

◆ OXR_VERIFY_SUBACTION_PATHS

#define OXR_VERIFY_SUBACTION_PATHS (   log,
  count,
  paths 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Value:
do { \
if (count > 0 && paths == NULL) { \
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE, \
" " #count " is not zero but " #paths \
" is NULL"); \
} \
} while (false)
XrResult oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt,...)
Definition: oxr_logger.c:79

Function Documentation

◆ oxr_verify_fixed_size_single_level_path()

XrResult oxr_verify_fixed_size_single_level_path ( struct oxr_logger ,
const char *  path,
uint32_t  array_size,
const char *  name 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Verify a single path level that sits inside of a fixed sized array.

References oxr_error().

◆ oxr_verify_full_path()

XrResult oxr_verify_full_path ( struct oxr_logger log,
const char *  path,
size_t  length,
const char *  name 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Verify a full path.

Length not including zero terminator character but must be there.

◆ oxr_verify_localized_name()

XrResult oxr_verify_localized_name ( struct oxr_logger ,
const char *  string,
uint32_t  array_size,
const char *  name 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Verify an arbitrary UTF-8 string that sits inside of a fixed sized array.

References oxr_error().

◆ oxr_verify_subaction_path_get()

XrResult oxr_verify_subaction_path_get ( struct oxr_logger log,
struct oxr_instance inst,
XrPath  path,
const struct oxr_sub_paths act_sub_paths,
struct oxr_sub_paths out_sub_paths,
const char *  variable 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Verify a set of subaction paths for action state get.

References oxr_error(), and oxr_path_get_string().

◆ oxr_verify_subaction_path_sync()

XrResult oxr_verify_subaction_path_sync ( struct oxr_logger log,
struct oxr_instance inst,
XrPath  path,
uint32_t  index 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Verify a set of subaction paths for action sync.

References oxr_error(), and oxr_path_get_string().

◆ oxr_verify_subaction_paths_create()

XrResult oxr_verify_subaction_paths_create ( struct oxr_logger log,
struct oxr_instance inst,
uint32_t  countSubactionPaths,
const XrPath *  subactionPaths,
const char *  variable 
)

#include <state_trackers/oxr/oxr_api_verify.h>

Verify a set of subaction paths for action creation.

◆ oxr_xrAcquireSwapchainImage()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrAcquireSwapchainImage ( XrSwapchain  swapchain,
const XrSwapchainImageAcquireInfo *  acquireInfo,
uint32_t *  index 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrAcquireSwapchainImage.

OpenXR Entry Point:
xrAcquireSwapchainImage

◆ oxr_xrApplyHapticFeedback()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrApplyHapticFeedback ( XrSession  session,
const XrHapticActionInfo *  hapticActionInfo,
const XrHapticBaseHeader *  hapticEvent 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrApplyHapticFeedback.

OpenXR Entry Point:
xrApplyHapticFeedback

◆ oxr_xrAttachSessionActionSets()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrAttachSessionActionSets ( XrSession  session,
const XrSessionActionSetsAttachInfo *  bindInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrAttachSessionActionSets.

OpenXR Entry Point:
xrAttachSessionActionSets

◆ oxr_xrBeginFrame()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrBeginFrame ( XrSession  session,
const XrFrameBeginInfo *  frameBeginInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrBeginFrame.

OpenXR Entry Point:
xrBeginFrame

◆ oxr_xrBeginSession()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrBeginSession ( XrSession  session,
const XrSessionBeginInfo *  beginInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrBeginSession.

OpenXR Entry Point:
xrBeginSession

◆ oxr_xrConvertTimespecTimeToTimeKHR()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrConvertTimespecTimeToTimeKHR ( XrInstance  instance,
const struct timespec *  timespecTime,
XrTime *  time 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrConvertTimespecTimeToTimeKHR.

OpenXR Entry Point:
xrConvertTimespecTimeToTimeKHR
Todo:
do we need to check and see if this extension was enabled first?

◆ oxr_xrConvertTimeToTimespecTimeKHR()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrConvertTimeToTimespecTimeKHR ( XrInstance  instance,
XrTime  time,
struct timespec *  timespecTime 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrConvertTimeToTimespecTimeKHR.

OpenXR Entry Point:
xrConvertTimeToTimespecTimeKHR

◆ oxr_xrCreateAction()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateAction ( XrActionSet  actionSet,
const XrActionCreateInfo *  createInfo,
XrAction *  action 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrCreateAction.

OpenXR Entry Point:
xrCreateAction

◆ oxr_xrCreateActionSet()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateActionSet ( XrInstance  instance,
const XrActionSetCreateInfo *  createInfo,
XrActionSet *  actionSet 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrCreateActionSet.

OpenXR Entry Point:
xrCreateActionSet

◆ oxr_xrCreateActionSpace()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateActionSpace ( XrSession  session,
const XrActionSpaceCreateInfo *  createInfo,
XrSpace *  space 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrCreateActionSpace.

OpenXR Entry Point:
xrCreateActionSpace

◆ oxr_xrCreateDebugUtilsMessengerEXT()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateDebugUtilsMessengerEXT ( XrInstance  instance,
const XrDebugUtilsMessengerCreateInfoEXT *  createInfo,
XrDebugUtilsMessengerEXT *  messenger 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrCreateDebugUtilsMessengerEXT.

OpenXR Entry Point:
xrCreateDebugUtilsMessengerEXT

◆ oxr_xrCreateInstance()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateInstance ( const XrInstanceCreateInfo *  createInfo,
XrInstance *  instance 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrCreateInstance.

OpenXR Entry Point:
xrCreateInstance

◆ oxr_xrCreateReferenceSpace()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateReferenceSpace ( XrSession  session,
const XrReferenceSpaceCreateInfo *  createInfo,
XrSpace *  space 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrCreateReferenceSpace.

OpenXR Entry Point:
xrCreateReferenceSpace

◆ oxr_xrCreateSession()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateSession ( XrInstance  instance,
const XrSessionCreateInfo *  createInfo,
XrSession *  session 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrCreateSession.

OpenXR Entry Point:
xrCreateSession

◆ oxr_xrCreateSwapchain()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateSwapchain ( XrSession  session,
const XrSwapchainCreateInfo *  createInfo,
XrSwapchain *  swapchain 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrCreateSwapchain.

OpenXR Entry Point:
xrCreateSwapchain

◆ oxr_xrDestroyAction()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyAction ( XrAction  action)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrDestroyAction.

OpenXR Entry Point:
xrDestroyAction

◆ oxr_xrDestroyActionSet()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyActionSet ( XrActionSet  actionSet)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrDestroyActionSet.

OpenXR Entry Point:
xrDestroyActionSet

◆ oxr_xrDestroyDebugUtilsMessengerEXT()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyDebugUtilsMessengerEXT ( XrDebugUtilsMessengerEXT  messenger)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrDestroyDebugUtilsMessengerEXT.

OpenXR Entry Point:
xrDestroyDebugUtilsMessengerEXT

◆ oxr_xrDestroyInstance()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyInstance ( XrInstance  instance)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrDestroyInstance.

OpenXR Entry Point:
xrDestroyInstance

◆ oxr_xrDestroySession()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySession ( XrSession  session)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrDestroySession.

OpenXR Entry Point:
xrDestroySession

◆ oxr_xrDestroySpace()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySpace ( XrSpace  space)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrDestroySpace.

OpenXR Entry Point:
xrDestroySpace

◆ oxr_xrDestroySwapchain()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySwapchain ( XrSwapchain  swapchain)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrDestroySwapchain.

OpenXR Entry Point:
xrDestroySwapchain

◆ oxr_xrEndFrame()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEndFrame ( XrSession  session,
const XrFrameEndInfo *  frameEndInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEndFrame.

OpenXR Entry Point:
xrEndFrame

◆ oxr_xrEndSession()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEndSession ( XrSession  session)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEndSession.

OpenXR Entry Point:
xrEndSession

◆ oxr_xrEnumerateApiLayerProperties()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateApiLayerProperties ( uint32_t  propertyCapacityInput,
uint32_t *  propertyCountOutput,
XrApiLayerProperties *  properties 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEnumerateApiLayerProperties.

OpenXR Entry Point:
xrEnumerateApiLayerProperties

◆ oxr_xrEnumerateBoundSourcesForAction()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateBoundSourcesForAction ( XrSession  session,
const XrBoundSourcesForActionEnumerateInfo *  enumerateInfo,
uint32_t  sourceCapacityInput,
uint32_t *  sourceCountOutput,
XrPath *  sources 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEnumerateBoundSourcesForAction.

OpenXR Entry Point:
xrEnumerateBoundSourcesForAction

◆ oxr_xrEnumerateEnvironmentBlendModes()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateEnvironmentBlendModes ( XrInstance  instance,
XrSystemId  systemId,
XrViewConfigurationType  viewConfigurationType,
uint32_t  environmentBlendModeCapacityInput,
uint32_t *  environmentBlendModeCountOutput,
XrEnvironmentBlendMode *  environmentBlendModes 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEnumerateEnvironmentBlendModes.

OpenXR Entry Point:
xrEnumerateEnvironmentBlendModes

◆ oxr_xrEnumerateInstanceExtensionProperties()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateInstanceExtensionProperties ( const char *  layerName,
uint32_t  propertyCapacityInput,
uint32_t *  propertyCountOutput,
XrExtensionProperties *  properties 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEnumerateInstanceExtensionProperties.

OpenXR Entry Point:
xrEnumerateInstanceExtensionProperties

◆ oxr_xrEnumerateReferenceSpaces()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateReferenceSpaces ( XrSession  session,
uint32_t  spaceCapacityInput,
uint32_t *  spaceCountOutput,
XrReferenceSpaceType *  spaces 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEnumerateReferenceSpaces.

OpenXR Entry Point:
xrEnumerateReferenceSpaces

◆ oxr_xrEnumerateSwapchainFormats()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateSwapchainFormats ( XrSession  session,
uint32_t  formatCapacityInput,
uint32_t *  formatCountOutput,
int64_t *  formats 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEnumerateSwapchainFormats.

OpenXR Entry Point:
xrEnumerateSwapchainFormats

◆ oxr_xrEnumerateSwapchainImages()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateSwapchainImages ( XrSwapchain  swapchain,
uint32_t  imageCapacityInput,
uint32_t *  imageCountOutput,
XrSwapchainImageBaseHeader *  images 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEnumerateSwapchainImages.

OpenXR Entry Point:
xrEnumerateSwapchainImages

◆ oxr_xrEnumerateViewConfigurations()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateViewConfigurations ( XrInstance  instance,
XrSystemId  systemId,
uint32_t  viewConfigurationTypeCapacityInput,
uint32_t *  viewConfigurationTypeCountOutput,
XrViewConfigurationType *  viewConfigurationTypes 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEnumerateViewConfigurations.

OpenXR Entry Point:
xrEnumerateViewConfigurations

◆ oxr_xrEnumerateViewConfigurationViews()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateViewConfigurationViews ( XrInstance  instance,
XrSystemId  systemId,
XrViewConfigurationType  viewConfigurationType,
uint32_t  viewCapacityInput,
uint32_t *  viewCountOutput,
XrViewConfigurationView *  views 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrEnumerateViewConfigurationViews.

OpenXR Entry Point:
xrEnumerateViewConfigurationViews

◆ oxr_xrGetActionStateBoolean()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateBoolean ( XrSession  session,
const XrActionStateGetInfo *  getInfo,
XrActionStateBoolean *  data 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetActionStateBoolean.

OpenXR Entry Point:
xrGetActionStateBoolean

◆ oxr_xrGetActionStateFloat()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateFloat ( XrSession  session,
const XrActionStateGetInfo *  getInfo,
XrActionStateFloat *  data 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetActionStateFloat.

OpenXR Entry Point:
xrGetActionStateFloat

◆ oxr_xrGetActionStatePose()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStatePose ( XrSession  session,
const XrActionStateGetInfo *  getInfo,
XrActionStatePose *  data 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetActionStatePose.

OpenXR Entry Point:
xrGetActionStatePose

◆ oxr_xrGetActionStateVector2f()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateVector2f ( XrSession  session,
const XrActionStateGetInfo *  getInfo,
XrActionStateVector2f *  data 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetActionStateVector2f.

OpenXR Entry Point:
xrGetActionStateVector2f

◆ oxr_xrGetCurrentInteractionProfile()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetCurrentInteractionProfile ( XrSession  session,
XrPath  topLevelUserPath,
XrInteractionProfileState *  interactionProfile 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetCurrentInteractionProfile.

OpenXR Entry Point:
xrGetCurrentInteractionProfile

◆ oxr_xrGetInputSourceLocalizedName()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInputSourceLocalizedName ( XrSession  session,
const XrInputSourceLocalizedNameGetInfo *  getInfo,
uint32_t  bufferCapacityInput,
uint32_t *  bufferCountOutput,
char *  buffer 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetInputSourceLocalizedName.

OpenXR Entry Point:
xrGetInputSourceLocalizedName
Todo:
verify getInfo

◆ oxr_xrGetInstanceProcAddr()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInstanceProcAddr ( XrInstance  instance,
const char *  name,
PFN_xrVoidFunction *  function 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetInstanceProcAddr.

OpenXR Entry Point:
xrGetInstanceProcAddr

◆ oxr_xrGetInstanceProperties()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInstanceProperties ( XrInstance  instance,
XrInstanceProperties *  instanceProperties 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetInstanceProperties.

OpenXR Entry Point:
xrGetInstanceProperties

◆ oxr_xrGetOpenGLGraphicsRequirementsKHR()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetOpenGLGraphicsRequirementsKHR ( XrInstance  instance,
XrSystemId  systemId,
XrGraphicsRequirementsOpenGLKHR *  graphicsRequirements 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetOpenGLGraphicsRequirementsKHR.

OpenXR Entry Point:
xrGetOpenGLGraphicsRequirementsKHR

◆ oxr_xrGetReferenceSpaceBoundsRect()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetReferenceSpaceBoundsRect ( XrSession  session,
XrReferenceSpaceType  referenceSpaceType,
XrExtent2Df *  bounds 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetReferenceSpaceBoundsRect.

OpenXR Entry Point:
xrGetReferenceSpaceBoundsRect
Todo:
Implement

◆ oxr_xrGetSystem()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetSystem ( XrInstance  instance,
const XrSystemGetInfo *  getInfo,
XrSystemId *  systemId 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetSystem.

OpenXR Entry Point:
xrGetSystem

◆ oxr_xrGetSystemProperties()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetSystemProperties ( XrInstance  instance,
XrSystemId  systemId,
XrSystemProperties *  properties 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetSystemProperties.

OpenXR Entry Point:
xrGetSystemProperties

◆ oxr_xrGetViewConfigurationProperties()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetViewConfigurationProperties ( XrInstance  instance,
XrSystemId  systemId,
XrViewConfigurationType  viewConfigurationType,
XrViewConfigurationProperties *  configurationProperties 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetViewConfigurationProperties.

OpenXR Entry Point:
xrGetViewConfigurationProperties

◆ oxr_xrGetVulkanDeviceExtensionsKHR()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanDeviceExtensionsKHR ( XrInstance  instance,
XrSystemId  systemId,
uint32_t  namesCapacityInput,
uint32_t *  namesCountOutput,
char *  namesString 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetVulkanDeviceExtensionsKHR.

OpenXR Entry Point:
xrGetVulkanDeviceExtensionsKHR

◆ oxr_xrGetVulkanGraphicsDeviceKHR()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsDeviceKHR ( XrInstance  instance,
XrSystemId  systemId,
VkInstance  vkInstance,
VkPhysicalDevice *  vkPhysicalDevice 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetVulkanGraphicsDeviceKHR.

OpenXR Entry Point:
xrGetVulkanGraphicsDeviceKHR

◆ oxr_xrGetVulkanGraphicsRequirementsKHR()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsRequirementsKHR ( XrInstance  instance,
XrSystemId  systemId,
XrGraphicsRequirementsVulkanKHR *  graphicsRequirements 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetVulkanGraphicsRequirementsKHR.

OpenXR Entry Point:
xrGetVulkanGraphicsRequirementsKHR

◆ oxr_xrGetVulkanInstanceExtensionsKHR()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanInstanceExtensionsKHR ( XrInstance  instance,
XrSystemId  systemId,
uint32_t  namesCapacityInput,
uint32_t *  namesCountOutput,
char *  namesString 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrGetVulkanInstanceExtensionsKHR.

OpenXR Entry Point:
xrGetVulkanInstanceExtensionsKHR

◆ oxr_xrLocateSpace()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpace ( XrSpace  space,
XrSpace  baseSpace,
XrTime  time,
XrSpaceLocation *  location 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrLocateSpace.

OpenXR Entry Point:
xrLocateSpace

◆ oxr_xrLocateViews()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateViews ( XrSession  session,
const XrViewLocateInfo *  viewLocateInfo,
XrViewState *  viewState,
uint32_t  viewCapacityInput,
uint32_t *  viewCountOutput,
XrView *  views 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrLocateViews.

OpenXR Entry Point:
xrLocateViews

◆ oxr_xrPathToString()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrPathToString ( XrInstance  instance,
XrPath  path,
uint32_t  bufferCapacityInput,
uint32_t *  bufferCountOutput,
char *  buffer 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrPathToString.

OpenXR Entry Point:
xrPathToString

◆ oxr_xrPollEvent()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrPollEvent ( XrInstance  instance,
XrEventDataBuffer *  eventData 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrPollEvent.

OpenXR Entry Point:
xrPollEvent

◆ oxr_xrReleaseSwapchainImage()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrReleaseSwapchainImage ( XrSwapchain  swapchain,
const XrSwapchainImageReleaseInfo *  releaseInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrReleaseSwapchainImage.

OpenXR Entry Point:
xrReleaseSwapchainImage

◆ oxr_xrRequestExitSession()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrRequestExitSession ( XrSession  session)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrRequestExitSession.

OpenXR Entry Point:
xrRequestExitSession

◆ oxr_xrResultToString()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrResultToString ( XrInstance  instance,
XrResult  value,
char  buffer[XR_MAX_RESULT_STRING_SIZE] 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrResultToString.

OpenXR Entry Point:
xrResultToString

◆ oxr_xrSessionBeginDebugUtilsLabelRegionEXT()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionBeginDebugUtilsLabelRegionEXT ( XrSession  session,
const XrDebugUtilsLabelEXT *  labelInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrSessionBeginDebugUtilsLabelRegionEXT.

OpenXR Entry Point:
xrSessionBeginDebugUtilsLabelRegionEXT

◆ oxr_xrSessionEndDebugUtilsLabelRegionEXT()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionEndDebugUtilsLabelRegionEXT ( XrSession  session)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrSessionEndDebugUtilsLabelRegionEXT.

OpenXR Entry Point:
xrSessionEndDebugUtilsLabelRegionEXT

◆ oxr_xrSessionInsertDebugUtilsLabelEXT()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionInsertDebugUtilsLabelEXT ( XrSession  session,
const XrDebugUtilsLabelEXT *  labelInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrSessionInsertDebugUtilsLabelEXT.

OpenXR Entry Point:
xrSessionInsertDebugUtilsLabelEXT

◆ oxr_xrSetDebugUtilsObjectNameEXT()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSetDebugUtilsObjectNameEXT ( XrInstance  instance,
const XrDebugUtilsObjectNameInfoEXT *  nameInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrSetDebugUtilsObjectNameEXT.

OpenXR Entry Point:
xrSetDebugUtilsObjectNameEXT

◆ oxr_xrStopHapticFeedback()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStopHapticFeedback ( XrSession  session,
const XrHapticActionInfo *  hapticActionInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrStopHapticFeedback.

OpenXR Entry Point:
xrStopHapticFeedback

◆ oxr_xrStringToPath()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStringToPath ( XrInstance  instance,
const char *  pathString,
XrPath *  path 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrStringToPath.

OpenXR Entry Point:
xrStringToPath

◆ oxr_xrStructureTypeToString()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStructureTypeToString ( XrInstance  instance,
XrStructureType  value,
char  buffer[XR_MAX_STRUCTURE_NAME_SIZE] 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrStructureTypeToString.

OpenXR Entry Point:
xrStructureTypeToString

◆ oxr_xrSubmitDebugUtilsMessageEXT()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSubmitDebugUtilsMessageEXT ( XrInstance  instance,
XrDebugUtilsMessageSeverityFlagsEXT  messageSeverity,
XrDebugUtilsMessageTypeFlagsEXT  messageTypes,
const XrDebugUtilsMessengerCallbackDataEXT *  callbackData 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrSubmitDebugUtilsMessageEXT.

OpenXR Entry Point:
xrSubmitDebugUtilsMessageEXT

◆ oxr_xrSuggestInteractionProfileBindings()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSuggestInteractionProfileBindings ( XrInstance  instance,
const XrInteractionProfileSuggestedBinding *  suggestedBindings 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrSuggestInteractionProfileBindings.

OpenXR Entry Point:
xrSuggestInteractionProfileBindings
Todo:
verify path (s->binding).

◆ oxr_xrSyncActions()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSyncActions ( XrSession  session,
const XrActionsSyncInfo *  syncInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrSyncActions.

OpenXR Entry Point:
xrSyncActions

◆ oxr_xrWaitFrame()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrWaitFrame ( XrSession  session,
const XrFrameWaitInfo *  frameWaitInfo,
XrFrameState *  frameState 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrWaitFrame.

OpenXR Entry Point:
xrWaitFrame

◆ oxr_xrWaitSwapchainImage()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrWaitSwapchainImage ( XrSwapchain  swapchain,
const XrSwapchainImageWaitInfo *  waitInfo 
)

#include <state_trackers/oxr/oxr_api_funcs.h>

OpenXR API function xrWaitSwapchainImage.

OpenXR Entry Point:
xrWaitSwapchainImage