Monado OpenXR Runtime

The reference-counted data of an action. More...

#include <oxr/oxr_objects.h>

Inheritance diagram for oxr_action_ref:
Collaboration diagram for oxr_action_ref:

Data Fields

struct oxr_refcounted base
 
char name [XR_MAX_ACTION_NAME_SIZE]
 Application supplied name of this action. More...
 
uint32_t act_key
 Unique key for the session hashmap. More...
 
XrActionType action_type
 Type this action was created with. More...
 
struct oxr_subaction_paths subaction_paths
 Which sub action paths that this action was created with. More...
 
- Data Fields inherited from oxr_refcounted
struct xrt_reference base
 
void(* destroy )(struct oxr_refcounted *)
 Destruction callback. More...
 

Detailed Description

The reference-counted data of an action.

One or more sessions may still need this data after the application destroys its XrAction handle, so this data is refcounted.

See also
oxr_action

Field Documentation

◆ act_key

uint32_t oxr_action_ref::act_key

Unique key for the session hashmap.

◆ action_type

XrActionType oxr_action_ref::action_type

Type this action was created with.

◆ name

◆ subaction_paths

struct oxr_subaction_paths oxr_action_ref::subaction_paths

Which sub action paths that this action was created with.

Referenced by oxr_instance::oxr_classify_subaction_paths().


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