KDGpuExample::XrCompositorLayer
#include <xr_compositor_layer.h>
Inherited by KDGpuExample::XrCubeLayer, KDGpuExample::XrCylinderLayer, KDGpuExample::XrProjectionLayer, KDGpuExample::XrQuadLayer
Public Types
 | 
Name | 
| enum class uint32_t | 
Type { Projection, Quad, Cylinder, Cube, Equirect, PassThrough} | 
Public Functions
Protected Functions
Protected Attributes
Friends
Public Types Documentation
enum Type
| Enumerator | 
Value | 
Description | 
| Projection | 
 | 
 | 
| Quad | 
 | 
 | 
| Cylinder | 
 | 
 | 
| Cube | 
 | 
 | 
| Equirect | 
 | 
 | 
| PassThrough | 
 | 
 | 
Public Functions Documentation
function ~XrCompositorLayer
 | virtual ~XrCompositorLayer()
  | 
 
function XrCompositorLayer
 | XrCompositorLayer(
    const XrCompositorLayer & 
) =delete
  | 
 
function operator=
 | XrCompositorLayer & operator=(
    const XrCompositorLayer & 
) =delete
  | 
 
function XrCompositorLayer
 | XrCompositorLayer(
    XrCompositorLayer && 
) =default
  | 
 
function operator=
 | XrCompositorLayer & operator=(
    XrCompositorLayer && 
) =default
  | 
 
function type
function setReferenceSpace
 | inline void setReferenceSpace(
    const KDGpu::Handle< KDXr::ReferenceSpace_t > & referenceSpace
)
  | 
 
function referenceSpace
 | inline KDGpu::Handle< KDXr::ReferenceSpace_t > referenceSpace() const
  | 
 
function engineLayer
 | inline const XrExampleEngineLayer * engineLayer() const
  | 
 
function engineLayer
 | inline XrExampleEngineLayer * engineLayer()
  | 
 
function engine
 | const Engine * engine() const
  | 
 
function engine
Protected Functions Documentation
function XrCompositorLayer
 | explicit XrCompositorLayer(
    Type type
)
  | 
 
function initialize
 | virtual void initialize() =0
  | 
 
Reimplemented by: KDGpuExample::XrCubeLayer::initialize, KDGpuExample::XrCylinderImGuiLayer::initialize, KDGpuExample::XrCylinderLayer::initialize, KDGpuExample::XrProjectionLayer::initialize, KDGpuExample::XrQuadImGuiLayer::initialize, KDGpuExample::XrQuadLayer::initialize, ProjectionLayer::initialize, ProjectionLayer::initialize
function cleanup
 | virtual void cleanup() =0
  | 
 
Reimplemented by: KDGpuExample::XrCubeLayer::cleanup, KDGpuExample::XrCylinderImGuiLayer::cleanup, KDGpuExample::XrCylinderLayer::cleanup, KDGpuExample::XrProjectionLayer::cleanup, KDGpuExample::XrQuadImGuiLayer::cleanup, KDGpuExample::XrQuadLayer::cleanup, ProjectionLayer::cleanup, ProjectionLayer::cleanup
function update
 | virtual bool update(
    const KDXr::FrameState & frameState
) =0
  | 
 
Reimplemented by: KDGpuExample::XrCubeLayer::update, KDGpuExample::XrCylinderLayer::update, KDGpuExample::XrProjectionLayer::update, KDGpuExample::XrQuadLayer::update
function compositionLayer
 | virtual KDXr::CompositionLayer * compositionLayer() =0
  | 
 
Reimplemented by: KDGpuExample::XrCubeLayer::compositionLayer, KDGpuExample::XrCylinderLayer::compositionLayer, KDGpuExample::XrProjectionLayer::compositionLayer, KDGpuExample::XrQuadLayer::compositionLayer
function logger
 | std::shared_ptr< spdlog::logger > logger() const
  | 
 
function uploadBufferData
 | void uploadBufferData(
    const KDGpu::BufferUploadOptions & options
)
  | 
 
function uploadTextureData
 | void uploadTextureData(
    const KDGpu::TextureUploadOptions & options
)
  | 
 
Protected Attributes Documentation
variable m_type
variable m_engineLayer
 | XrExampleEngineLayer * m_engineLayer { nullptr };
  | 
 
variable m_referenceSpace
 | KDGpu::Handle< KDXr::ReferenceSpace_t > m_referenceSpace;
  | 
 
Friends
friend XrExampleEngineLayer
 | friend class XrExampleEngineLayer(
    XrExampleEngineLayer 
);
  | 
 
Updated on 2025-07-08 at 12:01:11 +0000