mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-14 02:45:24 +00:00
xrt: Add xrt_luid_t
This commit is contained in:
parent
4ba23faa6b
commit
b62d871498
|
@ -44,6 +44,30 @@ struct xrt_uuid
|
|||
*/
|
||||
typedef struct xrt_uuid xrt_uuid_t;
|
||||
|
||||
/*!
|
||||
* Internal define for VK_LUID_SIZE.
|
||||
*
|
||||
* @ingroup xrt_iface
|
||||
*/
|
||||
#define XRT_LUID_SIZE 8
|
||||
|
||||
/*!
|
||||
* To transport LUIDs between different APIs.
|
||||
*
|
||||
* @ingroup xrt_iface
|
||||
*/
|
||||
struct xrt_luid
|
||||
{
|
||||
uint8_t data[XRT_LUID_SIZE];
|
||||
};
|
||||
|
||||
/*!
|
||||
* Typedef for @ref xrt_luid.
|
||||
*
|
||||
* @ingroup xrt_iface
|
||||
*/
|
||||
typedef struct xrt_luid xrt_luid_t;
|
||||
|
||||
/*!
|
||||
* A base class for reference counted objects.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue