MayaFlux 0.2.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{
316 chain->add_processor(processor, root_buffer);
317}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
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(), m_access_control, and token.

Referenced by add_processor(), and add_processor().

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