|
Monado OpenXR Runtime
|
Default implementation helpers for xrt_system_devices. More...

Go to the source code of this file.
Data Structures | |
| struct | b_system_devices |
| Helper struct to manage devices by implementing the xrt_system_devices. More... | |
| struct | b_system_devices_static |
| Helper struct to manage devices by implementing the xrt_system_devices, this has only static device roles. More... | |
Functions | |
| static struct b_system_devices * | b_system_devices (struct xrt_system_devices *xsysd) |
| Small inline helper to cast from xrt_system_devices. | |
| struct b_system_devices * | b_system_devices_allocate (void) |
| Allocates a empty b_system_devices to be filled in by the caller, only the destroy function is filled in. | |
| void | b_system_devices_close (struct xrt_system_devices *xsysd) |
| Destroys all devices and clears out the frame context, doesn't free the struct itself, useful for code embedding the system devices struct into other objects where it's not the first member or C++ classes. | |
| static struct b_system_devices_static * | b_system_devices_static (struct xrt_system_devices *xsysd) |
| Small inline helper to cast from xrt_system_devices. | |
| struct b_system_devices_static * | b_system_devices_static_allocate (void) |
| Allocates a empty b_system_devices to be filled in by the caller, only the destroy function is filled in. | |
| void | b_system_devices_static_finalize (struct b_system_devices_static *bsysds, struct xrt_device *left, struct xrt_device *right, struct xrt_device *gamepad) |
| Finalizes the static struct with the given input devices, the system devices will always return these devices for the left and right role. | |
Default implementation helpers for xrt_system_devices.