libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Transient information about the current frame of an Application. More...
#include <donut/application/FrameInfo.hpp>
Public Attributes | |
float | tickInterpolationAlpha |
The ratio of the latest processed tick's importance compared to the tick processed before it, for use when interpolating data between the two. More... | |
Time< float > | elapsedTime |
The time, in seconds, that had elapsed since the start of the application at the beginning of the current frame. More... | |
Time< float > | deltaTime |
The time, in seconds, elapsed between the beginning of the previous frame and the beginning of the current frame. More... | |
Transient information about the current frame of an Application.
float donut::application::FrameInfo::tickInterpolationAlpha |
The ratio of the latest processed tick's importance compared to the tick processed before it, for use when interpolating data between the two.
Time<float> donut::application::FrameInfo::elapsedTime |
The time, in seconds, that had elapsed since the start of the application at the beginning of the current frame.
Time<float> donut::application::FrameInfo::deltaTime |
The time, in seconds, elapsed between the beginning of the previous frame and the beginning of the current frame.