The properties of an XrActionSet become immutable after it has been attached to a session. This currently includes the priority of the action set preventing the application from changing the priority number for the duration of the session.
Given that most runtimes do not actually require this number to be immutable this extension adds the ability to provide a different priority number for every XrActiveActionSet provided to SyncActions.
When updating the action state with SyncActions, the application can provide a pointer to an XrActiveActionSetPrioritiesEXT structure in the next chain of XrActionsSyncInfo. This structure contains an array of XrActiveActionSetPriorityEXT structures mapping active action sets to their priority numbers.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_EXT_ACTIVE_ACTION_SET_PRIORITY_EXTENSION_NAME
The extension name. |
| public static final int | XR_EXT_active_action_set_priority_SPEC_VERSION
The extension specification version. |
| public static final int | XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| XR_EXT_ACTIVE_ACTION_SET_PRIORITY_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_EXT_ACTIVE_ACTION_SET_PRIORITY_EXTENSION_NAME The extension name. | |
| XR_EXT_active_action_set_priority_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_EXT_active_action_set_priority_SPEC_VERSION The extension specification version. | |
| XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT | back to summary |
|---|---|
| public static final int XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT Extends | |
| EXTActiveActionSetPriority | back to summary |
|---|---|
| private EXTActiveActionSetPriority() | |