![]() |
LLGL 0.05 Beta
|
XR system descriptor structure. More...
#include <XRSystemFlags.h>
Public Attributes | |
| ApplicationDescriptor | application |
| Application descriptor used when a Vulkan debug or validation layer is enabled. | |
| XRFormFactor | formFactor = XRFormFactor::HeadMountedDisplay |
| Selected form factor. Defaults to XRFormFactor::HeadMountedDisplay. | |
| XRViewConfiguration | viewConfiguration = XRViewConfiguration::Stereo |
| Selected view configuration. Defaults to XRViewConfiguration::Stereo. | |
| long | flags = 0 |
| Combination of XRSystemFlags entries. By default 0. | |
| const void * | xrConfig = nullptr |
| Optional raw pointer to a XR backend-specific configuration structure. | |
| std::size_t | xrConfigSize = 0 |
Specifies the size (in bytes) of the structure xrConfig points to (use sizeof with the respective structure). By default 0. | |
| void * | platformContext = nullptr |
| Optional raw pointer to a platform specific context structure the XR system is brought up with. By default null. | |
| std::size_t | platformContextSize = 0 |
Specifies the size (in bytes) of the structure platformContext points to (use sizeof with the respective structure). By default 0. | |
XR system descriptor structure.
| ApplicationDescriptor LLGL::XRSystemDescriptor::application |
Application descriptor used when a Vulkan debug or validation layer is enabled.
| long LLGL::XRSystemDescriptor::flags = 0 |
Combination of XRSystemFlags entries. By default 0.
| XRFormFactor LLGL::XRSystemDescriptor::formFactor = XRFormFactor::HeadMountedDisplay |
Selected form factor. Defaults to XRFormFactor::HeadMountedDisplay.
| void* LLGL::XRSystemDescriptor::platformContext = nullptr |
Optional raw pointer to a platform specific context structure the XR system is brought up with. By default null.
android_app state of a NativeActivity-based application, or an LLGL::AndroidContext filled in by an application - as with SDL - that has no android_app. xrInitializeLoaderKHR and XrInstanceCreateInfoAndroidKHR. | std::size_t LLGL::XRSystemDescriptor::platformContextSize = 0 |
Specifies the size (in bytes) of the structure platformContext points to (use sizeof with the respective structure). By default 0.
platformContext points to. platformContext is null then this field is ignored. | XRViewConfiguration LLGL::XRSystemDescriptor::viewConfiguration = XRViewConfiguration::Stereo |
Selected view configuration. Defaults to XRViewConfiguration::Stereo.
| const void* LLGL::XRSystemDescriptor::xrConfig = nullptr |
Optional raw pointer to a XR backend-specific configuration structure.
| std::size_t LLGL::XRSystemDescriptor::xrConfigSize = 0 |
Specifies the size (in bytes) of the structure xrConfig points to (use sizeof with the respective structure). By default 0.
xrConfig is null then this field is ignored.