Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_XrSession.h
| Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | public: | ||||
| /** Action functions to be called pre-session start. | /** Action functions to be called pre-session start. | ||||
| * Note: The "destroy" functions can also be called post-session start. */ | * Note: The "destroy" functions can also be called post-session start. */ | ||||
| bool createActionSet(const GHOST_XrActionSetInfo &info); | bool createActionSet(const GHOST_XrActionSetInfo &info); | ||||
| void destroyActionSet(const char *action_set_name); | void destroyActionSet(const char *action_set_name); | ||||
| bool createActions(const char *action_set_name, uint32_t count, const GHOST_XrActionInfo *infos); | bool createActions(const char *action_set_name, uint32_t count, const GHOST_XrActionInfo *infos); | ||||
| void destroyActions(const char *action_set_name, | void destroyActions(const char *action_set_name, | ||||
| uint32_t count, | uint32_t count, | ||||
| const char *const *action_names); | const char *const *action_names); | ||||
| bool createActionSpaces(const char *action_set_name, | |||||
| uint32_t count, | |||||
| const GHOST_XrActionSpaceInfo *infos); | |||||
| void destroyActionSpaces(const char *action_set_name, | |||||
| uint32_t count, | |||||
| const GHOST_XrActionSpaceInfo *infos); | |||||
| bool createActionBindings(const char *action_set_name, | bool createActionBindings(const char *action_set_name, | ||||
| uint32_t count, | uint32_t count, | ||||
| const GHOST_XrActionProfileInfo *infos); | const GHOST_XrActionProfileInfo *infos); | ||||
| void destroyActionBindings(const char *action_set_name, | void destroyActionBindings(const char *action_set_name, | ||||
| uint32_t count, | uint32_t count, | ||||
| const GHOST_XrActionProfileInfo *infos); | const char *const *action_names, | ||||
| const char *const *profile_paths); | |||||
| bool attachActionSets(); | bool attachActionSets(); | ||||
| /** | /** | ||||
| * Action functions to be called post-session start. | * Action functions to be called post-session start. | ||||
| * \param action_set_name: When `nullptr`, all attached action sets will be synced. | * \param action_set_name: When `nullptr`, all attached action sets will be synced. | ||||
| */ | */ | ||||
| bool syncActions(const char *action_set_name = nullptr); | bool syncActions(const char *action_set_name = nullptr); | ||||
| bool applyHapticAction(const char *action_set_name, | bool applyHapticAction(const char *action_set_name, | ||||
| ▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines | |||||