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

◆ attach_quick_process() [5/5]

std::shared_ptr< BufferProcessor > MayaFlux::Buffers::BufferProcessingControl::attach_quick_process ( GraphicsProcessingFunction  processor,
ProcessingToken  token 
)

Definition at line 268 of file BufferProcessingControl.cpp.

271{
272 auto quick_process = std::make_shared<QuickProcess<GraphicsProcessingFunction>>(std::move(processor));
273 add_processor(quick_process, token);
274 return quick_process;
275}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
void add_processor(const std::shared_ptr< BufferProcessor > &processor, const std::shared_ptr< Buffer > &buffer, ProcessingToken token=ProcessingToken::AUDIO_BACKEND)
Adds a processor to a buffer (dispatches based on buffer/token)

References add_processor(), and token.

+ Here is the call graph for this function: