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

◆ set_processing_chain()

virtual void MayaFlux::Buffers::Buffer::set_processing_chain ( std::shared_ptr< BufferProcessingChain chain,
bool  force = false 
)
pure virtual

Sets the transformation chain for this buffer.

Parameters
chainNew processing chain for sequential transformations
forceIf true, forces the replacement of the current chain even if incompatible

Replaces the current processing chain with the provided one if force is true. else merges the new chain only if compatible. The chain should be compatible with the buffer's data type and processing backend.

Implemented in MayaFlux::Buffers::AudioBuffer, and MayaFlux::Buffers::VKBuffer.