|
Monado OpenXR Runtime
|
Can be one of several reference space types, or a space that is bound to an action. More...
#include <oxr/oxr_objects.h>


Data Fields | ||
| struct oxr_handle_base | handle | |
| Common structure for things referred to by OpenXR handles. | ||
| struct oxr_session * | sess | |
| Owner of this space. | ||
| struct xrt_pose | pose | |
| Pose that was given during creation. | ||
| uint32_t | act_key | |
| Action key from which action this space was created from. | ||
| enum oxr_space_type | space_type | |
| What kind of space is this? | ||
| struct oxr_subaction_paths | subaction_paths | |
| Which sub action path is this? | ||
| struct { | ||
| struct xrt_space * xs | ||
| struct xrt_device * xdev | ||
| enum xrt_input_name name | ||
| bool feature_eye_tracking | ||
| } | action | |
| struct { | ||
| struct xrt_space * xs | ||
| } | xdev_pose | |
Data Fields inherited from oxr_handle_base | ||
| uint64_t | debug | |
| Magic (per-handle-type) value for debugging. | ||
| struct oxr_handle_base * | parent | |
| Pointer to this object's parent handle holder, if any. | ||
| struct oxr_handle_base * | children [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. | ||
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. | |
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. | |
Related Symbols 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. | |
| 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. | |
| #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. | |
| #define | OXR_ALLOCATE_HANDLE_OR_RETURN(LOG, OUT, DEBUG, DESTROY, PARENT) |
| Allocate memory for a handle, returning in case of failure. | |
| const char * | oxr_handle_state_to_string (enum oxr_handle_state state) |
| Returns a human-readable label for a handle state. | |
Can be one of several reference space types, or a space that is bound to an action.
Parent type/handle is oxr_session
| uint32_t oxr_space::act_key |
Action key from which action this space was created from.
Referenced by oxr_pp_space_indented().
| struct oxr_handle_base oxr_space::handle |
Common structure for things referred to by OpenXR handles.
Referenced by oxr_xrDestroySpace().
| struct xrt_pose oxr_space::pose |
Pose that was given during creation.
Referenced by handle_space(), oxr_pp_space_indented(), oxr_space_locate(), oxr_space_locate_device(), oxr_space_xdev_pose_create(), and oxr_spaces_locate().
| struct oxr_session* oxr_space::sess |
Owner of this space.
Referenced by oxr_pp_space_indented(), oxr_space_locate(), oxr_space_locate_device(), oxr_space_xdev_pose_create(), oxr_spaces_locate(), oxr_xrCreateActionSpace(), and oxr_xrLocateSpace().
| enum oxr_space_type oxr_space::space_type |
What kind of space is this?
Referenced by handle_space(), oxr_pp_space_indented(), and oxr_space_xdev_pose_create().
| struct oxr_subaction_paths oxr_space::subaction_paths |
Which sub action path is this?
Referenced by oxr_pp_space_indented().