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

◆ dispatch_to()

BufferOperation MayaFlux::Kriya::BufferOperation::dispatch_to ( OperationFunction  handler)
static

Create a dispatch operation for external processing.

Parameters
handlerFunction to handle data with cycle information
Returns
BufferOperation configured for external dispatch

Definition at line 140 of file BufferOperation.cpp.

141{
143 op.m_dispatch_handler = std::move(handler);
144 return op;
145}
BufferOperation(OpType type, BufferCapture capture)
@ DISPATCH
Dispatch to external handler for custom processing.

References DISPATCH, and m_dispatch_handler.