Skip to content

KDXr::OpenXrPassthroughLayer

Module: OpenXR

OpenXrPassthroughLayer.

#include <openxr_passthrough_layer.h>

Public Functions

Name
OpenXrPassthroughLayer(OpenXrResourceManager * _openxrResourceManager, XrPassthroughLayerFB _passthroughLayer, const KDGpu::Handle< Session_t > _sessionHandle, const PassthroughLayerOptions _options)
void setRunning(bool running)

Public Attributes

Name
OpenXrResourceManager * openxrResourceManager
XrPassthroughLayerFB passthroughLayer
KDGpu::Handle< Session_t > sessionHandle
PassthroughLayerOptions options

Public Functions Documentation

function OpenXrPassthroughLayer

1
2
3
4
5
6
explicit OpenXrPassthroughLayer(
    OpenXrResourceManager * _openxrResourceManager,
    XrPassthroughLayerFB _passthroughLayer,
    const KDGpu::Handle< Session_t > _sessionHandle,
    const PassthroughLayerOptions _options
)

function setRunning

1
2
3
void setRunning(
    bool running
)

Public Attributes Documentation

variable openxrResourceManager

1
OpenXrResourceManager * openxrResourceManager { nullptr };

variable passthroughLayer

1
XrPassthroughLayerFB passthroughLayer { XR_NULL_HANDLE };

variable sessionHandle

1
KDGpu::Handle< Session_t > sessionHandle;

variable options

1
PassthroughLayerOptions options;

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