KDGpuExample::XrCylinderLayer
#include <xr_cylinder_layer.h>
Inherits from KDGpuExample::XrCompositorLayer
Inherited by KDGpuExample::XrCylinderImGuiLayer
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 XrCylinderLayer
| explicit XrCylinderLayer(
const XrCylinderLayerOptions & options
)
|
function ~XrCylinderLayer
| ~XrCylinderLayer() override
|
function XrCylinderLayer
| XrCylinderLayer(
const XrCylinderLayer &
) =delete
|
function operator=
| XrCylinderLayer & operator=(
const XrCylinderLayer &
) =delete
|
function XrCylinderLayer
| XrCylinderLayer(
XrCylinderLayer &&
) =default
|
function operator=
| XrCylinderLayer & operator=(
XrCylinderLayer &&
) =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 renderCylinder
| virtual void renderCylinder() =0
|
Reimplemented by: KDGpuExample::XrCylinderImGuiLayer::renderCylinder
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 radius
| KDBindings::Property< float > radius { 0.0f };
|
variable centralAngle
| KDBindings::Property< float > centralAngle { 0.0f };
|
variable aspectRatio
| KDBindings::Property< float > aspectRatio { 1280.0f / 720.0f };
|
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_cylinderLayer
| KDXr::CylinderLayer m_cylinderLayer;
|
Updated on 2024-12-22 at 00:01:23 +0000