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

◆ get_postprocessor()

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

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

Parameters
bufferBuffer to query

Definition at line 237 of file BufferProcessingChain.cpp.

238{
239 auto it = m_postprocessors.find(buffer);
240 return it != m_postprocessors.end() ? it->second : nullptr;
241}
std::unordered_map< std::shared_ptr< Buffer >, std::shared_ptr< BufferProcessor > > m_postprocessors
Map of buffers to their postprocessors.

References m_postprocessors.