7#include <openxr/openxr.h>
8#include <openxr/openxr_platform.h>
9class ID3D11DepthStencilView;
10struct VkDeviceCreateInfo;
27 XrFormFactor
formFactor() {
return XrFormFactor::XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY; }
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
A GraphicsDevice for managing Vulkan limitations and actions. See: https://docs.vulkan....
Definition VulkanDevice.h:12
DynamicPointer< VulkanInstance > instance() const
The connection between the NDEVR API and the Vulkan library. See: https://vulkan-tutorial....
Definition VulkanInstance.h:82
A GraphicsDevice for managing OpenXR and Vulkan limitations and actions. See VulkanDevice.
Definition XRInstance.h:39
XrSystemId xrSystemID() const
Definition XRInstance.h:45
virtual VkResult createLogicalDevice(const VkDeviceCreateInfo &create_info)
const XrGraphicsBindingVulkanKHR & graphicsBinding() const
Definition XRInstance.h:46
void autoChoosePhysicalDevice() override
VulkanXRInstance * vulkanXRInstance() const
Definition XRInstance.h:43
VulkanXRDevice(const DynamicPointer< VulkanXRInstance > &instance)
XrInstance xrInstance() const
Definition XRInstance.h:44
XrGraphicsBindingVulkanKHR m_graphicsBinding
Definition XRInstance.h:51
int64_t selectColorSwapchainFormat(const std::vector< int64_t > &runtimeFormats) const
he connection between the NDEVR API and the OpenXR library, using Vulkan as the engine backend.
Definition XRInstance.h:17
XrInstance m_xr_instance
Definition XRInstance.h:32
void initializeXRInstance()
XrSystemId xrSystemID() const
Definition XRInstance.h:29
XrFormFactor formFactor()
Definition XRInstance.h:27
VkResult createVkInstance(const VkInstanceCreateInfo &create_info) final override
virtual XrResult getVulkanGraphicsRequirements2KHR(XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkan2KHR *graphicsRequirements)
uint04 setupExtensions(const char **&extensions) final override
virtual ~VulkanXRInstance()
XrInstance xrInstance() const
Definition XRInstance.h:28
void initializeXRSystem()
XrSystemId m_system_id
Definition XRInstance.h:33
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96