Skip to content

KDGpuExample::ImGuiItem

Module: KDGpuExample API

ImGuiItem ...

#include <KDGpuExample/imgui_item.h>

Inherits from KDFoundation::Object

Public Functions

Name
ImGuiItem(KDGpu::Device * device, KDGpu::Queue * queue)
~ImGuiItem()
ImGuiItem(const ImGuiItem & other) =delete
ImGuiItem & operator=(const ImGuiItem & other) =delete
ImGuiItem(ImGuiItem && other) =default
ImGuiItem & operator=(ImGuiItem && other) =default
ImGuiContext * context()
void initialize(float scaleFactor, KDGpu::SampleCountFlagBits samples, KDGpu::Format colorFormat, KDGpu::Format depthFormat)
void updateScale(float scaleFactor)
void cleanup()
void event(KDFoundation::EventReceiver * target, KDFoundation::Event * ev)
void render(KDGpu::RenderPassCommandRecorder * recorder, const KDGpu::Extent2D & extent, uint32_t inFlightIndex =0, KDGpu::RenderPass * currentRenderPass =nullptr, int lastSubpassIndex =0)

Public Functions Documentation

function ImGuiItem

1
2
3
4
ImGuiItem(
    KDGpu::Device * device,
    KDGpu::Queue * queue
)

function ~ImGuiItem

1
~ImGuiItem()

function ImGuiItem

1
2
3
ImGuiItem(
    const ImGuiItem & other
) =delete

function operator=

1
2
3
ImGuiItem & operator=(
    const ImGuiItem & other
) =delete

function ImGuiItem

1
2
3
ImGuiItem(
    ImGuiItem && other
) =default

function operator=

1
2
3
ImGuiItem & operator=(
    ImGuiItem && other
) =default

function context

1
inline ImGuiContext * context()

function initialize

1
2
3
4
5
6
void initialize(
    float scaleFactor,
    KDGpu::SampleCountFlagBits samples,
    KDGpu::Format colorFormat,
    KDGpu::Format depthFormat
)

function updateScale

1
2
3
void updateScale(
    float scaleFactor
)

function cleanup

1
void cleanup()

function event

1
2
3
4
void event(
    KDFoundation::EventReceiver * target,
    KDFoundation::Event * ev
)

function render

1
2
3
4
5
6
7
void render(
    KDGpu::RenderPassCommandRecorder * recorder,
    const KDGpu::Extent2D & extent,
    uint32_t inFlightIndex =0,
    KDGpu::RenderPass * currentRenderPass =nullptr,
    int lastSubpassIndex =0
)

Updated on 2024-12-15 at 00:01:55 +0000