|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kriya::frame_results | ( | Vruta::TaskScheduler & | scheduler, |
| const std::shared_ptr< Vruta::BroadcastSource< T > > & | source, | ||
| std::function< std::optional< T >()> | fn, | ||
| const std::string & | name = "" |
||
| ) |
Signal what fn returns into source once per graphics frame.
As the overload that creates its source, for a source that already has a consumer, so fn can refer to that consumer. The routine holds source weakly.