Monado OpenXR Runtime
Loading...
Searching...
No Matches
oxr_binding_point_store Struct Reference

Store mapping interaction-profile/binding-path pairs to unique source paths. More...

#include <oxr/actions/oxr_binding_point_store.h>

Collaboration diagram for oxr_binding_point_store:

Data Fields

struct u_hashmap_int * entries_by_pair
 
struct u_hashmap_int * points_by_unique_path
 
uint32_t next_unique_index
 

Detailed Description

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.


The documentation for this struct was generated from the following file: