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

365{
366 if (!m_handle) {
367 return nullptr;
368 }
369
370 auto& state_map = m_handle.promise().state;
371 auto it = state_map.find(key);
372 if (it != state_map.end()) {
373 return &it->second;
374 }
375 return nullptr;
376}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:644

References m_handle.