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

◆ restore_state()

void MayaFlux::Nodes::BinaryOpNode::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 318 of file NodeStructure.cpp.

319{
322
323 if (m_lhs)
324 m_lhs->restore_state();
325 if (m_rhs)
326 m_rhs->restore_state();
327
328 m_state_saved = false;
329}
std::shared_ptr< Node > m_lhs
The left-hand side node.
double m_last_rhs_value
The last output value from the right-hand side node.
double m_last_lhs_value
The last output value from the left-hand side node.
std::shared_ptr< Node > m_rhs
The right-hand side node.

References m_last_lhs_value, m_last_rhs_value, m_lhs, m_rhs, m_saved_last_lhs_value, m_saved_last_rhs_value, and m_state_saved.