Monado OpenXR Runtime
|
Gets called from the client application, does most verification and routes calls into OpenXR main code functions. More...
Files | |
file | oxr_api_action.c |
Action related API entrypoint functions. | |
file | oxr_api_body_tracking.c |
body tracking related API entrypoint functions. | |
file | oxr_api_debug.c |
Debug messaging entrypoints for the OpenXR state tracker. | |
file | oxr_api_face_tracking.c |
face tracking related API entrypoint functions. | |
file | oxr_api_face_tracking2_fb.c |
face tracking related API entrypoint functions. | |
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_passthrough.c |
passthrough related API entrypoint functions. | |
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 verifying app input into api functions. | |
file | oxr_api_xdev.c |
Monado xrt_device API functions. | |
file | oxr_verify.c |
File for verifying app input into api functions. | |
Macros | |
#define | OXR_VERIFY_INSTANCE_AND_INIT_LOG(log, thing, new_thing, name) OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, oxr_instance, 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, oxr_messenger, 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, oxr_session, 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, oxr_space, 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, oxr_action, 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, oxr_swapchain, 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, oxr_action_set, ACTIONSET, name, new_thing->inst) |
#define | OXR_VERIFY_HAND_TRACKER_AND_INIT_LOG(log, thing, new_thing, name) OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, oxr_hand_tracker, HTRACKER, name, new_thing->sess->sys->inst) |
#define | OXR_VERIFY_FORCE_FEEDBACK_AND_INIT_LOG(log, thing, new_thing, name) OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, oxr_force_feedback, FFB, name, new_thing->sess->sys->inst) |
#define | OXR_VERIFY_PASSTHROUGH_AND_INIT_LOG(log, thing, new_thing, name) OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, oxr_passthrough, PASSTHROUGH, name, new_thing->sess->sys->inst) |
#define | OXR_VERIFY_PASSTHROUGH_LAYER_AND_INIT_LOG(log, thing, new_thing, name) OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, oxr_passthrough_layer, PASSTHROUGH_LAYER, name, new_thing->sess->sys->inst) |
#define | OXR_VERIFY_FACE_TRACKER_HTC_AND_INIT_LOG(log, thing, new_thing, name) OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, oxr_facial_tracker_htc, FTRACKER, name, new_thing->sess->sys->inst) |
#define | OXR_VERIFY_FACE_TRACKER2_FB_AND_INIT_LOG(log, thing, new_thing, name) OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, oxr_face_tracker2_fb, FTRACKER, name, new_thing->sess->sys->inst) |
#define | OXR_VERIFY_BODY_TRACKER_FB_AND_INIT_LOG(log, thing, new_thing, name) OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, oxr_body_tracker_fb, BTRACKER, name, new_thing->sess->sys->inst) |
#define | OXR_VERIFY_XDEVLIST_AND_INIT_LOG(log, thing, new_thing, name) OXR_VERIFY_AND_SET_AND_INIT(log, thing, new_thing, oxr_xdev_list, XDEVLIST, name, new_thing->sess->sys->inst) |
#define | OXR_VERIFY_INSTANCE_NOT_NULL(log, arg, new_arg) OXR_VERIFY_SET(log, arg, new_arg, oxr_instance, INSTANCE); |
#define | OXR_VERIFY_MESSENGER_NOT_NULL(log, arg, new_arg) OXR_VERIFY_SET(log, arg, new_arg, oxr_messenger, MESSENGER); |
#define | OXR_VERIFY_SESSION_NOT_NULL(log, arg, new_arg) OXR_VERIFY_SET(log, arg, new_arg, oxr_session, SESSION); |
#define | OXR_VERIFY_SPACE_NOT_NULL(log, arg, new_arg) OXR_VERIFY_SET(log, arg, new_arg, oxr_space, SPACE); |
#define | OXR_VERIFY_ACTION_NOT_NULL(log, arg, new_arg) OXR_VERIFY_SET(log, arg, new_arg, oxr_action, ACTION); |
#define | OXR_VERIFY_SWAPCHAIN_NOT_NULL(log, arg, new_arg) OXR_VERIFY_SET(log, arg, new_arg, oxr_swapchain, SWAPCHAIN); |
#define | OXR_VERIFY_ACTIONSET_NOT_NULL(log, arg, new_arg) OXR_VERIFY_SET(log, arg, new_arg, oxr_action_set, ACTIONSET); |
#define | OXR_VERIFY_XDEVLIST_NOT_NULL(log, arg, new_arg) OXR_VERIFY_SET(log, arg, new_arg, oxr_xdev_list, XDEVLIST); |
#define | OXR_VERIFY_EXTENSION(log, inst, mixed_case_name) |
Checks if a required extension is enabled. More... | |
#define | OXR_VERIFY_EXTENSIONS_OR(log, inst, mixed_case_name1, mixed_case_name2) |
Checks if either one of two required extensions is enabled. More... | |
#define | OXR_API_VERSION_AT_LEAST(inst, major, minor) ((inst)->openxr_version.major_minor >= XR_MAKE_VERSION(major, minor, 0)) |
A condition if the instance is created with at least a given OpenXR version. More... | |
#define | OXR_VERIFY_API_VERSION_AT_LEAST(log, inst, major, minor) |
Checks if the instance is created with at least a given OpenXR version. More... | |
#define | OXR_VERIFY_ARG_NOT_NULL(log, arg) |
#define | OXR_VERIFY_ARG_NOT_ZERO(log, arg) |
#define | OXR_VERIFY_ARG_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_ARG_ARRAY_ELEMENT_TYPE(log, array, index, type_enum) |
Must only be used with full typed arrays, aka non-basetyped arrays like that passed into xrEnumerateSwapchainImages. More... | |
#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) |
#define | OXR_VERIFY_VIEW_CONFIG_TYPE(log, inst, view_conf) |
#define | OXR_VERIFY_VIEW_INDEX(log, index) |
#define | OXR_VERIFY_SWAPCHAIN_USAGE_FLAGS_NOT_MUTUALLY_EXCLUSIVE(log, flags, mutually_exclusive_a, mutually_exclusive_b) |
#define | OXR_VERIFY_SESSION_NOT_LOST(log, sess) |
#define | OXR_VERIFY_SESSION_RUNNING(log, sess) |
#define | OXR_VERIFY_PASSTHROUGH_FLAGS(log, flags) |
#define | OXR_VERIFY_PASSTHROUGH_LAYER_PURPOSE(log, purpose) |
#define | OXR_VERIFY_PASSTHROUGH_LAYER_STYLE(log, style) |
#define | OXR_GET_INPUT_FROM_CHAIN(PTR, STRUCTURE_TYPE_ENUM, TYPE) ((TYPE const *)oxr_find_input_in_chain(PTR, STRUCTURE_TYPE_ENUM)) |
Finds an input struct of the given type in a next-chain and casts it as desired. More... | |
#define | OXR_GET_OUTPUT_FROM_CHAIN(PTR, STRUCTURE_TYPE_ENUM, TYPE) ((TYPE *)oxr_find_output_in_chain(PTR, STRUCTURE_TYPE_ENUM)) |
Finds an output struct of the given type in a next-chain and casts it as desired. More... | |
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... | |
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, const struct oxr_instance *inst, const struct oxr_action_set *act_set, 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_subaction_paths *act_subaction_paths, struct oxr_subaction_paths *out_subaction_paths, const char *variable) |
Verify a set of subaction paths for action state get. More... | |
XrResult | oxr_verify_extensions (struct oxr_logger *log, const struct oxr_extension_status *extensions) |
XrResult | oxr_verify_view_config_type (struct oxr_logger *log, struct oxr_instance *inst, XrViewConfigurationType view_conf, const char *view_conf_name) |
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 *) |
static XrBaseInStructure const * | oxr_find_input_in_chain (const void *ptr, XrStructureType desired) |
Finds an input struct of the given type in a next-chain. More... | |
static XrBaseOutStructure * | oxr_find_output_in_chain (void *ptr, XrStructureType desired) |
Finds an output struct of the given type in a next-chain. More... | |
Gets called from the client application, does most verification and routes calls into OpenXR main code functions.
#define OXR_API_VERSION_AT_LEAST | ( | inst, | |
major, | |||
minor | |||
) | ((inst)->openxr_version.major_minor >= XR_MAKE_VERSION(major, minor, 0)) |
#include <state_trackers/oxr/oxr_api_verify.h>
A condition if the instance is created with at least a given OpenXR version.
#define OXR_GET_INPUT_FROM_CHAIN | ( | PTR, | |
STRUCTURE_TYPE_ENUM, | |||
TYPE | |||
) | ((TYPE const *)oxr_find_input_in_chain(PTR, STRUCTURE_TYPE_ENUM)) |
#include <state_trackers/oxr/oxr_chain.h>
Finds an input struct of the given type in a next-chain and casts it as desired.
Returns NULL if nothing matching is found.
Note: There is no protection here to ensure that STRUCTURE_TYPE_ENUM (an XrStructureType value) and TYPE (a type name) actually match!
#define OXR_GET_OUTPUT_FROM_CHAIN | ( | PTR, | |
STRUCTURE_TYPE_ENUM, | |||
TYPE | |||
) | ((TYPE *)oxr_find_output_in_chain(PTR, STRUCTURE_TYPE_ENUM)) |
#include <state_trackers/oxr/oxr_chain.h>
Finds an output struct of the given type in a next-chain and casts it as desired.
Returns NULL if nothing matching is found.
Note: There is no protection here to ensure that STRUCTURE_TYPE_ENUM (an XrStructureType value) and TYPE (a type name) actually match!
#define OXR_VERIFY_API_VERSION_AT_LEAST | ( | log, | |
inst, | |||
major, | |||
minor | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
Checks if the instance is created with at least a given OpenXR version.
#define OXR_VERIFY_ARG_ARRAY_ELEMENT_TYPE | ( | log, | |
array, | |||
index, | |||
type_enum | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
Must only be used with full typed arrays, aka non-basetyped arrays like that passed into xrEnumerateSwapchainImages.
#define OXR_VERIFY_ARG_LOCALIZED_NAME | ( | log, | |
string | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_ARG_NOT_NULL | ( | log, | |
arg | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_ARG_NOT_ZERO | ( | log, | |
arg | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_ARG_SINGLE_LEVEL_FIXED_LENGTH_PATH | ( | log, | |
path | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_ARG_TYPE_AND_NOT_NULL | ( | log, | |
arg, | |||
type_enum | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_ARG_TYPE_CAN_BE_NULL | ( | log, | |
arg, | |||
type_enum | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_ARG_ZERO | ( | log, | |
arg | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_EXTENSION | ( | log, | |
inst, | |||
mixed_case_name | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
Checks if a required extension is enabled.
mixed_case_name should be the extension name without the XR_ prefix.
#define OXR_VERIFY_EXTENSIONS_OR | ( | log, | |
inst, | |||
mixed_case_name1, | |||
mixed_case_name2 | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
Checks if either one of two required extensions is enabled.
mixed_case_name should be the extension name without the XR_ prefix.
#define OXR_VERIFY_PASSTHROUGH_FLAGS | ( | log, | |
flags | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_PASSTHROUGH_LAYER_PURPOSE | ( | log, | |
purpose | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_PASSTHROUGH_LAYER_STYLE | ( | log, | |
style | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_POSE | ( | log, | |
p | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_SESSION_NOT_LOST | ( | log, | |
sess | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_SESSION_RUNNING | ( | log, | |
sess | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_SUBACTION_PATHS | ( | log, | |
count, | |||
paths | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_SWAPCHAIN_USAGE_FLAGS_NOT_MUTUALLY_EXCLUSIVE | ( | log, | |
flags, | |||
mutually_exclusive_a, | |||
mutually_exclusive_b | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_VIEW_CONFIG_TYPE | ( | log, | |
inst, | |||
view_conf | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
#define OXR_VERIFY_VIEW_INDEX | ( | log, | |
index | |||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
|
inlinestatic |
#include <state_trackers/oxr/oxr_chain.h>
Finds an input struct of the given type in a next-chain.
Returns NULL if nothing matching is found.
Prefer using OXR_GET_INPUT_FROM_CHAIN() instead, since it includes the casting.
|
inlinestatic |
#include <state_trackers/oxr/oxr_chain.h>
Finds an output struct of the given type in a next-chain.
Returns NULL if nothing matching is found.
Prefer using OXR_GET_OUTPUT_FROM_CHAIN() instead, since it includes the casting.
XrResult oxr_verify_fixed_size_single_level_path | ( | struct oxr_logger * | log, |
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().
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.
XrResult oxr_verify_localized_name | ( | struct oxr_logger * | log, |
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().
XrResult oxr_verify_subaction_path_get | ( | struct oxr_logger * | log, |
struct oxr_instance * | inst, | ||
XrPath | path, | ||
const struct oxr_subaction_paths * | act_subaction_paths, | ||
struct oxr_subaction_paths * | out_subaction_paths, | ||
const char * | variable | ||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
Verify a set of subaction paths for action state get.
References OXR_FOR_EACH_SUBACTION_PATH.
XrResult oxr_verify_subaction_path_sync | ( | struct oxr_logger * | log, |
const struct oxr_instance * | inst, | ||
const struct oxr_action_set * | act_set, | ||
XrPath | path, | ||
uint32_t | index | ||
) |
#include <state_trackers/oxr/oxr_api_verify.h>
Verify a set of subaction paths for action sync.
References oxr_action_set::data, oxr_action_set_ref::name, oxr_instance::oxr_classify_subaction_paths(), oxr_error(), oxr_instance::oxr_path_get_string(), and oxr_subaction_paths::oxr_subaction_paths_is_subset_of().
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrApplyForceFeedbackCurlMNDX | ( | XrHandTrackerEXT | handTracker, |
const XrForceFeedbackCurlApplyLocationsMNDX * | locations | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrApplyForceFeedbackCurlMNDX.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrAttachSessionActionSets | ( | XrSession | session, |
const XrSessionActionSetsAttachInfo * | bindInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrAttachSessionActionSets.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrBeginFrame | ( | XrSession | session, |
const XrFrameBeginInfo * | frameBeginInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrBeginFrame.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrBeginSession | ( | XrSession | session, |
const XrSessionBeginInfo * | beginInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrBeginSession.
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.
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.
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.
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.
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateHandTrackerEXT | ( | XrSession | session, |
const XrHandTrackerCreateInfoEXT * | createInfo, | ||
XrHandTrackerEXT * | handTracker | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrCreateHandTrackerEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateInstance | ( | const XrInstanceCreateInfo * | createInfo, |
XrInstance * | instance | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrCreateInstance.
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.
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateVulkanDeviceKHR | ( | XrInstance | instance, |
const XrVulkanDeviceCreateInfoKHR * | createInfo, | ||
VkDevice * | vulkanDevice, | ||
VkResult * | vulkanResult | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrCreateVulkanDeviceKHR.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateVulkanInstanceKHR | ( | XrInstance | instance, |
const XrVulkanInstanceCreateInfoKHR * | createInfo, | ||
VkInstance * | vulkanInstance, | ||
VkResult * | vulkanResult | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrCreateVulkanInstanceKHR.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyAction | ( | XrAction | action | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrDestroyAction.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyActionSet | ( | XrActionSet | actionSet | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrDestroyActionSet.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyDebugUtilsMessengerEXT | ( | XrDebugUtilsMessengerEXT | messenger | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrDestroyDebugUtilsMessengerEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyHandTrackerEXT | ( | XrHandTrackerEXT | handTracker | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrDestroyHandTrackerEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyInstance | ( | XrInstance | instance | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrDestroyInstance.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySession | ( | XrSession | session | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrDestroySession.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySpace | ( | XrSpace | space | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrDestroySpace.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySwapchain | ( | XrSwapchain | swapchain | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrDestroySwapchain.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEndFrame | ( | XrSession | session, |
const XrFrameEndInfo * | frameEndInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrEndFrame.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEndSession | ( | XrSession | session | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrEndSession.
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateDisplayRefreshRatesFB | ( | XrSession | session, |
uint32_t | displayRefreshRateCapacityInput, | ||
uint32_t * | displayRefreshRateCountOutput, | ||
float * | displayRefreshRates | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrEnumerateDisplayRefreshRatesFB.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetDisplayRefreshRateFB | ( | XrSession | session, |
float * | displayRefreshRate | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrGetDisplayRefreshRateFB.
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInstanceProperties | ( | XrInstance | instance, |
XrInstanceProperties * | instanceProperties | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrGetInstanceProperties.
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.
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.
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.
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.
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsDevice2KHR | ( | XrInstance | instance, |
const XrVulkanGraphicsDeviceGetInfoKHR * | getInfo, | ||
VkPhysicalDevice * | vkPhysicalDevice | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function 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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetVulkanGraphicsRequirements2KHR | ( | XrInstance | instance, |
XrSystemId | systemId, | ||
XrGraphicsRequirementsVulkan2KHR * | graphicsRequirements | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrGetVulkanGraphicsRequirements2KHR.
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateHandJointsEXT | ( | XrHandTrackerEXT | handTracker, |
const XrHandJointsLocateInfoEXT * | locateInfo, | ||
XrHandJointLocationsEXT * | locations | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrLocateHandJointsEXT.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpaces | ( | XrSession | session, |
const XrSpacesLocateInfo * | locateInfo, | ||
XrSpaceLocations * | spaceLocations | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrLocateSpaces.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpacesKHR | ( | XrSession | session, |
const XrSpacesLocateInfoKHR * | locateInfo, | ||
XrSpaceLocationsKHR * | spaceLocations | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrLocateSpacesKHR.
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrPollEvent | ( | XrInstance | instance, |
XrEventDataBuffer * | eventData | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrPollEvent.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrReleaseSwapchainImage | ( | XrSwapchain | swapchain, |
const XrSwapchainImageReleaseInfo * | releaseInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrReleaseSwapchainImage.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrRequestDisplayRefreshRateFB | ( | XrSession | session, |
float | displayRefreshRate | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrRequestDisplayRefreshRateFB.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrRequestExitSession | ( | XrSession | session | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrRequestExitSession.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionBeginDebugUtilsLabelRegionEXT | ( | XrSession | session, |
const XrDebugUtilsLabelEXT * | labelInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrSessionBeginDebugUtilsLabelRegionEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionEndDebugUtilsLabelRegionEXT | ( | XrSession | session | ) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrSessionEndDebugUtilsLabelRegionEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSessionInsertDebugUtilsLabelEXT | ( | XrSession | session, |
const XrDebugUtilsLabelEXT * | labelInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrSessionInsertDebugUtilsLabelEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSetDebugUtilsObjectNameEXT | ( | XrInstance | instance, |
const XrDebugUtilsObjectNameInfoEXT * | nameInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrSetDebugUtilsObjectNameEXT.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStopHapticFeedback | ( | XrSession | session, |
const XrHapticActionInfo * | hapticActionInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrStopHapticFeedback.
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.
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.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSuggestInteractionProfileBindings | ( | XrInstance | instance, |
const XrInteractionProfileSuggestedBinding * | suggestedBindings | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrSuggestInteractionProfileBindings.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSyncActions | ( | XrSession | session, |
const XrActionsSyncInfo * | syncInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrSyncActions.
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.
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrWaitSwapchainImage | ( | XrSwapchain | swapchain, |
const XrSwapchainImageWaitInfo * | waitInfo | ||
) |
#include <state_trackers/oxr/oxr_api_funcs.h>
OpenXR API function xrWaitSwapchainImage.