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

◆ add_buffer_reference()

void MayaFlux::Nodes::Node::add_buffer_reference ( )

Increments the buffer reference count This method is called when a new buffer starts using this node to ensure proper lifecycle management.

Definition at line 124 of file Node.cpp.

125{
126 m_buffer_count.fetch_add(1, std::memory_order_release);
127}
std::atomic< uint32_t > m_buffer_count
Counter tracking how many buffers are using this node This counter is incremented when a buffer start...
Definition Node.hpp:618

References m_buffer_count.