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

Public Attributes

std::chrono::steady_clock::time_point frameStartTime
 
std::optional< double > optionalTargetTimeToRenderFrameInNs
 

Detailed Description

Groups info related to FPS limiting.

Member Data Documentation

◆ frameStartTime

std::chrono::steady_clock::time_point ne::RenderStatistics::FpsLimitInfo::frameStartTime

Time when last frame was started to be processed.

◆ optionalTargetTimeToRenderFrameInNs

std::optional<double> ne::RenderStatistics::FpsLimitInfo::optionalTargetTimeToRenderFrameInNs

Not empty if FPS limit is set, defines time in nanoseconds that one frame should take.


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