Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
xezno committed Dec 24, 2024
1 parent 8e75229 commit 742beec
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,7 @@ RenderStatus VulkanRenderContext::BeginImGui()
ImGui_ImplSDL2_NewFrame( m_window->GetSDLWindow() );

ImGui::NewFrame();
ImGui::DockSpaceOverViewport( nullptr, ImGuiDockNodeFlags_PassthruCentralNode );

return RENDER_STATUS_OK;
}
Expand Down
8 changes: 0 additions & 8 deletions Source/Mocha.Host/Rendering/rendermanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,6 @@ void SceneMeshPass::SetConstants( RenderPushConstants constants )
m_constants = constants;
}

void SceneMeshPass::RenderSceneMesh( SceneMesh* mesh )
{
}

void SceneMeshPass::RenderMesh( RenderPushConstants constants, Mesh* mesh )
{
}

void EditorPass::Execute()
{
Globals::m_hostManager->Render();
Expand Down
7 changes: 0 additions & 7 deletions Source/Mocha.Host/Rendering/rendermanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ class SceneMeshPass : public RenderPass
private:
RenderPushConstants m_constants;
std::vector<std::shared_ptr<SceneMesh>> m_meshes;

void RenderSceneMesh( SceneMesh* mesh );

// Render a mesh. This will handle all the pipelines, descriptors, buffers, etc. for you - just call
// this once and it'll do all the work.
// Note that this will render to whatever render target is currently bound (see BindRenderTarget).
void RenderMesh( RenderPushConstants constants, Mesh* mesh );
};

class TonemapPass : public RenderPass
Expand Down

0 comments on commit 742beec

Please sign in to comment.