Added IO.MetricsVertices counter

This commit is contained in:
ocornut
2015-04-07 13:36:11 +01:00
parent d9ff617ff8
commit 33ef3992f7
2 changed files with 3 additions and 0 deletions

View File

@ -669,6 +669,7 @@ struct ImGuiIO
bool WantCaptureMouse; // Mouse is hovering a window or widget is active (= ImGui will use your mouse input)
bool WantCaptureKeyboard; // Widget is active (= ImGui will use your keyboard input)
float Framerate; // Framerate estimation, in frame per second. Rolling average estimation based on IO.DeltaTime over 120 frames
int MetricsVertices; // Vertices processed during last call to Render()
//------------------------------------------------------------------
// [Internal] ImGui will maintain those fields for you