KDGpuExample::XrCubeLayer
#include <xr_cube_layer.h>
Inherits from KDGpuExample::XrCompositorLayer
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 XrCubeLayer
| explicit XrCubeLayer(
const XrCubeLayerOptions & options
)
|
function ~XrCubeLayer
function XrCubeLayer
| XrCubeLayer(
const XrCubeLayer &
) =delete
|
function operator=
| XrCubeLayer & operator=(
const XrCubeLayer &
) =delete
|
function XrCubeLayer
| XrCubeLayer(
XrCubeLayer &&
) =default
|
function operator=
| XrCubeLayer & operator=(
XrCubeLayer &&
) =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 renderCube
| virtual void renderCube() =0
|
function compositionLayer
| inline virtual KDXr::CompositionLayer * compositionLayer() override
|
Reimplements: KDGpuExample::XrCompositorLayer::compositionLayer
Public Attributes Documentation
variable orientation
| KDBindings::Property< KDXr::Quaternion > orientation {};
|
variable resolution
| KDBindings::Property< KDGpu::Extent2D > resolution { KDGpu::Extent2D{ 512, 512 } };
|
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_cubeLayer
| KDXr::CubeLayer m_cubeLayer;
|
Updated on 2024-12-22 at 00:01:23 +0000