Added shaders for UI and fixed UI renderer

This commit is contained in:
Antoine Pilote
2024-09-10 19:18:29 -04:00
parent 1949946cdd
commit 2c48590a4a
9 changed files with 799 additions and 105 deletions

View File

@@ -72,16 +72,6 @@ void EditorApplication::OnInit()
Engine::GetCurrentScene()->Save();
}
});
NuakeUI::CanvasParser parser;
Ref<NuakeUI::Canvas> canvas = parser.Parse("test.html");
static MyInputManager inputManager(*m_Window);
canvas->SetInputManager(&inputManager);
canvas->ComputeLayout({1920, 1080});
canvas->Tick();
canvas->Draw();
PushLayer(CreateScope<EditorLayer>());
}