Refactor Shader uniform API + Added back NuakeUI

This commit is contained in:
Antoine Pilote
2024-09-09 20:55:51 -04:00
parent 5a0f7c06f0
commit aef5f65f75
87 changed files with 21929 additions and 478 deletions

View File

@@ -7,6 +7,8 @@
#include <glad/glad.h>
#include "src/UI/NuakeUI.h"
#include "src/UI/UIInputManager.h"
void EditorApplication::OnInit()
{
@@ -71,6 +73,16 @@ void EditorApplication::OnInit()
}
});
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>());
}