Monado OpenXR Runtime
Loading...
Searching...
No Matches
oxr_api_action.h File Reference

Header defining all API functions. More...

#include "oxr_extension_support.h"
Include dependency graph for oxr_api_action.h:

Go to the source code of this file.

Functions

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateActionSet (XrInstance instance, const XrActionSetCreateInfo *createInfo, XrActionSet *actionSet)
 OpenXR API function xrCreateActionSet.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyActionSet (XrActionSet actionSet)
 OpenXR API function xrDestroyActionSet.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateAction (XrActionSet actionSet, const XrActionCreateInfo *createInfo, XrAction *action)
 OpenXR API function xrCreateAction.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyAction (XrAction action)
 OpenXR API function xrDestroyAction.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSuggestInteractionProfileBindings (XrInstance instance, const XrInteractionProfileSuggestedBinding *suggestedBindings)
 OpenXR API function xrSuggestInteractionProfileBindings.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrAttachSessionActionSets (XrSession session, const XrSessionActionSetsAttachInfo *bindInfo)
 OpenXR API function xrAttachSessionActionSets.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetCurrentInteractionProfile (XrSession session, XrPath topLevelUserPath, XrInteractionProfileState *interactionProfile)
 OpenXR API function xrGetCurrentInteractionProfile.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateBoolean (XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateBoolean *data)
 OpenXR API function xrGetActionStateBoolean.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateFloat (XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateFloat *data)
 OpenXR API function xrGetActionStateFloat.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStateVector2f (XrSession session, const XrActionStateGetInfo *getInfo, XrActionStateVector2f *data)
 OpenXR API function xrGetActionStateVector2f.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetActionStatePose (XrSession session, const XrActionStateGetInfo *getInfo, XrActionStatePose *data)
 OpenXR API function xrGetActionStatePose.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrSyncActions (XrSession session, const XrActionsSyncInfo *syncInfo)
 OpenXR API function xrSyncActions.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateBoundSourcesForAction (XrSession session, const XrBoundSourcesForActionEnumerateInfo *enumerateInfo, uint32_t sourceCapacityInput, uint32_t *sourceCountOutput, XrPath *sources)
 OpenXR API function xrEnumerateBoundSourcesForAction.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetInputSourceLocalizedName (XrSession session, const XrInputSourceLocalizedNameGetInfo *getInfo, uint32_t bufferCapacityInput, uint32_t *bufferCountOutput, char *buffer)
 OpenXR API function xrGetInputSourceLocalizedName.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrApplyHapticFeedback (XrSession session, const XrHapticActionInfo *hapticActionInfo, const XrHapticBaseHeader *hapticEvent)
 OpenXR API function xrApplyHapticFeedback.
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrStopHapticFeedback (XrSession session, const XrHapticActionInfo *hapticActionInfo)
 OpenXR API function xrStopHapticFeedback.
 

Detailed Description

Function Documentation

◆ oxr_xrApplyHapticFeedback()

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

◆ oxr_xrAttachSessionActionSets()

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

OpenXR API function xrAttachSessionActionSets.

OpenXR Entry Point:
xrAttachSessionActionSets

References oxr_session::act_set_attachments, and oxr_error().

◆ oxr_xrCreateAction()

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

◆ oxr_xrCreateActionSet()

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

OpenXR API function xrCreateActionSet.

OpenXR Entry Point:
xrCreateActionSet

References oxr_instance::action_context, oxr_instance_action_context::action_sets, and oxr_error().

◆ oxr_xrDestroyAction()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyAction ( XrAction  action)

OpenXR API function xrDestroyAction.

OpenXR Entry Point:
xrDestroyAction

References oxr_action::handle.

◆ oxr_xrDestroyActionSet()

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroyActionSet ( XrActionSet  actionSet)

OpenXR API function xrDestroyActionSet.

OpenXR Entry Point:
xrDestroyActionSet

References oxr_action_set::handle.

◆ oxr_xrEnumerateBoundSourcesForAction()

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

OpenXR API function xrEnumerateBoundSourcesForAction.

OpenXR Entry Point:
xrEnumerateBoundSourcesForAction

References oxr_action::act_key, oxr_session::act_set_attachments, and oxr_error().

◆ oxr_xrGetActionStateBoolean()

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

◆ oxr_xrGetActionStateFloat()

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

◆ oxr_xrGetActionStatePose()

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

◆ oxr_xrGetActionStateVector2f()

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

◆ oxr_xrGetCurrentInteractionProfile()

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

OpenXR API function xrGetCurrentInteractionProfile.

OpenXR Entry Point:
xrGetCurrentInteractionProfile

References oxr_error(), and OXR_FOR_EACH_SUBACTION_PATH.

◆ oxr_xrGetInputSourceLocalizedName()

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

OpenXR API function xrGetInputSourceLocalizedName.

OpenXR Entry Point:
xrGetInputSourceLocalizedName

References oxr_session::act_set_attachments, oxr_action_get_input_source_localized_name(), and oxr_error().

◆ oxr_xrStopHapticFeedback()

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

◆ oxr_xrSuggestInteractionProfileBindings()

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

◆ oxr_xrSyncActions()

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