MayaFlux 0.4.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 286 of file Routine.cpp.

287{
288 if (!m_handle) {
289 return false;
290 }
291 return m_handle.promise().sync_to_clock;
292}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:654

References m_handle.