VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::FpsCounter Class Reference

Public Member Functions

 FpsCounter (uint32_t intervalFrequency=4)
 Counts Frames Per Seconds.
 
void RegisterFrame ()
 
uint32_t GetFps () const
 

Constructor & Destructor Documentation

◆ FpsCounter()

venom::common::FpsCounter::FpsCounter ( uint32_t intervalFrequency = 4)

Counts Frames Per Seconds.

Parameters
intervalFrequencyRefresh rate of the FPS counter (4 = 4 times/second) the smaller the intervalFrequency, the more accurate the FPS counter

The documentation for this class was generated from the following files: