libdonut  2.3.2
Application framework for cross-platform game development in C++20
TickInfo.hpp
Go to the documentation of this file.
1 #ifndef DONUT_APPLICATION_TICK_INFO_HPP
2 #define DONUT_APPLICATION_TICK_INFO_HPP
3 
4 #include <donut/Time.hpp>
5 
6 #include <cstddef> // std::size_t
7 
8 namespace donut::application {
9 
13 struct TickInfo {
34 
39  std::size_t processedTickCount;
40 
46 };
47 
48 } // namespace donut::application
49 
50 #endif
Definition: Application.hpp:9
Transient information about the current tick of an Application.
Definition: TickInfo.hpp:13
Time< float > tickInterval
The average time, in seconds, that should elapse between each tick.
Definition: TickInfo.hpp:33
std::size_t processedTickCount
Number of ticks that have been fully processed since the start of the application.
Definition: TickInfo.hpp:39
Time< float > processedTickTime
The accumulated time, in seconds, of all ticks that had been processed since the start of the applica...
Definition: TickInfo.hpp:45