6 #include "FrameTimer.h"
7 #include "DebugRenderer.h"
20 , m_frameTimer(frameTimer)
21 , m_debugRenderer(debugRenderer)
26 const bool GetEnabled()
const {
return m_enabled; }
27 void SetEnabled(
bool enabled) { m_enabled = enabled; }
29 void SetWarningMs(
float warningMs) { m_warningMs = warningMs; }
30 void SetErrorMs(
float errorMs) { m_errorMs = errorMs; }
35 void DrawSample(
const FrameTime& sample,
const v2& screenDimensions,
int position);
37 v4 GetUpdateColor(
float frameTimeMS);
38 v4 GetFrameColor(
float frameTimeMS);
39 v4 GetDrawColor(
float frameTimeMS);