matf-rg-engine 1.0.0
Base for project for the Computer Graphics course at Faculty of Mathematics, University of Belgrade
Loading...
Searching...
No Matches
Public Attributes | List of all members
engine::platform::FrameTime Struct Reference

Stores elapsed time for frames in seconds. More...

#include <PlatformController.hpp>

Public Attributes

float dt
 Elapsed seconds for the previous frame.
 
float previous
 Time from the initialization of the Platform to the moment when the previous frame began.
 
float current
 Time from the initialization of the Platform to the moment when the current frame began.
 

Detailed Description

Stores elapsed time for frames in seconds.

Member Data Documentation

◆ dt

float engine::platform::FrameTime::dt

Elapsed seconds for the previous frame.

◆ previous

float engine::platform::FrameTime::previous

Time from the initialization of the Platform to the moment when the previous frame began.

◆ current

float engine::platform::FrameTime::current

Time from the initialization of the Platform to the moment when the current frame began.


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