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

◆ restore_state()

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

Restores the node's state from the last save Recursively cascades through all connected modulator nodes Protected - only NodeSourceProcessor and NodeBuffer can call.

Implements MayaFlux::Nodes::Node.

Definition at line 488 of file NodeCombine.hpp.

489 {
491 for (auto& node : m_inputs) {
492 if (node)
493 node->restore_state();
494 }
495 m_state_saved = false;
496 }
std::vector< double > m_input_values
std::vector< double > m_saved_input_values
std::vector< std::shared_ptr< Node > > m_inputs