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

◆ add_processor() [1/3]

MAYAFLUX_API void MayaFlux::add_processor ( const std::shared_ptr< Buffers::BufferProcessor > &  processor,
Buffers::ProcessingToken  token,
uint32_t  channel 
)

Adds a processor to all buffers in a specific channel.

Parameters
processorProcessor to add
tokenProcessing domain
channelChannel index

Adds the processor to all buffers associated with the specified channel in the given processing domain. Uses the default engine's buffer manager.

Definition at line 91 of file Graph.cpp.

92{
93 get_buffer_manager()->add_processor(processor, token, channel);
94}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
Definition Graph.cpp:81

References get_buffer_manager(), and token.

+ Here is the call graph for this function: