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

352{
353 if (!m_handle) {
354 return nullptr;
355 }
356
357 auto& state_map = m_handle.promise().state;
358 auto it = state_map.find(key);
359 if (it != state_map.end()) {
360 return &it->second;
361 }
362 return nullptr;
363}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:623

References m_handle.