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

◆ get_return_object()

GraphicsRoutine MayaFlux::Vruta::graphics_promise::get_return_object ( )

Creates the GraphicsRoutine object returned to the caller.

Returns
A new GraphicsRoutine that wraps this promise

This method is called by the compiler-generated code when a coroutine function is invoked. It creates the GraphicsRoutine object that will be returned to the caller and associates it with this promise.

Definition at line 11 of file Routine.cpp.

12{
13 return { std::coroutine_handle<graphics_promise>::from_promise(*this) };
14}