The xrSyncActions function is defined as:
XrResult xrSyncActions( XrSession session, const XrActionsSyncInfo* syncInfo);
xrSyncActions updates the current state of input actions.
Repeated input action state queries between subsequent synchronization calls
must return the same values.
The XrActionSet structures referenced in the
syncInfo.activeActionSets must have been previously attached to the
session via xrAttachSessionActionSets.
If any action sets not attached to this session are passed to
xrSyncActions it must return
Subsets of the bound action sets can be synchronized in order to control
which actions are seen as active.
session is not focused, the runtime must return
XR_SESSION_NOT_FOCUSED, and all action states in the session must be
For more information, see the OpenXR Specification
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright (c) 2014-2021, The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.