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

Runtime interaction profile binding data cloned from generated templates. More...

#include <oxr/actions/oxr_binding_profile.h>

Collaboration diagram for oxr_binding_profile:

Public Member Functions

bool oxr_binding_profile_find_binding_point (const struct oxr_binding_profile *profile, XrPath path, const struct oxr_binding_point **out_binding_point)
 Find a binding point in profile by its runtime binding point path.
 

Data Fields

struct oxr_binding_registry * registry
 Owning registry.
 
const struct oxr_profile_template * templ
 Immutable generated source template.
 
XrPath path
 Runtime XrPath for the interaction profile.
 
enum xrt_device_name device_name
 XRT device name associated with the generated profile template.
 
const char * localized_name
 User-facing localized profile name.
 
struct oxr_binding_point * binding_points
 All generated binding points for this profile.
 
size_t binding_point_count
 
struct oxr_dpad_emulation * dpad_emulations
 All generated DPAD emulations for this profile.
 
size_t dpad_emulation_count
 
struct u_hashmap_int * binding_points_by_path
 Maps every generated binding point XrPath to the first matching point.
 

Detailed Description

Runtime interaction profile binding data cloned from generated templates.

Member Function Documentation

◆ oxr_binding_profile_find_binding_point()

bool oxr_binding_profile_find_binding_point ( const struct oxr_binding_profile *  profile,
XrPath  path,
const struct oxr_binding_point **  out_binding_point 
)

Find a binding point in profile by its runtime binding point path.

References binding_points_by_path.

Field Documentation

◆ binding_points

struct oxr_binding_point* oxr_binding_profile::binding_points

All generated binding points for this profile.

◆ binding_points_by_path

struct u_hashmap_int* oxr_binding_profile::binding_points_by_path

Maps every generated binding point XrPath to the first matching point.

Referenced by oxr_binding_profile_find_binding_point().

◆ device_name

enum xrt_device_name oxr_binding_profile::device_name

◆ dpad_emulations

struct oxr_dpad_emulation* oxr_binding_profile::dpad_emulations

All generated DPAD emulations for this profile.

◆ localized_name

const char* oxr_binding_profile::localized_name

User-facing localized profile name.

Referenced by bindings.Profile::__init__(), and oxr_session::oxr_action_get_input_source_localized_name().

◆ path

XrPath oxr_binding_profile::path

Runtime XrPath for the interaction profile.

Referenced by oxr_instance::oxr_action_suggest_interaction_profile_bindings().

◆ registry

◆ templ

const struct oxr_profile_template* oxr_binding_profile::templ

Immutable generated source template.


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