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 8f2a435 commit 8216d22
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -995,4 +995,14 @@ void ERS_CLASS_VisualRenderer::DrawViewportMenu(int Index, ERS_CLASS_SceneManage
IsEditorMode_ = true;
}

}
}

void ERS_CLASS_VisualRenderer::DrawViewportOverlay(int Index) {

// Draw Scene Info
if (Viewports_[Index]->ShowSceneInfo_) {


}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 8216d22

Please sign in to comment.