Skip to content

Commit 742beec

Browse files
committed
Clean up
1 parent 8e75229 commit 742beec

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

Source/Mocha.Host/Rendering/Platform/Vulkan/vulkanrendercontext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,7 @@ RenderStatus VulkanRenderContext::BeginImGui()
10481048
ImGui_ImplSDL2_NewFrame( m_window->GetSDLWindow() );
10491049

10501050
ImGui::NewFrame();
1051+
ImGui::DockSpaceOverViewport( nullptr, ImGuiDockNodeFlags_PassthruCentralNode );
10511052

10521053
return RENDER_STATUS_OK;
10531054
}

Source/Mocha.Host/Rendering/rendermanager.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,6 @@ void SceneMeshPass::SetConstants( RenderPushConstants constants )
208208
m_constants = constants;
209209
}
210210

211-
void SceneMeshPass::RenderSceneMesh( SceneMesh* mesh )
212-
{
213-
}
214-
215-
void SceneMeshPass::RenderMesh( RenderPushConstants constants, Mesh* mesh )
216-
{
217-
}
218-
219211
void EditorPass::Execute()
220212
{
221213
Globals::m_hostManager->Render();

Source/Mocha.Host/Rendering/rendermanager.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ class SceneMeshPass : public RenderPass
3232
private:
3333
RenderPushConstants m_constants;
3434
std::vector<std::shared_ptr<SceneMesh>> m_meshes;
35-
36-
void RenderSceneMesh( SceneMesh* mesh );
37-
38-
// Render a mesh. This will handle all the pipelines, descriptors, buffers, etc. for you - just call
39-
// this once and it'll do all the work.
40-
// Note that this will render to whatever render target is currently bound (see BindRenderTarget).
41-
void RenderMesh( RenderPushConstants constants, Mesh* mesh );
4235
};
4336

4437
class TonemapPass : public RenderPass

0 commit comments

Comments
 (0)