Skip to content

KDXr::ResourceManager

Module: Public API

ResourceManager manages XR API resources.

#include <KDXr/resource_manager.h>

Inherited by KDXr::OpenXrResourceManager

Public Functions

Name
virtual ~ResourceManager()
virtual std::vector< ApiLayer > availableApiLayers() const
virtual std::vector< Extension > availableInstanceExtensions() const
virtual KDGpu::Handle< Instance_t > createInstance(const InstanceOptions & options) =0
virtual void deleteInstance(const KDGpu::Handle< Instance_t > & handle) =0
virtual ApiInstance * getInstance(const KDGpu::Handle< Instance_t > & handle) const =0
virtual void removeSystem(const KDGpu::Handle< System_t > & handle) =0
virtual ApiSystem * getSystem(const KDGpu::Handle< System_t > & handle) const =0
virtual KDGpu::Handle< Session_t > createSession(const KDGpu::Handle< System_t > & systemHandle, const SessionOptions & options) =0
virtual void deleteSession(const KDGpu::Handle< Session_t > & handle) =0
virtual ApiSession * getSession(const KDGpu::Handle< Session_t > & handle) const =0
virtual KDGpu::Handle< ReferenceSpace_t > createReferenceSpace(const KDGpu::Handle< Session_t > & sessionHandle, const ReferenceSpaceOptions & options) =0
virtual KDGpu::Handle< ReferenceSpace_t > createReferenceSpace(const KDGpu::Handle< Session_t > & sessionHandle, const ActionSpaceOptions & options) =0
virtual void deleteReferenceSpace(const KDGpu::Handle< ReferenceSpace_t > & handle) =0
virtual ApiReferenceSpace * getReferenceSpace(const KDGpu::Handle< ReferenceSpace_t > & handle) const =0
virtual KDGpu::Handle< Swapchain_t > createSwapchain(const KDGpu::Handle< Session_t > & sessionHandle, const SwapchainOptions & options) =0
virtual void deleteSwapchain(const KDGpu::Handle< Swapchain_t > & handle) =0
virtual ApiSwapchain * getSwapchain(const KDGpu::Handle< Swapchain_t > & handle) const =0
virtual KDGpu::Handle< ActionSet_t > createActionSet(const KDGpu::Handle< Instance_t > & instanceHandle, const ActionSetOptions & options) =0
virtual void deleteActionSet(const KDGpu::Handle< ActionSet_t > & handle) =0
virtual ApiActionSet * getActionSet(const KDGpu::Handle< ActionSet_t > & handle) const =0
virtual KDGpu::Handle< Action_t > createAction(const KDGpu::Handle< ActionSet_t > & actionSetHandle, const ActionOptions & options) =0
virtual void deleteAction(const KDGpu::Handle< Action_t > & handle) =0
virtual ApiAction * getAction(const KDGpu::Handle< Action_t > & handle) const =0

Protected Functions

Name
ResourceManager()

Public Functions Documentation

function ~ResourceManager

1
virtual ~ResourceManager()

function availableApiLayers

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

Reimplemented by: KDXr::OpenXrResourceManager::availableApiLayers

function availableInstanceExtensions

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

Reimplemented by: KDXr::OpenXrResourceManager::availableInstanceExtensions

function createInstance

1
2
3
virtual KDGpu::Handle< Instance_t > createInstance(
    const InstanceOptions & options
) =0

Reimplemented by: KDXr::OpenXrResourceManager::createInstance

function deleteInstance

1
2
3
virtual void deleteInstance(
    const KDGpu::Handle< Instance_t > & handle
) =0

Reimplemented by: KDXr::OpenXrResourceManager::deleteInstance

function getInstance

1
2
3
virtual ApiInstance * getInstance(
    const KDGpu::Handle< Instance_t > & handle
) const =0

Reimplemented by: KDXr::OpenXrResourceManager::getInstance

function removeSystem

1
2
3
virtual void removeSystem(
    const KDGpu::Handle< System_t > & handle
) =0

Reimplemented by: KDXr::OpenXrResourceManager::removeSystem

function getSystem

1
2
3
virtual ApiSystem * getSystem(
    const KDGpu::Handle< System_t > & handle
) const =0

Reimplemented by: KDXr::OpenXrResourceManager::getSystem

function createSession

1
2
3
4
virtual KDGpu::Handle< Session_t > createSession(
    const KDGpu::Handle< System_t > & systemHandle,
    const SessionOptions & options
) =0

Reimplemented by: KDXr::OpenXrResourceManager::createSession

function deleteSession

1
2
3
virtual void deleteSession(
    const KDGpu::Handle< Session_t > & handle
) =0

Reimplemented by: KDXr::OpenXrResourceManager::deleteSession

function getSession

1
2
3
virtual ApiSession * getSession(
    const KDGpu::Handle< Session_t > & handle
) const =0

Reimplemented by: KDXr::OpenXrResourceManager::getSession

function createReferenceSpace

1
2
3
4
virtual KDGpu::Handle< ReferenceSpace_t > createReferenceSpace(
    const KDGpu::Handle< Session_t > & sessionHandle,
    const ReferenceSpaceOptions & options
) =0

Reimplemented by: KDXr::OpenXrResourceManager::createReferenceSpace

function createReferenceSpace

1
2
3
4
virtual KDGpu::Handle< ReferenceSpace_t > createReferenceSpace(
    const KDGpu::Handle< Session_t > & sessionHandle,
    const ActionSpaceOptions & options
) =0

Reimplemented by: KDXr::OpenXrResourceManager::createReferenceSpace

function deleteReferenceSpace

1
2
3
virtual void deleteReferenceSpace(
    const KDGpu::Handle< ReferenceSpace_t > & handle
) =0

Reimplemented by: KDXr::OpenXrResourceManager::deleteReferenceSpace

function getReferenceSpace

1
2
3
virtual ApiReferenceSpace * getReferenceSpace(
    const KDGpu::Handle< ReferenceSpace_t > & handle
) const =0

Reimplemented by: KDXr::OpenXrResourceManager::getReferenceSpace

function createSwapchain

1
2
3
4
virtual KDGpu::Handle< Swapchain_t > createSwapchain(
    const KDGpu::Handle< Session_t > & sessionHandle,
    const SwapchainOptions & options
) =0

Reimplemented by: KDXr::OpenXrResourceManager::createSwapchain

function deleteSwapchain

1
2
3
virtual void deleteSwapchain(
    const KDGpu::Handle< Swapchain_t > & handle
) =0

Reimplemented by: KDXr::OpenXrResourceManager::deleteSwapchain

function getSwapchain

1
2
3
virtual ApiSwapchain * getSwapchain(
    const KDGpu::Handle< Swapchain_t > & handle
) const =0

Reimplemented by: KDXr::OpenXrResourceManager::getSwapchain

function createActionSet

1
2
3
4
virtual KDGpu::Handle< ActionSet_t > createActionSet(
    const KDGpu::Handle< Instance_t > & instanceHandle,
    const ActionSetOptions & options
) =0

Reimplemented by: KDXr::OpenXrResourceManager::createActionSet

function deleteActionSet

1
2
3
virtual void deleteActionSet(
    const KDGpu::Handle< ActionSet_t > & handle
) =0

Reimplemented by: KDXr::OpenXrResourceManager::deleteActionSet

function getActionSet

1
2
3
virtual ApiActionSet * getActionSet(
    const KDGpu::Handle< ActionSet_t > & handle
) const =0

Reimplemented by: KDXr::OpenXrResourceManager::getActionSet

function createAction

1
2
3
4
virtual KDGpu::Handle< Action_t > createAction(
    const KDGpu::Handle< ActionSet_t > & actionSetHandle,
    const ActionOptions & options
) =0

Reimplemented by: KDXr::OpenXrResourceManager::createAction

function deleteAction

1
2
3
virtual void deleteAction(
    const KDGpu::Handle< Action_t > & handle
) =0

Reimplemented by: KDXr::OpenXrResourceManager::deleteAction

function getAction

1
2
3
virtual ApiAction * getAction(
    const KDGpu::Handle< Action_t > & handle
) const =0

Reimplemented by: KDXr::OpenXrResourceManager::getAction

Protected Functions Documentation

function ResourceManager

1
ResourceManager()

Updated on 2024-11-22 at 00:02:03 +0000