The open source OpenXR runtime

xrt: Add xrt_luid_t

authored by

Jakob Bornecrantz and committed by
Jakob Bornecrantz
b62d8714 4ba23faa

+24
+24
src/xrt/include/xrt/xrt_defines.h
··· 45 45 typedef struct xrt_uuid xrt_uuid_t; 46 46 47 47 /*! 48 + * Internal define for VK_LUID_SIZE. 49 + * 50 + * @ingroup xrt_iface 51 + */ 52 + #define XRT_LUID_SIZE 8 53 + 54 + /*! 55 + * To transport LUIDs between different APIs. 56 + * 57 + * @ingroup xrt_iface 58 + */ 59 + struct xrt_luid 60 + { 61 + uint8_t data[XRT_LUID_SIZE]; 62 + }; 63 + 64 + /*! 65 + * Typedef for @ref xrt_luid. 66 + * 67 + * @ingroup xrt_iface 68 + */ 69 + typedef struct xrt_luid xrt_luid_t; 70 + 71 + /*! 48 72 * A base class for reference counted objects. 49 73 * 50 74 * @ingroup xrt_iface