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

◆ m_modulator_count

std::atomic<uint32_t> MayaFlux::Nodes::Node::m_modulator_count { 0 }

Counter tracking how many other nodes are using this node as a modulator.

This counter is incremented when another node begins using this node as a modulation source, and decremented when that relationship ends. It's critical for the node lifecycle management system, as it prevents premature state resets when a node's output is still needed by downstream nodes.

When this counter is non-zero, the node's processed state will not be reset automatically after processing, ensuring that all dependent nodes can access its output before it's cleared.

Definition at line 477 of file Node.hpp.

477{ 0 };