MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ is_frame_late()

bool MayaFlux::Vruta::FrameClock::is_frame_late ( ) const

Check if we're running behind target frame rate.

Returns
True if current time is past when next frame should occur

Definition at line 101 of file Clock.cpp.

102{
103 auto now = std::chrono::steady_clock::now();
104 return now > m_next_frame_time;
105}
std::chrono::steady_clock::time_point m_next_frame_time
Definition Clock.hpp:284

References m_next_frame_time.