|
Monado OpenXR Runtime
|
This holds cached paths for subaction paths. More...
#include <oxr/actions/oxr_instance_path_cache.h>

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] |
This holds cached paths for subaction paths.
| void oxr_instance_path_cache_fini | ( | struct oxr_instance_path_cache * | cache | ) |
Finalize and cleanup the action cache for an instance.
| cache | Action cache to finalize |
| XrResult oxr_instance_path_cache_init | ( | struct oxr_instance_path_cache * | cache, |
| struct oxr_path_store * | store | ||
| ) |
Initialize the action cache for an instance.
| cache | Action cache to initialize |
| store | Path store to create paths in. |
References ARRAY_SIZE, and OXR_FOR_EACH_SUBACTION_PATH_DETAILED.