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

◆ get_state_impl_raw()

void * MayaFlux::Vruta::GraphicsRoutine::get_state_impl_raw ( const std::string &  key)
overrideprotectedvirtual

Implements MayaFlux::Vruta::Routine.

Definition at line 384 of file Routine.cpp.

385{
386 if (!m_handle) {
387 return nullptr;
388 }
389
390 auto& state_map = m_handle.promise().state;
391 auto it = state_map.find(key);
392 if (it != state_map.end()) {
393 return &it->second;
394 }
395 return nullptr;
396}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:654

References m_handle.