KDGpuExample::XrQuadImGuiLayer
#include <xr_quad_imgui_layer.h>
Inherits from KDGpuExample::XrQuadLayer, KDGpuExample::XrCompositorLayer
Public Functions
Protected Functions
Public Attributes
Protected Attributes
Additional inherited members
Public Classes inherited from KDGpuExample::XrQuadLayer
Public Functions inherited from KDGpuExample::XrQuadLayer
Protected Functions inherited from KDGpuExample::XrQuadLayer
Public Attributes inherited from KDGpuExample::XrQuadLayer
Protected Attributes inherited from KDGpuExample::XrQuadLayer
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 XrQuadImGuiLayer
| explicit XrQuadImGuiLayer(
const XrQuadLayerOptions & options
)
|
function ~XrQuadImGuiLayer
| ~XrQuadImGuiLayer() override
|
function XrQuadImGuiLayer
| XrQuadImGuiLayer(
const XrQuadImGuiLayer &
) =delete
|
function operator=
| XrQuadImGuiLayer & operator=(
const XrQuadImGuiLayer &
) =delete
|
function XrQuadImGuiLayer
| XrQuadImGuiLayer(
XrQuadImGuiLayer &&
) =default
|
function operator=
| XrQuadImGuiLayer & operator=(
XrQuadImGuiLayer &&
) =default
|
function registerImGuiOverlayDrawFunction
| void registerImGuiOverlayDrawFunction(
const std::function< void(ImGuiContext *)> & func
)
|
function clearImGuiOverlayDrawFunctions
| void clearImGuiOverlayDrawFunctions()
|
function overlay
function drawMouseCursor
| static void drawMouseCursor(
ImGuiContext * ctx
)
|
Protected Functions Documentation
function initialize
| virtual void initialize() override
|
Reimplements: KDGpuExample::XrCompositorLayer::initialize
function cleanup
| virtual void cleanup() override
|
Reimplements: KDGpuExample::XrCompositorLayer::cleanup
function renderQuad
| virtual void renderQuad() override
|
Reimplements: KDGpuExample::XrQuadLayer::renderQuad
function drawImGuiOverlay
| virtual void drawImGuiOverlay(
ImGuiContext * ctx
)
|
function renderImGuiOverlay
| virtual void renderImGuiOverlay(
KDGpu::RenderPassCommandRecorder * recorder,
uint32_t inFlightIndex =0
)
|
function recreateImGuiOverlay
| void recreateImGuiOverlay()
|
function updateImGuiOverlay
| void updateImGuiOverlay()
|
function setupRenderPassOptions
| void setupRenderPassOptions()
|
Public Attributes Documentation
variable backgroundColor
| KDBindings::Property< KDGpu::ColorClearValue > backgroundColor { KDGpu::ColorClearValue{ 0.0f, 0.0f, 0.0f, 1.0f } };
|
Protected Attributes Documentation
variable m_imguiOverlay
| std::unique_ptr< ImGuiItem > m_imguiOverlay;
|
variable m_imGuiOverlayDrawFunctions
| std::vector< std::function< void(ImGuiContext *)> > m_imGuiOverlayDrawFunctions;
|
variable m_imguiPassOptions
| KDGpu::RenderPassCommandRecorderOptions m_imguiPassOptions;
|
variable m_fence
variable m_commandBuffer
| KDGpu::CommandBuffer m_commandBuffer;
|
Updated on 2025-07-01 at 00:02:08 +0000