#include <profiller_window.h>
Application profiller GUI window class.
Definition at line 14 of file profiller_window.h.
◆ profiller_window()
scl::profiller_window::profiller_window |
( |
| ) |
|
|
default |
Application profiller GUI window default constructor.
◆ Draw()
void scl::profiller_window::Draw |
( |
| ) |
|
- Draw profiller GUI window function.
- Parameters
-
- Returns
- None.
Definition at line 17 of file profiller_window.cpp.
18{
21 {
22 if (FPSList.size() > 50) FPSList.erase(FPSList.begin());
24 FPSPlotUpdateDelay = 0;
25 }
26
27 ImGui::Begin("Profiller");
28 {
30 ImGui::PlotLines(
"", FPSList.data(), (
u32)FPSList.size(), 0, 0, FLT_MAX, FLT_MAX, { ImGui::GetWindowWidth() - 15.0f, ImGui::GetWindowHeight() - 56.0f });
31 }
32 ImGui::End();
33}
static const float UpdateDelay
static float GetDeltaTime()
The documentation for this class was generated from the following files: