Function apply_effects

Source
pub fn apply_effects(
    preset: &EffectPreset,
    project: &mut Project,
    clip: u64,
) -> bool
Expand description

Apply a preset to clip: a graph replaces the clip’s graph (with fresh node ids, so a later add_node cannot hand out one the preset already used), a stack replaces the effects and drops the graph, which would otherwise keep shadowing them. False when the JSON is not what it claims.