|
Monado OpenXR Runtime
|
Store mapping interaction-profile/binding-path pairs to unique source paths. More...
#include <oxr/actions/oxr_binding_point_store.h>

Data Fields | |
| struct u_hashmap_int * | entries_by_pair |
| struct u_hashmap_int * | points_by_unique_path |
| uint32_t | next_unique_index |
Store mapping interaction-profile/binding-path pairs to unique source paths.
OpenXR returns source paths from xrEnumerateBoundSourcesForAction, and later accepts those same source paths in xrGetInputSourceLocalizedName. The binding registry may contain the same binding path under multiple interaction profiles, so this store assigns a generated unique path to each (interaction profile path, binding path) pair.
entries_by_pair maps the packed pair to the generated source path and binding point, while points_by_unique_path maps that generated source path back to the binding point for fast localized-name lookup.