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

A single action. More...

#include <oxr/oxr_objects.h>

Inheritance diagram for oxr_action:
Collaboration diagram for oxr_action:

Public Member Functions

XrResult oxr_action_create (struct oxr_logger *log, struct oxr_action_set *act_set, const XrActionCreateInfo *createInfo, struct oxr_action **out_act)
 
- 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.
 

Data Fields

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

Related Symbols

(Note that these are not member symbols.)

static XrAction oxr_action_to_openxr (struct oxr_action *act)
 To go back to a OpenXR object.
 

Additional Inherited Members

- 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.
 

Detailed Description

A single action.

Parent type/handle is oxr_action_set

For actual usage, an action is attached to a session: the corresponding data is in oxr_action_attachment

OpenXR Object:
XrAction

Field Documentation

◆ act_key

◆ act_set

◆ data

◆ handle

struct oxr_handle_base oxr_action::handle

Common structure for things referred to by OpenXR handles.

Referenced by oxr_xrDestroyAction().

◆ loc_item

struct u_hashset_item* oxr_action::loc_item

The item in the localized hashset.

◆ name_item

struct u_hashset_item* oxr_action::name_item

The item in the name hashset.


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