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>

Collaboration diagram for oxr_action_set_attachment:

Public Member Functions

oxr_session.c
void oxr_action_set_attachment_teardown (struct oxr_action_set_attachment *act_set_attached)
 De-initialize an action set attachment and its action attachments. More...
 

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_sessionsess
 Owning session. More...
 
struct oxr_action_set_refact_set_ref
 Action set refcounted data. More...
 
uint32_t act_set_key
 Unique key for the session hashmap. More...
 
struct oxr_subaction_paths requested_subaction_paths
 Which sub-action paths are requested on the latest sync. More...
 
struct oxr_action_attachmentact_attachments
 An array of action attachments we own. More...
 
size_t action_attachment_count
 Length of oxr_action_set_attachment::act_attachments. More...
 

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

Field Documentation

◆ act_attachments

struct oxr_action_attachment* oxr_action_set_attachment::act_attachments

An array of action attachments we own.

Referenced by oxr_action_set_attachment_teardown(), and oxr_action_sync_data().

◆ act_set_key

uint32_t oxr_action_set_attachment::act_set_key

Unique key for the session hashmap.

◆ act_set_ref

struct oxr_action_set_ref* oxr_action_set_attachment::act_set_ref

Action set refcounted data.

◆ action_attachment_count

size_t oxr_action_set_attachment::action_attachment_count

◆ requested_subaction_paths

struct oxr_subaction_paths oxr_action_set_attachment::requested_subaction_paths

Which sub-action paths are requested on the latest sync.

◆ sess

struct oxr_session* oxr_action_set_attachment::sess

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