Nameless Engine
Loading...
Searching...
No Matches
ne::RenderStatistics::FramesPerSecondInfo Struct Reference

Public Attributes

std::chrono::steady_clock::time_point timeAtLastFpsUpdate
 
size_t iPresentCountSinceFpsUpdate = 0
 
size_t iFramesPerSecond = 0
 

Detailed Description

Groups info related to measuring frame count per second.

Member Data Documentation

◆ iFramesPerSecond

size_t ne::RenderStatistics::FramesPerSecondInfo::iFramesPerSecond = 0

The number of frames that the renderer produced in the last second.

◆ iPresentCountSinceFpsUpdate

size_t ne::RenderStatistics::FramesPerSecondInfo::iPresentCountSinceFpsUpdate = 0

The number of times the renderer presented a new image since the last time we updated iFramesPerSecond.

◆ timeAtLastFpsUpdate

std::chrono::steady_clock::time_point ne::RenderStatistics::FramesPerSecondInfo::timeAtLastFpsUpdate

Time when the renderer has finished initializing or when iFramesPerSecond was updated.


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