|
evan 2026.1.4
Evan
|
User-configurable options for the OpenXR backend. More...
#include <headers/evan/openxr/OpenXrOptions.hpp>
Public Attributes | |
| std::vector< std::string > | interactionProfileCandidates |
| Interaction profiles to try, in preference order. | |
| XrSwapchainUsageFlags | swapchainUsageFlags |
| Swapchain usage flags used when creating OpenXR swapchains. | |
| bool | enableMenuSystemBindings = false |
| Whether menu/system button bindings are suggested. | |
User-configurable options for the OpenXR backend.
Instances are owned by the OpenXR platform (see IXrPlatform) and copied into the device backend at construction time so that the swapchain, action and interaction profile subsystems can read them without reaching back into the platform.
Definition at line 25 of file OpenXrOptions.hpp.
Whether menu/system button bindings are suggested.
Disabled by default because some runtimes reserve these inputs (e.g. the system button). When enabled, bindings that the runtime rejects are dropped and the remaining bindings are re-suggested so the core actions keep working.
Definition at line 54 of file OpenXrOptions.hpp.
| std::vector<std::string> evan::OpenXrOptions::interactionProfileCandidates |
Interaction profiles to try, in preference order.
The first profile reported as supported by the active runtime is used to suggest action bindings. When empty, a built-in default list is used (see InteractionProfile::getDefaultProfileCandidates()).
Definition at line 33 of file OpenXrOptions.hpp.
| XrSwapchainUsageFlags evan::OpenXrOptions::swapchainUsageFlags |
Swapchain usage flags used when creating OpenXR swapchains.
The OpenXR core specification does not expose runtime-recommended swapchain usage flags, so the engine uses this configurable default. The default is suitable for rendering and sampling the final image.
Definition at line 42 of file OpenXrOptions.hpp.