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

◆ route_to_container() [2/2]

BufferOperation MayaFlux::Kriya::BufferOperation::route_to_container ( std::shared_ptr< Kakshya::DynamicVideoStream >  target,
std::optional< Portal::Graphics::RenderConfig >  render = std::nullopt 
)
static

Append frames to a dynamic video stream.

Parameters
renderDraws the stream in a window when given. The pipeline hooks the stream to a display buffer through its IOManager when it starts, as the audio route attaches its writer through the BufferManager, so the pipeline needs an IOManager and the stream must already hold data or have its ring enabled.

Definition at line 393 of file BufferOperation.cpp.

396{
398 op.m_target_graphics_stream = std::move(target);
399 op.m_render = std::move(render);
400 return op;
401}
BufferOperation(OpType type, BufferCapture capture)
@ ROUTE
Route data to destination (buffer or container)
@ GRAPHICS_BACKEND
Standard graphics processing backend configuration.

References MayaFlux::Buffers::GRAPHICS_BACKEND, m_render, m_target_graphics_stream, and ROUTE.