diff --git a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp index a56fbf5487..a2f151ea52 100644 --- a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp +++ b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp @@ -995,4 +995,14 @@ void ERS_CLASS_VisualRenderer::DrawViewportMenu(int Index, ERS_CLASS_SceneManage IsEditorMode_ = true; } -} \ No newline at end of file +} + +void ERS_CLASS_VisualRenderer::DrawViewportOverlay(int Index) { + + // Draw Scene Info + if (Viewports_[Index]->ShowSceneInfo_) { + + + } + +} diff --git a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.h b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.h index 70b24a33ec..179c47782b 100644 --- a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.h +++ b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.h @@ -128,6 +128,12 @@ class ERS_CLASS_VisualRenderer { */ void DrawViewportMenu(int Index, ERS_CLASS_SceneManager* SceneManager); + /** + * @brief Draw the overlays on the viewport for debugging info such as textures and fps. + * + */ + void DrawViewportOverlay(); + /** * @brief Returns the index of the shader with name that matches the name given. Will return 0 if the shader is not found. *