GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::application::FrameInfo Struct Reference

Transient information about the current frame of an Application. More...

#include <GREM/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.
TimePoint startTime
 Clock time point marking the beginning of the current frame.
Duration totalElapsedTime
 The time that had elapsed since the start of the application at the beginning of the current frame.
Duration deltaTime
 The time elapsed between the beginning of the previous frame and the beginning of the current frame.

Detailed Description

Transient information about the current frame of an Application.

Member Data Documentation

◆ tickInterpolationAlpha

float grem::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.

◆ startTime

TimePoint grem::application::FrameInfo::startTime

Clock time point marking the beginning of the current frame.

◆ totalElapsedTime

Duration grem::application::FrameInfo::totalElapsedTime

The time that had elapsed since the start of the application at the beginning of the current frame.

◆ deltaTime

Duration grem::application::FrameInfo::deltaTime

The time elapsed between the beginning of the previous frame and the beginning of the current frame.


The documentation for this struct was generated from the following file: