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

◆ add_graphics_processor() [2/2]

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

Adds a processor to the graphics processing chain.

Parameters
processorProcessor to add
tokenProcessing domain

Definition at line 310 of file BufferProcessingControl.cpp.

313{
315 auto root_buffer = m_access_control.get_root_graphics_buffer(token);
316 chain->add_processor(processor, root_buffer);
317}
std::shared_ptr< RootGraphicsBuffer > get_root_graphics_buffer(ProcessingToken token)
Gets the root graphics buffer for a specific token.
std::shared_ptr< BufferProcessingChain > get_graphics_processing_chain(ProcessingToken token)
Gets the processing chain for a graphics token.
BufferAccessControl & m_access_control
Reference to the buffer access control.

References MayaFlux::Buffers::BufferAccessControl::get_graphics_processing_chain(), MayaFlux::Buffers::BufferAccessControl::get_root_graphics_buffer(), and m_access_control.

Referenced by add_processor(), and add_processor().

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