Function layer_for

Source
fn layer_for(
    project: &Project,
    clip: &Clip,
    t: f64,
    w: u32,
    h: u32,
    pool: &mut DecoderPool,
    spare: &mut Vec<Frame>,
    text: &mut TextRasterizer,
    shapes: &mut ShapeRasterizer,
    comp: &mut Compositor,
    set: &mut LayerSet,
)
Expand description

One clip’s layer: video/images decode, text/shapes rasterise, a nested sequence is composited on the CPU. Kinds the renderer draws without a bitmap (Adjustment) or not at all (Audio) push nothing.