Editor now displaying in Vulkan

This commit is contained in:
antopilo
2024-12-04 15:25:08 -05:00
parent 5ba897ed46
commit b2d749244f
18 changed files with 2172 additions and 57 deletions

View File

@@ -23,6 +23,8 @@ void EditorLayer::OnUpdate()
Nuake::Engine::Tick();
Nuake::Engine::Draw();
m_EditorInterface->Draw();
m_EditorInterface->Update(Nuake::Engine::GetTimestep());
/*
auto sceneFramebuffer = GetApplication().GetWindow()->GetFrameBuffer();
@@ -69,11 +71,10 @@ void EditorLayer::OnUpdate()
sceneFramebuffer->Unbind();
}
m_EditorInterface->Draw();
m_EditorInterface->Update(Nuake::Engine::GetTimestep());
Nuake::Engine::EndDraw();
*/
Nuake::Engine::EndDraw();
Nuake::Input::Update();
}