Skip to content

KDXr::OpenXrSystem

Module: OpenXR

OpenXrSystem.

#include <openxr_system.h>

Inherits from KDXr::ApiSystem

Public Functions

Name
OpenXrSystem(OpenXrResourceManager * _openxrResourceManager, XrSystemId _system, const KDGpu::Handle< Instance_t > & instanceHandle)
virtual SystemProperties queryProperties() const
virtual std::vector< ViewConfigurationType > queryViewConfigurations() const
virtual std::vector< EnvironmentBlendMode > queryEnvironmentBlendModes(ViewConfigurationType viewConfiguration) const
virtual std::vector< ViewConfigurationView > queryViews(ViewConfigurationType viewConfiguration) const
virtual GraphicsRequirements queryGraphicsRequirements(KDGpu::GraphicsApi * graphicsApi) const
virtual std::vector< std::string > requiredGraphicsInstanceExtensions(KDGpu::GraphicsApi * graphicsApi) const
virtual KDGpu::Adapter * requiredGraphicsAdapter(KDGpu::GraphicsApi * graphicsApi, const KDGpu::Instance & graphicsInstance) const
virtual std::vector< std::string > requiredGraphicsDeviceExtensions(KDGpu::GraphicsApi * graphicsApi) const

Public Attributes

Name
OpenXrResourceManager * openxrResourceManager
XrSystemId system
KDGpu::Handle< Instance_t > instanceHandle
PFN_xrGetVulkanGraphicsRequirementsKHR m_xrGetVulkanGraphicsRequirementsKHR
PFN_xrGetVulkanInstanceExtensionsKHR m_xrGetVulkanInstanceExtensionsKHR
PFN_xrGetVulkanDeviceExtensionsKHR m_xrGetVulkanDeviceExtensionsKHR
PFN_xrGetVulkanGraphicsDeviceKHR m_xrGetVulkanGraphicsDeviceKHR

Public Functions Documentation

function OpenXrSystem

1
2
3
4
5
explicit OpenXrSystem(
    OpenXrResourceManager * _openxrResourceManager,
    XrSystemId _system,
    const KDGpu::Handle< Instance_t > & instanceHandle
)

function queryProperties

1
virtual SystemProperties queryProperties() const

Reimplements: KDXr::ApiSystem::queryProperties

function queryViewConfigurations

1
virtual std::vector< ViewConfigurationType > queryViewConfigurations() const

Reimplements: KDXr::ApiSystem::queryViewConfigurations

function queryEnvironmentBlendModes

1
2
3
virtual std::vector< EnvironmentBlendMode > queryEnvironmentBlendModes(
    ViewConfigurationType viewConfiguration
) const

Reimplements: KDXr::ApiSystem::queryEnvironmentBlendModes

function queryViews

1
2
3
virtual std::vector< ViewConfigurationView > queryViews(
    ViewConfigurationType viewConfiguration
) const

Reimplements: KDXr::ApiSystem::queryViews

function queryGraphicsRequirements

1
2
3
virtual GraphicsRequirements queryGraphicsRequirements(
    KDGpu::GraphicsApi * graphicsApi
) const

Reimplements: KDXr::ApiSystem::queryGraphicsRequirements

function requiredGraphicsInstanceExtensions

1
2
3
virtual std::vector< std::string > requiredGraphicsInstanceExtensions(
    KDGpu::GraphicsApi * graphicsApi
) const

Reimplements: KDXr::ApiSystem::requiredGraphicsInstanceExtensions

function requiredGraphicsAdapter

1
2
3
4
virtual KDGpu::Adapter * requiredGraphicsAdapter(
    KDGpu::GraphicsApi * graphicsApi,
    const KDGpu::Instance & graphicsInstance
) const

Reimplements: KDXr::ApiSystem::requiredGraphicsAdapter

function requiredGraphicsDeviceExtensions

1
2
3
virtual std::vector< std::string > requiredGraphicsDeviceExtensions(
    KDGpu::GraphicsApi * graphicsApi
) const

Reimplements: KDXr::ApiSystem::requiredGraphicsDeviceExtensions

Public Attributes Documentation

variable openxrResourceManager

1
OpenXrResourceManager * openxrResourceManager { nullptr };

variable system

1
XrSystemId system { XR_NULL_SYSTEM_ID };

variable instanceHandle

1
KDGpu::Handle< Instance_t > instanceHandle;

variable m_xrGetVulkanGraphicsRequirementsKHR

1
PFN_xrGetVulkanGraphicsRequirementsKHR m_xrGetVulkanGraphicsRequirementsKHR { nullptr };

variable m_xrGetVulkanInstanceExtensionsKHR

1
PFN_xrGetVulkanInstanceExtensionsKHR m_xrGetVulkanInstanceExtensionsKHR { nullptr };

variable m_xrGetVulkanDeviceExtensionsKHR

1
PFN_xrGetVulkanDeviceExtensionsKHR m_xrGetVulkanDeviceExtensionsKHR { nullptr };

variable m_xrGetVulkanGraphicsDeviceKHR

1
PFN_xrGetVulkanGraphicsDeviceKHR m_xrGetVulkanGraphicsDeviceKHR { nullptr };

Updated on 2024-12-22 at 00:08:03 +0000