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

◆ add_graphics_processor() [1/2]

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

Adds a processor to a specific graphics buffer.

Parameters
processorProcessor to add
bufferTarget graphics buffer
tokenProcessing domain

Definition at line 319 of file BufferProcessingControl.cpp.

323{
325 chain->add_processor(processor, buffer);
326 buffer->set_processing_chain(chain, false);
327}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
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(), m_access_control, and token.

+ Here is the call graph for this function: