KDGpuExample::XrQuadLayer
#include <xr_quad_layer.h>
Inherits from KDGpuExample::XrCompositorLayer
Inherited by KDGpuExample::XrQuadImGuiLayer
Public Functions
Protected Functions
Public Attributes
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 XrQuadLayer
| explicit XrQuadLayer(
const XrQuadLayerOptions & options
)
|
function ~XrQuadLayer
function XrQuadLayer
| XrQuadLayer(
const XrQuadLayer &
) =delete
|
function operator=
| XrQuadLayer & operator=(
const XrQuadLayer &
) =delete
|
function XrQuadLayer
| XrQuadLayer(
XrQuadLayer &&
) =default
|
function operator=
| XrQuadLayer & operator=(
XrQuadLayer &&
) =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 recreateSwapchains
| void recreateSwapchains()
|
function renderQuad
| virtual void renderQuad() =0
|
Reimplemented by: KDGpuExample::XrQuadImGuiLayer::renderQuad
function compositionLayer
| inline virtual KDXr::CompositionLayer * compositionLayer() override
|
Reimplements: KDGpuExample::XrCompositorLayer::compositionLayer
Public Attributes Documentation
variable position
| KDBindings::Property< KDXr::Vector3 > position {};
|
variable orientation
| KDBindings::Property< KDXr::Quaternion > orientation {};
|
variable resolution
| KDBindings::Property< KDGpu::Extent2D > resolution { KDGpu::Extent2D{ 1280, 720 } };
|
variable worldSize
| KDBindings::Property< KDGpu::Extent2Df > worldSize { KDGpu::Extent2Df{ 2.0f, 2.0f * resolution().height / resolution().width } };
|
variable eyeVisibility
| KDBindings::Property< KDXr::EyeVisibility > eyeVisibility { KDXr::EyeVisibility::Both };
|
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_colorSwapchain
| KDXr::SwapchainInfo m_colorSwapchain;
|
variable m_depthSwapchain
| KDXr::SwapchainInfo m_depthSwapchain;
|
variable m_currentColorImageIndex
| uint32_t m_currentColorImageIndex { 0 };
|
variable m_currentDepthImageIndex
| uint32_t m_currentDepthImageIndex { 0 };
|
variable m_quadLayer
| KDXr::QuadLayer m_quadLayer;
|
Updated on 2024-12-22 at 00:01:23 +0000