Ocular Engine
FrameStats.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_FRAME_STATS__H__
19 #define __H__OCULAR_GRAPHICS_FRAME_STATS__H__
20 
21 #include <cstdint>
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Graphics
36  {
37  struct FrameStats
38  {
39  FrameStats();
40  ~FrameStats();
41 
45  void clear();
46 
47  //------------------------------------------------------------
48 
49  uint32_t frameNumber;
50  uint32_t triangleCount;
51  uint32_t lineCount;
52  uint32_t pointCount;
53  uint32_t drawCalls;
54  };
55  }
59 }
64 //------------------------------------------------------------------------------------------
65 
66 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: FrameStats.hpp:37
void clear()
Definition: FrameStats.cpp:48