|
Monado OpenXR Runtime
|
Resolve suggested profiles for a device. More...
#include "xrt/xrt_defines.h"#include "oxr_extension_support.h"#include "oxr_forward_declarations.h"#include "oxr_suggested_profile_array.h"
Go to the source code of this file.
Data Structures | |
| struct | oxr_profile_resolver_info |
Short-lived result of choosing a suggested profile for one subaction slot (for example /user/hand/left), plus any rebinding or device fallback needed to apply it. More... | |
Functions | |
| XRT_NONNULL_ALL void | oxr_resolver_populate_profile (struct oxr_logger *log, struct oxr_sink_logger *slog, const struct oxr_binding_registry *registry, const struct oxr_suggested_profile_array *suggested_profiles, struct xrt_device *xdev, enum xrt_device_name override_device_name, struct oxr_profile_resolver_info *info) |
| Resolve the binding information for a given device. | |
Resolve suggested profiles for a device.
| XRT_NONNULL_ALL void oxr_resolver_populate_profile | ( | struct oxr_logger * | log, |
| struct oxr_sink_logger * | slog, | ||
| const struct oxr_binding_registry * | registry, | ||
| const struct oxr_suggested_profile_array * | suggested_profiles, | ||
| struct xrt_device * | xdev, | ||
| enum xrt_device_name | override_device_name, | ||
| struct oxr_profile_resolver_info * | info | ||
| ) |
Resolve the binding information for a given device.
| log | Logger, must not be NULL. |
| slog | Sink logger, must not be NULL. |
| registry | Binding registry, must not be NULL. |
| suggested_profiles | Suggested profiles, must not be NULL. |
| xdev | Device, must not be NULL. |
| override_device_name | Profile name to prefer before xdev->name, can be XRT_DEVICE_INVALID. |
| info | Binding information, must not be NULL. |
References xrt_device::name, and U_ZERO.