Elevate Engine 1
Loading...
Searching...
No Matches
StatisticsPanel.cpp
Go to the documentation of this file.
1#include "StatisticsPanel.h"
2
3#include <imgui.h>
4
6{
7 ImGuiIO& io = ImGui::GetIO();
8 ImGui::Begin("Stats");
9 ImGui::Text("Average %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate);
10 ImGui::End();
11}