MayaFlux 1.0.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 294 of file BufferProcessingChain.cpp.

295{
296 auto it = m_final_processors.find(buffer);
297 return it != m_final_processors.end() ? it->second : nullptr;
298}
std::shared_ptr< NetworkGeometryBuffer > buffer
std::unordered_map< std::shared_ptr< Buffer >, std::shared_ptr< BufferProcessor > > m_final_processors
Map of buffers to their final processors.

References buffer, and m_final_processors.