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 259 of file Routine.cpp.

260{
261 if (!m_handle) {
262 return false;
263 }
264 return m_handle.promise().sync_to_clock;
265}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:623

References m_handle.