KDXr::OpenXrInstance
Module: OpenXR
OpenXrInstance.
#include <openxr_instance.h>
Inherits from KDXr::ApiInstance
Public Functions
Public Attributes
Public Functions Documentation
function OpenXrInstance
| explicit OpenXrInstance(
OpenXrResourceManager * _openxrResourceManager,
XrInstance _instance,
std::vector< ApiLayer > & _apiLayers,
std::vector< Extension > & _extensions,
bool _isOwned =true
)
|
function initialize
| virtual void initialize(
Instance * _frontendInstance
)
|
Reimplements: KDXr::ApiInstance::initialize
function properties
| virtual InstanceProperties properties() const
|
Reimplements: KDXr::ApiInstance::properties
function enabledApiLayers
| virtual std::vector< ApiLayer > enabledApiLayers() const
|
Reimplements: KDXr::ApiInstance::enabledApiLayers
function enabledExtensions
| virtual std::vector< Extension > enabledExtensions() const
|
Reimplements: KDXr::ApiInstance::enabledExtensions
function querySystem
| virtual KDGpu::Handle< System_t > querySystem(
const SystemOptions & options,
const KDGpu::Handle< Instance_t > & instanceHandle
)
|
Reimplements: KDXr::ApiInstance::querySystem
function processEvents
| virtual ProcessEventsResult processEvents()
|
Reimplements: KDXr::ApiInstance::processEvents
function processSessionStateChangedEvent
| void processSessionStateChangedEvent(
const XrEventDataSessionStateChanged * eventData
)
|
function suggestActionBindings
| virtual SuggestActionBindingsResult suggestActionBindings(
const SuggestActionBindingsOptions & options
)
|
Reimplements: KDXr::ApiInstance::suggestActionBindings
function createXrPath
| XrPath createXrPath(
const std::string & path
) const
|
function pathToString
| std::string pathToString(
XrPath path
) const
|
Public Attributes Documentation
variable openxrResourceManager
| OpenXrResourceManager * openxrResourceManager { nullptr };
|
variable instance
| XrInstance instance { XR_NULL_HANDLE };
|
variable debugMessenger
| XrDebugUtilsMessengerEXT debugMessenger { nullptr };
|
variable isOwned
variable apiLayers
| std::vector< ApiLayer > apiLayers;
|
variable extensions
| std::vector< Extension > extensions;
|
variable systemHandle
| KDGpu::Handle< System_t > systemHandle;
|
variable frontendInstance
| Instance * frontendInstance { nullptr };
|
variable m_sessionToHandle
| std::map< XrSession, KDGpu::Handle< Session_t > > m_sessionToHandle;
|
Updated on 2024-12-22 at 00:08:03 +0000