Monado OpenXR Runtime
|
Used to hold diverse child handles and ensure orderly destruction. More...
#include <oxr/oxr_objects.h>
Data Fields | |
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 [XRT_MAX_HANDLE_CHILDREN] |
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... | |
Used to hold diverse child handles and ensure orderly destruction.
Each object referenced by an OpenXR handle should have one of these as its first element.
struct oxr_handle_base* oxr_handle_base::children[XRT_MAX_HANDLE_CHILDREN] |
Array of children, if any.
uint64_t oxr_handle_base::debug |
Magic (per-handle-type) value for debugging.
oxr_handle_destroyer oxr_handle_base::destroy |
Destroy the object this handle refers to.
struct oxr_handle_base* oxr_handle_base::parent |
Pointer to this object's parent handle holder, if any.
enum oxr_handle_state oxr_handle_base::state |
Current handle state.