|
Monado OpenXR Runtime
|
Maps binding paths from one interaction profile onto another. More...
#include <oxr/actions/oxr_rebinding_profile.h>

Public Member Functions | |
| bool | oxr_rebinding_profile_find_target (const struct oxr_rebinding_profile *profile, XrPath source_path, XrPath *out_target_path) |
Find a target binding path in a rebinding profile for source_path. | |
Data Fields | |
| const struct oxr_rebinding_profile_template * | templ |
| Immutable generated source template. | |
| XrPath | source_profile_path |
| Source interaction profile path. | |
| XrPath | target_profile_path |
| Target interaction profile path. | |
| struct oxr_rebinding * | bindings |
| Source-to-target binding path mappings. | |
| size_t | binding_count |
Maps binding paths from one interaction profile onto another.
Used when an app suggests bindings for a source profile that the device does not expose directly. Listed source paths are remapped to the target profile; unmapped paths are dropped.
This struct is never mutated after creation from the templates.
| bool oxr_rebinding_profile_find_target | ( | const struct oxr_rebinding_profile * | profile, |
| XrPath | source_path, | ||
| XrPath * | out_target_path | ||
| ) |
Find a target binding path in a rebinding profile for source_path.
References bindings.
| struct oxr_rebinding* oxr_rebinding_profile::bindings |
Source-to-target binding path mappings.
Referenced by oxr_rebinding_profile_find_target().
| XrPath oxr_rebinding_profile::source_profile_path |
Source interaction profile path.
Referenced by oxr_binding_registry::oxr_binding_registry_find_rebinding_from_source_for_device(), and oxr_suggested_profile_array_find_rebinding_for_device_name().
| XrPath oxr_rebinding_profile::target_profile_path |
Target interaction profile path.
Referenced by oxr_binding_registry::oxr_binding_registry_find_rebinding_from_source_for_device(), and oxr_suggested_profile_array_find_rebinding_for_device_name().
| const struct oxr_rebinding_profile_template* oxr_rebinding_profile::templ |
Immutable generated source template.