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

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

References m_handle.