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

◆ set_should_terminate()

void MayaFlux::Vruta::GraphicsRoutine::set_should_terminate ( bool  should_terminate)
inlineoverridevirtual

Set should_terminate flag in promise.

Parameters
should_terminateWhether the coroutine should be terminated

Implements MayaFlux::Vruta::Routine.

Definition at line 619 of file Routine.hpp.

620 {
621 m_handle.promise().should_terminate = should_terminate;
622 }
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:654