KDGpuExample::XrProjectionLayer
#include <xr_projection_layer.h>
Inherits from KDGpuExample::XrCompositorLayer
Inherited by ProjectionLayer, ProjectionLayer
Public Functions
Protected Functions
Protected Attributes
Additional inherited members
Public Types inherited from KDGpuExample::XrCompositorLayer
|
Name |
enum class uint32_t |
Type { Projection, Quad, Cylinder, Cube, Equirect, PassThrough} |
Public Functions inherited from KDGpuExample::XrCompositorLayer
Protected Functions inherited from KDGpuExample::XrCompositorLayer
Protected Attributes inherited from KDGpuExample::XrCompositorLayer
Friends inherited from KDGpuExample::XrCompositorLayer
Public Functions Documentation
function XrProjectionLayer
| explicit XrProjectionLayer(
const XrProjectionLayerOptions & options
)
|
function ~XrProjectionLayer
| ~XrProjectionLayer() override
|
function XrProjectionLayer
| XrProjectionLayer(
const XrProjectionLayer &
) =delete
|
function operator=
| XrProjectionLayer & operator=(
const XrProjectionLayer &
) =delete
|
function XrProjectionLayer
| XrProjectionLayer(
XrProjectionLayer &&
) =default
|
function operator=
| XrProjectionLayer & operator=(
XrProjectionLayer &&
) =default
|
Protected Functions Documentation
function initialize
| virtual void initialize() override
|
Reimplements: KDGpuExample::XrCompositorLayer::initialize
function cleanup
| virtual void cleanup() override
|
Reimplements: KDGpuExample::XrCompositorLayer::cleanup
function update
| virtual bool update(
const KDXr::FrameState & frameState
) override
|
Reimplements: KDGpuExample::XrCompositorLayer::update
function compositionLayer
| inline virtual KDXr::CompositionLayer * compositionLayer() override
|
Reimplements: KDGpuExample::XrCompositorLayer::compositionLayer
function updateScene
| virtual void updateScene()
|
Reimplemented by: ProjectionLayer::updateScene, ProjectionLayer::updateScene
function renderView
| virtual void renderView() =0
|
Reimplemented by: ProjectionLayer::renderView, ProjectionLayer::renderView
function recreateSwapchains
| void recreateSwapchains()
|
function viewCount
| inline uint32_t viewCount() const
|
Protected Attributes Documentation
variable m_device
| KDGpu::Device * m_device { nullptr };
|
variable m_queue
| KDGpu::Queue * m_queue { nullptr };
|
variable m_session
| KDXr::Session * m_session { nullptr };
|
| KDGpu::Format m_colorSwapchainFormat { KDGpu::Format::UNDEFINED };
|
| KDGpu::Format m_depthSwapchainFormat { KDGpu::Format::UNDEFINED };
|
variable m_samples
| KDGpu::SampleCountFlagBits m_samples { KDGpu::SampleCountFlagBits::Samples1Bit };
|
variable m_enableMultiview
| bool m_enableMultiview { true };
|
variable m_nearPlane
| float m_nearPlane { 0.05f };
|
variable m_farPlane
| float m_farPlane { 100.0f };
|
variable m_colorSwapchains
| std::vector< KDXr::SwapchainInfo > m_colorSwapchains;
|
variable m_depthSwapchains
| std::vector< KDXr::SwapchainInfo > m_depthSwapchains;
|
variable m_viewCount
| uint32_t m_viewCount { 2 };
|
variable m_currentViewIndex
| uint32_t m_currentViewIndex { 0 };
|
variable m_currentColorImageIndex
| uint32_t m_currentColorImageIndex { 0 };
|
variable m_currentDepthImageIndex
| uint32_t m_currentDepthImageIndex { 0 };
|
variable m_viewState
| KDXr::ViewState m_viewState;
|
variable m_projectionLayer
| KDXr::ProjectionLayer m_projectionLayer;
|
variable m_projectionLayerViews
| std::vector< KDXr::ProjectionLayerView > m_projectionLayerViews { 2 };
|
variable m_depthInfos
| std::vector< KDXr::DepthInfo > m_depthInfos { 2 };
|
Updated on 2024-12-22 at 00:08:03 +0000