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

◆ requires_clock_sync()

bool MayaFlux::Vruta::GraphicsRoutine::requires_clock_sync ( ) const
overridevirtual

Check if the routine should synchronize with a clock.

Returns
True if the routine requires clock synchronization

Implements MayaFlux::Vruta::Routine.

Definition at line 290 of file Routine.cpp.

291{
292 if (!m_handle) {
293 return false;
294 }
295 return m_handle.promise().sync_to_clock;
296}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:654

References m_handle.