|
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_init (struct oxr_logger *log, struct oxr_instance_action_context *context) |
| Initialize the action context for an instance. | |
| void | oxr_instance_action_context_fini (struct oxr_instance_action_context *context) |
| Finalize and cleanup the action context for an instance. | |
Data Fields | ||
| struct { | ||
| struct u_hashset * name_store | ||
| struct u_hashset * loc_store | ||
| } | 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.
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_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().