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

◆ get_final_processor()

std::shared_ptr< BufferProcessor > MayaFlux::Buffers::BufferProcessingChain::get_final_processor ( const std::shared_ptr< Buffer > &  buffer) const

Returns the final processor for a buffer, or nullptr if none is set.

Parameters
bufferBuffer to query

Definition at line 244 of file BufferProcessingChain.cpp.

245{
246 auto it = m_final_processors.find(buffer);
247 return it != m_final_processors.end() ? it->second : nullptr;
248}
std::unordered_map< std::shared_ptr< Buffer >, std::shared_ptr< BufferProcessor > > m_final_processors
Map of buffers to their final processors.

References m_final_processors.