pub fn plan_composition(
composition: &Composition,
compositions: &[Composition],
sources: &[MediaSource],
canvas: (u32, u32),
) -> Result<CompositionPlan, PlanError>Expand description
Compiles composition’s output into steps as a clip’s composition, where clip nodes draw the
clip’s picture. compositions resolves group nodes and sources resolves media nodes.
The project must be valid (alpha2_model::Project::validate).
§Errors
Returns PlanError when there is no output, a needed input is unconnected, or the plan
nests too deep or grows past MAX_PLAN_BYTES.