libdonut  2.3.2
Application framework for cross-platform game development in C++20
FrameInfo.hpp
Go to the documentation of this file.
1 #ifndef DONUT_APPLICATION_FRAME_INFO_HPP
2 #define DONUT_APPLICATION_FRAME_INFO_HPP
3 
4 #include <donut/Time.hpp>
5 
6 namespace donut::application {
7 
11 struct FrameInfo {
17 
23 
29 };
30 
31 } // namespace donut::application
32 
33 #endif
Definition: Application.hpp:9
Transient information about the current frame of an Application.
Definition: FrameInfo.hpp:11
Time< float > deltaTime
The time, in seconds, elapsed between the beginning of the previous frame and the beginning of the cu...
Definition: FrameInfo.hpp:28
float tickInterpolationAlpha
The ratio of the latest processed tick's importance compared to the tick processed before it,...
Definition: FrameInfo.hpp:16
Time< float > elapsedTime
The time, in seconds, that had elapsed since the start of the application at the beginning of the cur...
Definition: FrameInfo.hpp:22