Monado OpenXR Runtime
Loading...
Searching...
No Matches

The data associated with the attachment of an Action Set (oxr_action_set) to as Session (oxr_session). More...

#include <oxr/oxr_objects.h>

Collaboration diagram for oxr_action_set_attachment:

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_action_set_attachment *act_set_attached, struct oxr_session_action_context *action_context, struct oxr_action_set_ref *act_set_ref)
 

Data Fields

struct oxr_session_action_context * sess_context
 Owning session action context.
 
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.
 
uint32_t last_sync_priority
 Effective action-set priority from the latest xrSyncActions.
 
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.
 

Detailed Description

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.

See also
oxr_action_set

Member Function Documentation

◆ oxr_action_set_attachment_teardown()

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_action_context::act_sets_attachments_by_key, action_attachment_count, oxr_refcounted_unref(), and sess_context.

Field Documentation

◆ act_attachments

struct oxr_action_attachment* oxr_action_set_attachment::act_attachments

◆ act_set_key

uint32_t oxr_action_set_attachment::act_set_key

Unique key for the session hashmap.

Referenced by oxr_action_set_attachment_teardown().

◆ act_set_ref

struct oxr_action_set_ref* oxr_action_set_attachment::act_set_ref

◆ action_attachment_count

◆ last_sync_priority

uint32_t oxr_action_set_attachment::last_sync_priority

Effective action-set priority from the latest xrSyncActions.

Reset to oxr_action_set_ref::priority at the start of each successful focused sync, then overwritten only for action sets in that sync's active list (including XR_EXT_active_action_set_priority overrides). Used after sync, for example when enumerating bound sources, to apply the same priority suppression as input combining.

◆ requested_subaction_paths

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_with_context().

◆ sess_context

struct oxr_session_action_context* oxr_action_set_attachment::sess_context

The documentation for this struct was generated from the following files: