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

◆ attach_quick_process() [4/5]

std::shared_ptr< BufferProcessor > MayaFlux::Buffers::BufferProcessingControl::attach_quick_process ( GraphicsProcessingFunction  processor,
const std::shared_ptr< Buffer > &  buffer,
ProcessingToken  token = ProcessingToken::GRAPHICS_BACKEND 
)

Definition at line 239 of file BufferProcessingControl.cpp.

243{
244 auto quick_process = std::make_shared<QuickProcess<GraphicsProcessingFunction>>(std::move(processor));
245 add_processor(quick_process, buffer, token);
246 return quick_process;
247}
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: