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

◆ set_graphics_final_processor()

void MayaFlux::Buffers::BufferProcessingControl::set_graphics_final_processor ( const std::shared_ptr< BufferProcessor > &  processor,
ProcessingToken  token 
)

Sets a final processor for the graphics processing chain.

Parameters
processorFinal processor to apply
tokenProcessing domain

Definition at line 329 of file BufferProcessingControl.cpp.

332{
334 auto chain = unit.get_chain();
335 auto root_buffer = unit.get_buffer();
336 chain->add_final_processor(processor, root_buffer);
337}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
TokenUnitManager & m_unit_manager
Reference to the token/unit manager.
RootGraphicsUnit & get_graphics_unit_mutable(ProcessingToken token)
Gets an existing graphics unit without creating if missing (mutable)
std::shared_ptr< BufferProcessingChain > get_chain() const

References MayaFlux::Buffers::RootGraphicsUnit::get_chain(), MayaFlux::Buffers::TokenUnitManager::get_graphics_unit_mutable(), m_unit_manager, and token.

Referenced by set_final_processor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: