|
Monado OpenXR Runtime
|
A hand tracker. More...
#include <oxr/oxr_objects.h>
Data Fields | |
| struct oxr_handle_base | handle |
| Common structure for things referred to by OpenXR handles. More... | |
| struct oxr_session * | sess |
| Owner of this hand tracker. More... | |
| struct oxr_hand_tracking_data_source | unobstructed |
| struct oxr_hand_tracking_data_source | conforming |
| const struct oxr_hand_tracking_data_source * | requested_sources [2] |
| An ordered list of requested data-source from above options (oxr_hand_tracker::[unobstructed|conforming]), ordered by oxr_hand_tracker::input_name (see oxr_hand_tracking_data_source_cmp) More... | |
| uint32_t | requested_sources_count |
| XrHandEXT | hand |
| XrHandJointSetEXT | hand_joint_set |
Data Fields inherited from oxr_handle_base | |
| uint64_t | debug |
| Magic (per-handle-type) value for debugging. More... | |
| struct oxr_handle_base * | parent |
| Pointer to this object's parent handle holder, if any. More... | |
| struct oxr_handle_base * | children [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 XrHandTrackerEXT | oxr_hand_tracker_to_openxr (struct oxr_hand_tracker *hand_tracker) |
| To go back to a OpenXR object. More... | |
Related Functions inherited from oxr_handle_base | |
| typedef XrResult(* | oxr_handle_destroyer) (struct oxr_logger *log, struct oxr_handle_base *hb) |
| Function pointer type for a handle destruction function. More... | |
| XrResult | oxr_handle_allocate_and_init (struct oxr_logger *log, size_t size, uint64_t debug, oxr_handle_destroyer destroy, struct oxr_handle_base *parent, void **out) |
| Allocate some memory for use as a handle, and initialize it as a handle. More... | |
| #define | OXR_ALLOCATE_HANDLE(LOG, OUT, DEBUG, DESTROY, PARENT) oxr_handle_allocate_and_init(LOG, sizeof(*OUT), DEBUG, DESTROY, PARENT, (void **)&OUT) |
| Allocates memory for a handle and evaluates to an XrResult. More... | |
| #define | OXR_ALLOCATE_HANDLE_OR_RETURN(LOG, OUT, DEBUG, DESTROY, PARENT) |
| Allocate memory for a handle, returning in case of failure. More... | |
| const char * | oxr_handle_state_to_string (enum oxr_handle_state state) |
| Returns a human-readable label for a handle state. 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... | |
| struct oxr_handle_base oxr_hand_tracker::handle |
Common structure for things referred to by OpenXR handles.
| const struct oxr_hand_tracking_data_source* oxr_hand_tracker::requested_sources[2] |
An ordered list of requested data-source from above options (oxr_hand_tracker::[unobstructed|conforming]), ordered by oxr_hand_tracker::input_name (see oxr_hand_tracking_data_source_cmp)
if OXR_HAVE_EXT_hand_tracking_data_source is not defined the list will contain refs to all the above options.
Referenced by oxr_session_hand_joints().
| struct oxr_session* oxr_hand_tracker::sess |
Owner of this hand tracker.
Referenced by oxr_session_hand_joints().