Skip to content

Commit

Permalink
Add Vert/Tex Count Displays (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed May 10, 2022
1 parent 0d6db36 commit d36d933
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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_);

Expand Down

0 comments on commit d36d933

Please sign in to comment.