28 void Update(
float frameTime,
float physTime);
35 void DrawPerfWindow();
36 void DrawTextureCache();
37 void DrawTextureInspector();
39 void DrawRendererStats();
40 void DrawWorldViewStats();
41 void DrawImGuiStats();
42 void DrawInputDebug();
45 static const int NUM_FRAMES = 60;
46 std::array<float, NUM_FRAMES> m_fpsGraph;
47 std::array<float, NUM_FRAMES> m_physFpsGraph;
48 float frameTimeAverage = 0;
49 float frameTimeMax = 0;
50 float frameTimeMin = 0;
51 float physFrameTimeAverage = 0;
52 float physFrameTimeMax = 0;
53 float physFrameTimeMin = 0;
57 float framesThisSecond = 0;
58 float physFramesThisSecond = 0;
60 float lastUpdateTime = 0;
std::map< std::string, uint32_t > FrameInfo
Definition: PerfStats.h:26
Definition: PerfInfo.h:13
void Update(float frameTime, float physTime)
void SetShowDebugInfo(bool open)
void UpdateFrameInfo(int framesThisSecond, int physFramesThisSecond)
void SetUpdatePause(bool pause)
Definition: LuaBody.cpp:28
Definition: PerfInfo.h:19
size_t currentMemSize
Definition: PerfInfo.h:20
size_t peakMemSize
Definition: PerfInfo.h:21