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

◆ remove_buffer_reference()

void MayaFlux::Nodes::Node::remove_buffer_reference ( )

Decrements the buffer reference count This method is called when a buffer stops using this node to ensure proper lifecycle management.

Definition at line 129 of file Node.cpp.

130{
131 m_buffer_count.fetch_sub(1, std::memory_order_release);
132}
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.