MayaFlux 0.4.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 478 of file NodeCombine.hpp.

479 {
481 for (auto& node : m_inputs) {
482 if (node)
483 node->save_state();
484 }
485 m_state_saved = true;
486 }
std::vector< double > m_input_values
std::vector< double > m_saved_input_values
std::vector< std::shared_ptr< Node > > m_inputs