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

◆ dispatch_render_sinks()

void MayaFlux::Nexus::dispatch_render_sinks ( std::vector< RenderSink > &  sinks,
const InfluenceContext ctx 
)

For each sink that has a producer fn, call it and push the result.

If no fn is set, writes the object position as a single point.

Parameters
sinksSink vector owned by the calling Emitter or Agent.
ctxCurrent InfluenceContext passed to each fn.

Definition at line 225 of file Sinks.cpp.

226{
227 for (auto& s : sinks) {
228 if (s.fn) {
229 s.fn(ctx);
230 }
231 }
232}

Referenced by MayaFlux::Nexus::Emitter::invoke(), and MayaFlux::Nexus::Agent::invoke_influence().

+ Here is the caller graph for this function: