MayaFlux 0.5.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 204 of file Sinks.cpp.

205{
206 for (auto& s : sinks) {
207 if (s.fn) {
208 s.fn(ctx);
209 }
210 }
211}

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

+ Here is the caller graph for this function: