|
Monado OpenXR Runtime
|
The data associated with the attachment of an Action Set (oxr_action_set) to as Session (oxr_session). More...
#include <oxr/oxr_objects.h>

Public Member Functions | |
| void | oxr_action_set_attachment_teardown (struct oxr_action_set_attachment *act_set_attached) |
| De-initialize an action set attachment and its action attachments. | |
Static Public Member Functions | |
| static XrResult | oxr_action_set_attachment_init (struct oxr_logger *log, struct oxr_session *sess, struct oxr_action_set *act_set, struct oxr_action_set_attachment *act_set_attached) |
Data Fields | |
| struct oxr_session * | sess |
| Owning session. | |
| struct oxr_action_set_ref * | act_set_ref |
| Action set refcounted data. | |
| uint32_t | act_set_key |
| Unique key for the session hashmap. | |
| struct oxr_subaction_paths | requested_subaction_paths |
| Which sub-action paths are requested on the latest sync. | |
| struct oxr_action_attachment * | act_attachments |
| An array of action attachments we own. | |
| size_t | action_attachment_count |
| Length of oxr_action_set_attachment::act_attachments. | |
The data associated with the attachment of an Action Set (oxr_action_set) to as Session (oxr_session).
This structure has no pointer to the oxr_action_set that created it because the application is allowed to destroy an action before the session, which should change nothing except not allow the application to use the corresponding data anymore.
| void oxr_action_set_attachment_teardown | ( | struct oxr_action_set_attachment * | act_set_attached | ) |
De-initialize an action set attachment and its action attachments.
Frees the action attachments, but does not de-allocate the action set attachment.
References act_attachments, act_set_key, act_set_ref, oxr_session::act_sets_attachments_by_key, action_attachment_count, oxr_refcounted_unref(), and sess.
| struct oxr_action_attachment* oxr_action_set_attachment::act_attachments |
An array of action attachments we own.
Referenced by oxr_action_set_attachment_teardown(), oxr_action_sync_data(), and oxr_session::oxr_session_attach_action_sets().
| uint32_t oxr_action_set_attachment::act_set_key |
Unique key for the session hashmap.
Referenced by oxr_action_attachment::oxr_action_attachment_bind(), and oxr_action_set_attachment_teardown().
| struct oxr_action_set_ref* oxr_action_set_attachment::act_set_ref |
Action set refcounted data.
Referenced by oxr_action_attachment::oxr_action_attachment_bind(), and oxr_action_set_attachment_teardown().
| size_t oxr_action_set_attachment::action_attachment_count |
| struct oxr_subaction_paths oxr_action_set_attachment::requested_subaction_paths |
Which sub-action paths are requested on the latest sync.
Referenced by oxr_action_sync_data().
| struct oxr_session* oxr_action_set_attachment::sess |
Owning session.
Referenced by oxr_action_attachment::oxr_action_attachment_init(), oxr_action_set_attachment_teardown(), oxr_action_sync_data(), and oxr_session::oxr_session_attach_action_sets().