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

◆ dispatch_render_sinks()

MAYAFLUX_API 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 207 of file Sinks.cpp.

208{
209 for (auto& s : sinks) {
210 if (s.fn) {
211 s.fn(ctx);
212 }
213 }
214}

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

+ Here is the caller graph for this function: