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

◆ dispatch_to()

BufferOperation MayaFlux::Kriya::BufferOperation::dispatch_to ( OperationFunction  handler,
Buffers::ProcessingToken  token = Buffers::ProcessingToken::AUDIO_BACKEND 
)
static

Create a dispatch operation for external processing.

Parameters
handlerFunction to handle data with cycle information
tokenProcessing domain for the operation
Returns
BufferOperation configured for external dispatch

Definition at line 438 of file BufferOperation.cpp.

440{
442 op.m_dispatch_handler = std::move(handler);
443 return op;
444}
BufferOperation(OpType type, BufferCapture capture)
@ DISPATCH
Dispatch to external handler for custom processing.

References DISPATCH, and m_dispatch_handler.

Referenced by MayaFlux::Kriya::ChimeraBuilder::start().

+ Here is the caller graph for this function: