|
Monado OpenXR Runtime
|
Holds all action-related state that lives at the instance level (shared across sessions). More...
#include <oxr/actions/oxr_instance_action_context.h>

Public Member Functions | |
| XRT_CHECK_RESULT XrResult | oxr_instance_action_context_create (struct oxr_logger *log, struct oxr_instance_action_context **out_context) |
| Create a new instance action context (reference count 1). | |
Data Fields | |
| struct oxr_refcounted | base |
| struct oxr_pair_hashset | action_sets |
| Action set name and localized name stores. | |
| struct oxr_interaction_profile_array | suggested_profiles |
| Interaction profile bindings that have been suggested by the client. | |
Holds all action-related state that lives at the instance level (shared across sessions).
Used for duplicate checking and storage of client-suggested that are later applied when action sets are attached to a session.
Reference-counted; use oxr_refcounted_ref and oxr_refcounted_unref on the base member to manage references. Destroy is only called when the reference count reaches zero.
In a future extension, this context is intended to support namespaced action sets and to allow plugins (e.g. in a game) to suggest their own bindings without affecting the main application’s bindings.
| struct oxr_pair_hashset oxr_instance_action_context::action_sets |
Action set name and localized name stores.
Referenced by oxr_xrCreateActionSet().
| struct oxr_interaction_profile_array oxr_instance_action_context::suggested_profiles |
Interaction profile bindings that have been suggested by the client.
Referenced by oxr_session::oxr_session_attach_action_sets().