Files
WickedEngine/Samples/Example_ImGui_Docking/Example_ImGui_Docking.h
T
2024-09-12 08:49:00 +02:00

27 lines
536 B
C++

#pragma once
#include "WickedEngine.h"
class Example_ImGuiRenderer : public wi::RenderPath3D
{
wi::gui::Label label;
public:
void Load() override;
void Update(float dt) override;
void ResizeLayout() override;
void Render() const override;
void DisplayPerformanceData(bool* p_open);
void igTextTitle(const char* text);
};
class Example_ImGui : public wi::Application
{
Example_ImGuiRenderer renderer;
public:
~Example_ImGui() override;
void Initialize() override;
void Compose(wi::graphics::CommandList cmd) override;
};