Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
ImguiRenderer.hpp
1#pragma once
2
3#include <imgui.h>
4#include <filesystem>
5
6namespace Grindstone {
7 namespace GraphicsAPI {
8 class CommandBuffer;
9 }
10
11 namespace Editor::ImguiEditor {
13 public:
14 static ImguiRenderer* Create();
15
16 virtual GraphicsAPI::CommandBuffer* GetCommandBuffer() = 0;
17 virtual bool PreRender() = 0;
18 virtual void PrepareImguiRendering() = 0;
19 virtual void PostRender() = 0;
20 virtual void Resize() = 0;
21 virtual ImTextureID CreateTexture(std::filesystem::path path) = 0;
22 };
23 }
24}
Definition ImguiRenderer.hpp:12
Definition CommandBuffer.hpp:21