Skip to content

KDXr::OpenXrResourceManager

Module: OpenXR

OpenXrResourceManager.

#include <openxr_resource_manager.h>

Public Functions

Name
OpenXrResourceManager()
~OpenXrResourceManager()
std::vector< ApiLayer > availableApiLayers() const
std::vector< Extension > availableInstanceExtensions() const
KDGpu::Handle< Instance_t > createInstance(const InstanceOptions & options)
void deleteInstance(const KDGpu::Handle< Instance_t > & handle)
OpenXrInstance * getInstance(const KDGpu::Handle< Instance_t > & handle) const
KDGpu::Handle< System_t > insertSystem(const OpenXrSystem & openXrSystem)
void removeSystem(const KDGpu::Handle< System_t > & handle)
OpenXrSystem * getSystem(const KDGpu::Handle< System_t > & handle) const
KDGpu::Handle< Session_t > createSession(const KDGpu::Handle< System_t > & systemHandle, const SessionOptions & options)
void deleteSession(const KDGpu::Handle< Session_t > & handle)
OpenXrSession * getSession(const KDGpu::Handle< Session_t > & handle) const
KDGpu::Handle< ReferenceSpace_t > createReferenceSpace(const KDGpu::Handle< Session_t > & sessionHandle, const ReferenceSpaceOptions & options)
KDGpu::Handle< ReferenceSpace_t > createReferenceSpace(const KDGpu::Handle< Session_t > & sessionHandle, const ActionSpaceOptions & options)
void deleteReferenceSpace(const KDGpu::Handle< ReferenceSpace_t > & handle)
OpenXrReferenceSpace * getReferenceSpace(const KDGpu::Handle< ReferenceSpace_t > & handle) const
KDGpu::Handle< PassthroughLayer_t > createPassthroughLayer(const KDGpu::Handle< Session_t > & sessionHandle, const PassthroughLayerOptions & options)
void deletePassthroughLayer(const KDGpu::Handle< PassthroughLayer_t > & handle)
OpenXrPassthroughLayer * getPassthroughLayer(const KDGpu::Handle< PassthroughLayer_t > & handle) const
KDGpu::Handle< Swapchain_t > createSwapchain(const KDGpu::Handle< Session_t > & sessionHandle, const SwapchainOptions & options)
void deleteSwapchain(const KDGpu::Handle< Swapchain_t > & handle)
OpenXrSwapchain * getSwapchain(const KDGpu::Handle< Swapchain_t > & handle) const
KDGpu::Handle< ActionSet_t > createActionSet(const KDGpu::Handle< Instance_t > & instanceHandle, const ActionSetOptions & options)
void deleteActionSet(const KDGpu::Handle< ActionSet_t > & handle)
OpenXrActionSet * getActionSet(const KDGpu::Handle< ActionSet_t > & handle) const
KDGpu::Handle< Action_t > createAction(const KDGpu::Handle< ActionSet_t > & actionSetHandle, const ActionOptions & options)
void deleteAction(const KDGpu::Handle< Action_t > & handle)
OpenXrAction * getAction(const KDGpu::Handle< Action_t > & handle) const

Public Functions Documentation

function OpenXrResourceManager

1
OpenXrResourceManager()

function ~OpenXrResourceManager

1
~OpenXrResourceManager()

function availableApiLayers

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

function availableInstanceExtensions

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

function createInstance

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

function deleteInstance

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

function getInstance

1
2
3
OpenXrInstance * getInstance(
    const KDGpu::Handle< Instance_t > & handle
) const

function insertSystem

1
2
3
KDGpu::Handle< System_t > insertSystem(
    const OpenXrSystem & openXrSystem
)

function removeSystem

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

function getSystem

1
2
3
OpenXrSystem * getSystem(
    const KDGpu::Handle< System_t > & handle
) const

function createSession

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

function deleteSession

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

function getSession

1
2
3
OpenXrSession * getSession(
    const KDGpu::Handle< Session_t > & handle
) const

function createReferenceSpace

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

function createReferenceSpace

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

function deleteReferenceSpace

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

function getReferenceSpace

1
2
3
OpenXrReferenceSpace * getReferenceSpace(
    const KDGpu::Handle< ReferenceSpace_t > & handle
) const

function createPassthroughLayer

1
2
3
4
KDGpu::Handle< PassthroughLayer_t > createPassthroughLayer(
    const KDGpu::Handle< Session_t > & sessionHandle,
    const PassthroughLayerOptions & options
)

function deletePassthroughLayer

1
2
3
void deletePassthroughLayer(
    const KDGpu::Handle< PassthroughLayer_t > & handle
)

function getPassthroughLayer

1
2
3
OpenXrPassthroughLayer * getPassthroughLayer(
    const KDGpu::Handle< PassthroughLayer_t > & handle
) const

function createSwapchain

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

function deleteSwapchain

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

function getSwapchain

1
2
3
OpenXrSwapchain * getSwapchain(
    const KDGpu::Handle< Swapchain_t > & handle
) const

function createActionSet

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

function deleteActionSet

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

function getActionSet

1
2
3
OpenXrActionSet * getActionSet(
    const KDGpu::Handle< ActionSet_t > & handle
) const

function createAction

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

function deleteAction

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

function getAction

1
2
3
OpenXrAction * getAction(
    const KDGpu::Handle< Action_t > & handle
) const

Updated on 2025-07-01 at 00:02:08 +0000