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

◆ remove_processor()

void MayaFlux::Buffers::BufferProcessingChain::remove_processor ( const std::shared_ptr< BufferProcessor > &  processor,
const std::shared_ptr< Buffer > &  buffer 
)

Removes a processor from the pipeline for a specific buffer.

Parameters
processorProcessor to remove
bufferBuffer to remove the processor from

If the processor is found in the buffer's transformation sequence, it is removed and its on_detach method is called. The chain also performs cleanup optimization:

  • Resource Cleanup: Ensures all processor resources are properly released
  • Pipeline Reoptimization: Rebuilds optimization plans without the removed processor
  • Backend Restoration: Restores default backends if the processor was overriding them

Definition at line 74 of file BufferProcessingChain.cpp.

75{
76 remove_processor_internal(processor, buffer, false);
77}
std::shared_ptr< NetworkGeometryBuffer > buffer
void remove_processor_internal(const std::shared_ptr< BufferProcessor > &processor, const std::shared_ptr< Buffer > &buffer, bool search_all_slots)

References buffer, and remove_processor_internal().

+ Here is the call graph for this function: