Monado OpenXR Runtime

A group of actions. More...

#include <oxr/oxr_objects.h>

Inheritance diagram for oxr_action_set:
Collaboration diagram for oxr_action_set:

Data Fields

struct oxr_handle_base handle
 Common structure for things referred to by OpenXR handles. More...
 
struct oxr_instanceinst
 Owner of this action set. More...
 
struct oxr_action_set_refdata
 The data for this action set that must live as long as any session we are attached to. More...
 
uint32_t act_set_key
 Unique key for the session hashmap. More...
 
struct u_hashset_itemname_item
 The item in the name hashset. More...
 
struct u_hashset_itemloc_item
 The item in the localized hashset. More...
 
- Data Fields inherited from oxr_handle_base
uint64_t debug
 Magic (per-handle-type) value for debugging. More...
 
struct oxr_handle_baseparent
 Pointer to this object's parent handle holder, if any. More...
 
struct oxr_handle_basechildren [256]
 Array of children, if any. More...
 
enum oxr_handle_state state
 Current handle state. More...
 
oxr_handle_destroyer destroy
 Destroy the object this handle refers to. More...
 

Related Functions

(Note that these are not member functions.)

static XrActionSet oxr_action_set_to_openxr (struct oxr_action_set *act_set)
 To go back to a OpenXR object. More...
 

Additional Inherited Members

- Public Member Functions inherited from oxr_handle_base
XrResult oxr_handle_destroy (struct oxr_logger *log, struct oxr_handle_base *hb)
 Destroy the handle's object, as well as all child handles recursively. More...
 
- Protected Member Functions inherited from oxr_handle_base
XrResult oxr_handle_init (struct oxr_logger *log, struct oxr_handle_base *hb, uint64_t debug, oxr_handle_destroyer destroy, struct oxr_handle_base *parent)
 Initialize a handle holder, and if a parent is specified, update its child list to include this handle. More...
 

Detailed Description

A group of actions.

Parent type/handle is oxr_instance

Note, however, that an action set must be "attached" to a session ( oxr_session ) to be used and not just configured. The corresponding data is in oxr_action_set_attachment.

OpenXR Object:
XrActionSet

Field Documentation

◆ act_set_key

uint32_t oxr_action_set::act_set_key

Unique key for the session hashmap.

Duplicated from oxr_action_set_ref::act_set_key for efficiency.

◆ data

struct oxr_action_set_ref* oxr_action_set::data

The data for this action set that must live as long as any session we are attached to.

Referenced by oxr_verify_subaction_path_sync().

◆ handle

struct oxr_handle_base oxr_action_set::handle

Common structure for things referred to by OpenXR handles.

◆ inst

struct oxr_instance* oxr_action_set::inst

Owner of this action set.

◆ loc_item

struct u_hashset_item* oxr_action_set::loc_item

The item in the localized hashset.

◆ name_item

struct u_hashset_item* oxr_action_set::name_item

The item in the name hashset.


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