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
5
void
Elevate::Editor::StatisticsPanel::OnImGuiRender
()
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
}
StatisticsPanel.h
Elevate::Editor::StatisticsPanel::OnImGuiRender
void OnImGuiRender() override
Definition
StatisticsPanel.cpp:5
ElevateEngine
src
ElevateEngine
Editor
Panels
StatisticsPanel.cpp
Generated by
1.9.8