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

◆ reset_processed_state()

void MayaFlux::Nodes::Node::reset_processed_state ( )
virtual

Resets the processed state of the node and any attached input nodes.

This method is used by the processing system to reset the processed state of the node at the end of each processing cycle. This ensures that all nodes are marked as unprocessed before the cycle next begins, allowing the system to correctly identify which nodes need to be processed.

Reimplemented in MayaFlux::Nodes::ChainNode, and MayaFlux::Nodes::BinaryOpNode.

Definition at line 83 of file Node.cpp.

84{
85 uint32_t active_mask = m_active_channels_mask.load(std::memory_order_acquire);
86 if (active_mask == 0) {
88 }
89}
std::atomic< uint32_t > m_active_channels_mask
Bitmask tracking which channels are currently using this node.
Definition Node.hpp:483
virtual void reset_processed_state_internal()
Resets the processed state of the node directly.
Definition Node.cpp:91

References m_active_channels_mask, and reset_processed_state_internal().

+ Here is the call graph for this function: