Monado OpenXR Runtime
Data Fields
oxr_handle_base Struct Reference

Used to hold diverse child handles and ensure orderly destruction. More...

#include <oxr/oxr_objects.h>

Collaboration diagram for oxr_handle_base:
Collaboration graph
[legend]

Data Fields

uint64_t debug
 Magic (per-handle-type) value for debugging. More...
 
struct oxr_handle_baseparent
 Pointer to this object's parent handle holder, if any. More...
 
struct oxr_handle_basechildren [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...
 

Detailed Description

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.

Field Documentation

◆ children

struct oxr_handle_base* oxr_handle_base::children[XRT_MAX_HANDLE_CHILDREN]

Array of children, if any.

◆ debug

uint64_t oxr_handle_base::debug

Magic (per-handle-type) value for debugging.

◆ destroy

oxr_handle_destroyer oxr_handle_base::destroy

Destroy the object this handle refers to.

◆ parent

struct oxr_handle_base* oxr_handle_base::parent

Pointer to this object's parent handle holder, if any.

◆ state

enum oxr_handle_state oxr_handle_base::state

Current handle state.


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