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

◆ save_state()

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

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

122{
123 if (m_Source)
124 m_Source->save_state();
125 if (m_Target)
126 m_Target->save_state();
127
128 m_state_saved = true;
129}
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.