Process pending operations - call this at start of processing cycles.
252 {
254 if (m_pending_op.active.load(std::memory_order_acquire)) {
255 auto& op = m_pending_op;
256
257 if (op.is_addition) {
259 } else {
261 }
262
263
264 op.buffer.reset();
265 op.active.store(false, std::memory_order_release);
267 }
268 }
269 }
void add_child_buffer_direct(const std::shared_ptr< BufferType > &buffer)
void remove_child_buffer_direct(const std::shared_ptr< BufferType > &buffer)
struct MayaFlux::Buffers::RootBuffer::PendingBufferOp m_pending_ops[MAX_PENDING]
std::atomic< uint32_t > m_pending_count