pch,layers

This commit is contained in:
2025-11-20 00:24:23 +08:00
parent 122f500a76
commit f70881e364
19 changed files with 392 additions and 27 deletions

View File

@ -5,6 +5,7 @@
#include "Prism/Core/Application.h"
#include "Prism/Core/EntryPoint.h"
#include "Prism/Core/ImGui/ImGuiLayer.h"
class Sandbox : public Prism::Application
{
@ -13,6 +14,11 @@ public:
{
}
virtual void OnInit() override
{
PushLayer(new Prism::ImGuiLayer());
PushLayer(new Prism::ImGuiLayer("Second Layer"));
}
};