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

◆ restore_state()

void MayaFlux::Nodes::ChainNode::restore_state ( )
overridevirtual

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 131 of file NodeStructure.cpp.

132{
133 if (m_Source)
134 m_Source->restore_state();
135 if (m_Target)
136 m_Target->restore_state();
137
138 m_state_saved = false;
139}
std::shared_ptr< Node > m_Source
The upstream node that processes input first.
std::shared_ptr< Node > m_Target
The downstream node that processes the source's output.

References m_Source, m_state_saved, and m_Target.