|
Monado OpenXR Runtime
|
A unique identifier for an xrt_tracking_origin instance. More...
#include <xrt/xrt_tracking.h>
Data Fields | |
| uint64_t | val |
Related Symbols | |
(Note that these are not member symbols.) | |
| #define | XRT_TRACKING_ORIGIN_ID_INVALID XRT_C11_COMPOUND(struct xrt_tracking_origin_id){0} |
| Value of an xrt_tracking_origin_id that has not been assigned. | |
A unique identifier for an xrt_tracking_origin instance.
Each tracking origin is assigned a 64-bit ID in the Monado service process, or in the application process for in-process setups. For out-of-process clients the ID is synchronized over the IPC layer, so every client connected to the same service refers to a given tracking origin by the same value.
The ID is intended for hash maps, caches, and similar lookups. Unlike a memory pointer it is never reused after the tracking origin is destroyed.
A value of zero is invalid and means the tracking origin ID has not been assigned, matching the zero-initialized state of the struct.
|
related |
Value of an xrt_tracking_origin_id that has not been assigned.