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

Client-suggested bindings for one OpenXR interaction profile. More...

#include <oxr/actions/oxr_suggested_profile.h>

Collaboration diagram for oxr_suggested_profile:

Data Fields

XrPath path
 Interaction profile path this suggestion set is for.
 
const struct oxr_profile_template * templ
 Used to lookup xrt_binding_profile for fallback.
 
struct oxr_suggested_binding * bindings
 Client-suggested action-to-path bindings for this profile.
 
size_t binding_count
 
struct oxr_dpad_state dpad_state
 Optional DPAD modifications from the same suggest call.
 

Detailed Description

Client-suggested bindings for one OpenXR interaction profile.

Groups the oxr_suggested_binding entries submitted by the application for a single interaction profile (for example /interaction_profiles/khr/simple_controller). Each suggested binding points at an oxr_binding_point in the oxr_binding_registry.

Profiles live on oxr_instance_action_context::suggested_profiles and are snapshotted onto the session at xrAttachSessionActionSets. The snapshotting is required by the OpenXR spec.

Field Documentation

◆ bindings

struct oxr_suggested_binding* oxr_suggested_profile::bindings

Client-suggested action-to-path bindings for this profile.

Referenced by oxr_instance::oxr_action_suggest_interaction_profile_bindings(), oxr_resolver_populate_input(), and oxr_resolver_populate_output().

◆ dpad_state

struct oxr_dpad_state oxr_suggested_profile::dpad_state

Optional DPAD modifications from the same suggest call.

Referenced by oxr_instance::oxr_action_suggest_interaction_profile_bindings().

◆ path

XrPath oxr_suggested_profile::path

◆ templ

const struct oxr_profile_template* oxr_suggested_profile::templ

Used to lookup xrt_binding_profile for fallback.

Referenced by oxr_suggested_profile_array_find_by_device_name().


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