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

◆ clear_modulator_processed_state()

void MayaFlux::Nodes::Node::clear_modulator_processed_state ( )

Clears the processed flag on every node in this node's modulator tree.

A snapshot sample of a node processes its modulators and marks them processed. restore_state() rewinds their values but not that flag, so snapshot consumers call this after restoring.

Definition at line 144 of file Node.cpp.

145{
146 for (const auto& [role, modulator] : get_modulators()) {
147 modulator->clear_modulator_processed_state();
148 modulator->reset_processed_state_internal();
149 }
150}
virtual std::vector< std::pair< ModulatorRole, std::shared_ptr< Node > > > get_modulators() const
Returns direct modulator nodes and their roles.
Definition Node.hpp:758

References get_modulators().

Here is the call graph for this function: