Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Toggle main menu visibility
Loading...
Searching...
No Matches
StatsPanel.hpp
1
#pragma once
2
3
#include <chrono>
4
5
namespace
Grindstone {
6
class
EngineCore
;
7
8
namespace
Editor::ImguiEditor {
9
class
StatsPanel {
10
public
:
11
StatsPanel();
12
void
Render();
13
private
:
14
void
RenderContents();
15
bool
isShowingPanel =
true
;
16
unsigned
long
long
totalFrameCount = 0;
17
unsigned
int
frameCountSinceLastRender = 0;
18
std::chrono::steady_clock::time_point lastRenderTime;
19
20
double
lastRenderedDeltaTime = 0.0;
21
unsigned
long
long
lastRenderedTotalFrameCount = 0;
22
};
23
}
24
}
Grindstone::EngineCore
Definition
EngineCore.hpp:59
sources
code
Editor
ImguiEditor
StatsPanel.hpp
Generated by
1.17.0