Skip to content

KDXr::XrApi

Module: Public API

XrApi is the link between our Application and the XR API. More...

#include <KDGpu/xr_api.h>

Inherited by KDXr::OpenXrApi

Public Functions

Name
virtual ~XrApi()
std::vector< ApiLayer > availableApiLayers() const
std::vector< Extension > availableInstanceExtensions() const
Instance createInstance(const InstanceOptions & options =InstanceOptions())
Create an Instance object given the InstanceOptionsoptions.
ResourceManager * resourceManager()
Returns the ResourceManager instance for the XrApi.
const ResourceManager * resourceManager() const

Protected Functions

Name
XrApi()

Protected Attributes

Name
ResourceManager * m_resourceManager

Detailed Description

1
class KDXr::XrApi;

XrApi is the link between our Application and the XR API.

See: KDXr::OpenXrAPI

Public Functions Documentation

function ~XrApi

1
virtual ~XrApi()

function availableApiLayers

1
std::vector< ApiLayer > availableApiLayers() const

function availableInstanceExtensions

1
std::vector< Extension > availableInstanceExtensions() const

function createInstance

1
2
3
Instance createInstance(
    const InstanceOptions & options =InstanceOptions()
)

Create an Instance object given the InstanceOptionsoptions.

function resourceManager

1
inline ResourceManager * resourceManager()

Returns the ResourceManager instance for the XrApi.

function resourceManager

1
inline const ResourceManager * resourceManager() const

Protected Functions Documentation

function XrApi

1
XrApi()

Protected Attributes Documentation

variable m_resourceManager

1
ResourceManager * m_resourceManager { nullptr };

Updated on 2024-11-23 at 00:01:15 +0000