f275f4690b
* Examples: Initial ImGui 1.85 integration example. * Attempt to load and compile shaders. * ImGUI integration done with some workarounds. * ImGUI integration: Cleanup example. * refactor tests->example_imgui Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
25 lines
440 B
C++
25 lines
440 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
|
|
class Example_ImGuiRenderer : public RenderPath3D
|
|
{
|
|
wiLabel label;
|
|
public:
|
|
void Load() override;
|
|
void Update(float dt) override;
|
|
void ResizeLayout() override;
|
|
void Render() const override;
|
|
};
|
|
|
|
class Example_ImGui : public MainComponent
|
|
{
|
|
Example_ImGuiRenderer renderer;
|
|
|
|
public:
|
|
~Example_ImGui() override;
|
|
void Initialize() override;
|
|
void Compose(wiGraphics::CommandList cmd) override;
|
|
};
|
|
|