Class EXTActiveActionSetPriority

java.lang.Object
org.lwjgl.openxr.EXTActiveActionSetPriority

public final class EXTActiveActionSetPriority extends Object
The XR_EXT_active_action_set_priority extension.

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.

  • Field Details

    • XR_EXT_active_action_set_priority_SPEC_VERSION

      public static final int XR_EXT_active_action_set_priority_SPEC_VERSION
      The extension specification version.
      See Also:
    • XR_EXT_ACTIVE_ACTION_SET_PRIORITY_EXTENSION_NAME

      public static final String XR_EXT_ACTIVE_ACTION_SET_PRIORITY_EXTENSION_NAME
      The extension name.
      See Also:
    • XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT

      public static final int XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT
      Extends XrStructureType.
      See Also: