Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
DataPlotter.h
Go to the documentation of this file.
1#ifndef INCLUDE_IMGUICORE_DATAPLOTTER_H_
2#define INCLUDE_IMGUICORE_DATAPLOTTER_H_
3
4#include "Core/Common/pch.h"
5
6class Plotter
7{
8 public:
9 static void PlotAllData();
10
11 private:
12 static void PlotFrameTimeData();
13 static void PlotFPSData();
14
15 private:
16 static float m_History;
17 static float m_Ticks;
18 static constexpr ImVec4 m_UpdateCol = {237.0f / 255.0f, 135.0f / 255.0f, 150.0f / 255.0f, 1.0f};
19 static constexpr ImVec4 m_RenderCol = {145.0f / 255.0f, 215.0f / 255.0f, 227.0f / 255.0f, 1.0f};
20};
21
22#endif // INCLUDE_IMGUICORE_DATAPLOTTER_H_
Definition DataPlotter.h:7
static constexpr ImVec4 m_RenderCol
Definition DataPlotter.h:19
static void PlotFrameTimeData()
Definition DataPlotter.cpp:20
static void PlotAllData()
Definition DataPlotter.cpp:11
static constexpr ImVec4 m_UpdateCol
Definition DataPlotter.h:18
static void PlotFPSData()
Definition DataPlotter.cpp:52
static float m_Ticks
Definition DataPlotter.h:17
static float m_History
Definition DataPlotter.h:16