aboutsummaryrefslogtreecommitdiff
path: root/src/Core/Application.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-19 20:33:30 +0200
committerhachem <im@hachem.wtf>2026-08-19 20:33:30 +0200
commite3abaaf59777258ba06705135a0cafcb5918ad12 (patch)
tree889ab40dfc1967b38bcb5735e018d6b2c41d7390 /src/Core/Application.h
parentf455eb427804866a5ce61ea3ea01715cb5ac9116 (diff)
[feat]: vulkan is going to be the end of me bro
Diffstat (limited to 'src/Core/Application.h')
-rw-r--r--src/Core/Application.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Core/Application.h b/src/Core/Application.h
index c16b6d9..b715170 100644
--- a/src/Core/Application.h
+++ b/src/Core/Application.h
@@ -10,6 +10,8 @@
namespace Donut
{
+ class VulkanRenderer; // live-window Vulkan backend (Platform/Vulkan)
+
class Application
{
public:
@@ -31,10 +33,12 @@ namespace Donut
void OnRender();
void OnEvent(Event& event);
void SetupDockingLayout();
+ void BuildVulkanUI(); // ImGui UI built each frame on the Vulkan path
private:
Scope<StateManager> m_StateManager;
Scope<Window> m_Window;
Scope<Engine> m_Engine;
+ Scope<VulkanRenderer> m_VulkanRenderer; // non-null only when the Vulkan API is selected
bool m_Running;
bool m_Minimized;