From d36d933397ed46a47108c4f215303ad7e5e9cd2e Mon Sep 17 00:00:00 2001 From: datacrystals Date: Tue, 10 May 2022 03:29:10 +0000 Subject: [PATCH] Add Vert/Tex Count Displays (#162) --- .../ERS_CLASS_VisualRenderer.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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 b0d8415327..26fabe8933 100644 --- a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp +++ b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp @@ -736,10 +736,19 @@ void ERS_CLASS_VisualRenderer::DrawViewportMenu(int Index, ERS_CLASS_SceneManage if (ImGui::BeginMenu("Controls")) { // Draw Controls + ImGui::MenuItem("Scene Info Overlay", nullptr, &Viewports_[Index]->ShowSceneInfo_); + ImGui::MenuItem("System Resources Overlay", nullptr, &Viewports_[Index]->ShowResourceInfo_); + ImGui::MenuItem("Loading Time Overlay", nullptr, &Viewports_[Index]->ShowLoadingTimeInfo_); + + ImGui::Separator(); + ImGui::MenuItem("Rotation Indicator", nullptr, &Viewports_[Index]->ShowCube); ImGui::MenuItem("Gizmo", nullptr, &Viewports_[Index]->GizmoEnabled); ImGui::MenuItem("Grid", nullptr, &Viewports_[Index]->GridEnabled); ImGui::MenuItem("Light Icons", nullptr, &Viewports_[Index]->LightIcons); + + ImGui::Separator(); + ImGui::MenuItem("Gamma Correction", nullptr, &Viewports_[Index]->GammaCorrection); ImGui::MenuItem("HDR", nullptr, &Viewports_[Index]->HDREnabled_);