MayaFlux 1.0.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 272 of file Routine.cpp.

273{
274 if (!m_handle) {
275 return false;
276 }
277 return m_handle.promise().sync_to_clock;
278}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:644

References m_handle.