Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_C-api.h
| Show First 20 Lines • Show All 1,061 Lines • ▼ Show 20 Lines | |||||
| * Destroy previously created OpenXR actions. | * Destroy previously created OpenXR actions. | ||||
| */ | */ | ||||
| void GHOST_XrDestroyActions(GHOST_XrContextHandle xr_context, | void GHOST_XrDestroyActions(GHOST_XrContextHandle xr_context, | ||||
| const char *action_set_name, | const char *action_set_name, | ||||
| uint32_t count, | uint32_t count, | ||||
| const char *const *action_names); | const char *const *action_names); | ||||
| /** | /** | ||||
| * Create spaces for pose-based OpenXR actions. | |||||
| */ | |||||
| int GHOST_XrCreateActionSpaces(GHOST_XrContextHandle xr_context, | |||||
| const char *action_set_name, | |||||
| uint32_t count, | |||||
| const GHOST_XrActionSpaceInfo *infos); | |||||
| /** | |||||
| * Destroy previously created spaces for OpenXR actions. | |||||
| */ | |||||
| void GHOST_XrDestroyActionSpaces(GHOST_XrContextHandle xr_context, | |||||
| const char *action_set_name, | |||||
| uint32_t count, | |||||
| const GHOST_XrActionSpaceInfo *infos); | |||||
| /** | |||||
| * Create input/output path bindings for OpenXR actions. | * Create input/output path bindings for OpenXR actions. | ||||
| */ | */ | ||||
| int GHOST_XrCreateActionBindings(GHOST_XrContextHandle xr_context, | int GHOST_XrCreateActionBindings(GHOST_XrContextHandle xr_context, | ||||
| const char *action_set_name, | const char *action_set_name, | ||||
| uint32_t count, | uint32_t count, | ||||
| const GHOST_XrActionProfileInfo *infos); | const GHOST_XrActionProfileInfo *infos); | ||||
| /** | /** | ||||
| * Destroy previously created bindings for OpenXR actions. | * Destroy previously created bindings for OpenXR actions. | ||||
| */ | */ | ||||
| void GHOST_XrDestroyActionBindings(GHOST_XrContextHandle xr_context, | void GHOST_XrDestroyActionBindings(GHOST_XrContextHandle xr_context, | ||||
| const char *action_set_name, | 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); | |||||
| /** | /** | ||||
| * Attach all created action sets to the current OpenXR session. | * Attach all created action sets to the current OpenXR session. | ||||
| */ | */ | ||||
| int GHOST_XrAttachActionSets(GHOST_XrContextHandle xr_context); | int GHOST_XrAttachActionSets(GHOST_XrContextHandle xr_context); | ||||
| /** | /** | ||||
| * Update button/tracking states for OpenXR actions. | * Update button/tracking states for OpenXR actions. | ||||
| ▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines | |||||