15 virtual void Create()
override;
16 virtual void Tick(
float deltaTime)
override;
17 virtual void EditorTick(
float deltaTime)
override;
28 Text* mLabel =
nullptr;
30 Text* mValue =
nullptr;
34 void UpdateRow(ResourceRow& row,
float value,
float maxValue,
const char* suffix);
35 void UpdateMetrics(
float deltaTime);
43 bool mShowMultipleRAM =
true;
45 bool mShowVRAM =
true;
46 bool mLayoutDirty =
true;
47 float mUpdateTimer = 0.0f;
48 float mFpsAccum = 0.0f;
49 uint32_t mFpsSamples = 0;
50 static constexpr float sUpdateInterval = 0.5f;
52 float mRowHeight = 22.0f;
53 float mLabelWidth = 50.0f;
54 float mValueWidth = 80.0f;
55 float mPadding = 4.0f;
57 Quad* mBackground =
nullptr;
Definition ProgressBar.h:10