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

This holds cached paths for subaction paths. More...

#include <oxr/actions/oxr_instance_path_cache.h>

Collaboration diagram for oxr_instance_path_cache:

Public Member Functions

XrResult oxr_instance_path_cache_init (struct oxr_instance_path_cache *cache, struct oxr_path_store *store) XRT_NONNULL_ALL
 Initialize the action cache for an instance.
 
void oxr_instance_path_cache_fini (struct oxr_instance_path_cache *cache) XRT_NONNULL_ALL
 Finalize and cleanup the action cache for an instance.
 

Data Fields

XrPath left
 
XrPath right
 
XrPath head
 
XrPath gamepad
 
XrPath eyes
 
XrPath user
 
XrPath template_paths [OXR_BINDINGS_PROFILE_TEMPLATE_COUNT]
 

Detailed Description

This holds cached paths for subaction paths.

Member Function Documentation

◆ oxr_instance_path_cache_fini()

void oxr_instance_path_cache_fini ( struct oxr_instance_path_cache cache)

Finalize and cleanup the action cache for an instance.

Parameters
cacheAction cache to finalize

◆ oxr_instance_path_cache_init()

XrResult oxr_instance_path_cache_init ( struct oxr_instance_path_cache cache,
struct oxr_path_store store 
)

Initialize the action cache for an instance.

Parameters
cacheAction cache to initialize
storePath store to create paths in.

References ARRAY_SIZE, and OXR_FOR_EACH_SUBACTION_PATH_DETAILED.


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