MayaFlux 0.2.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 482 of file NodeCombine.hpp.

483 {
485 for (auto& node : m_inputs) {
486 if (node)
487 node->restore_state();
488 }
489 m_state_saved = false;
490 }
std::vector< double > m_input_values
std::vector< double > m_saved_input_values
std::vector< std::shared_ptr< Node > > m_inputs