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

◆ save_state()

template<size_t N = 0>
void MayaFlux::Nodes::CompositeOpNode< N >::save_state ( )
inlineoverridevirtual

Saves the node's current state for later restoration Recursively cascades through all connected modulator nodes Protected - only NodeSourceProcessor and NodeBuffer can call.

Implements MayaFlux::Nodes::Node.

Definition at line 472 of file NodeCombine.hpp.

473 {
475 for (auto& node : m_inputs) {
476 if (node)
477 node->save_state();
478 }
479 m_state_saved = true;
480 }
std::vector< double > m_input_values
std::vector< double > m_saved_input_values
std::vector< std::shared_ptr< Node > > m_inputs