3#include <Engine/Core/OpenXrHelper.h>
4#include <Engine/Input/XrProfile.h>
5#include <Engine/Renderer/Headset.h>
7#include <openxr/openxr.h>
9#include <unordered_map>
147 return getFloat(
"trigger_value", hand );
157 return getFloat(
"grip_value", hand );
199 [[nodiscard]]
bool getBool(
const std::string & suffix,
Hand hand )
const;
208 [[nodiscard]]
float getFloat(
const std::string & suffix,
Hand hand )
const;
217 [[nodiscard]] glm::vec2
getVec2(
const std::string & suffix,
Hand hand )
const;
305 std::unordered_map<std::string, XrActionInfo>
actions_;
The application context is the core class which stores the basic openxr and vulkan objects.
Owns the engine runtime and provides access to engine subsystems.
Owns the OpenXR session, XR swapchain, eye transforms, and per-frame XR submission state.
A glm based posef struct.