pub enum StepOp {
Clip,
Media {
source_id: SourceId,
start: MediaTime,
},
Generator(Generator),
Effect {
input: usize,
effect: ClipEffect,
},
Transition {
from: usize,
to: usize,
effect: ClipEffect,
progress: Animated<f32>,
},
Transform {
input: usize,
transform: VisualProperties,
},
Merge {
layers: Vec<StepLayer>,
},
Matte {
input: usize,
matte: usize,
mode: MatteMode,
},
ShapeMask {
input: usize,
masks: Vec<ShapeMask>,
},
}Expand description
The operation of a Step. Inputs are indices of earlier steps.
Variants§
Clip
The picture of the clip showing the composition.
Media
A host-supplied source at start plus the composition time.
Generator(Generator)
A picture the engine draws: a generator node, or a media node naming a generated source.
Effect
A registered one-input effect.
Transition
A registered transition at an explicit progress.
Fields
§
effect: ClipEffectThe transition.
Transform
The input placed by a transform.
Merge
Layers composited over transparency, bottom first.
Matte
The input kept where a second image says.
Fields
ShapeMask
The input kept inside shapes.
Trait Implementations§
impl StructuralPartialEq for StepOp
Auto Trait Implementations§
impl Freeze for StepOp
impl RefUnwindSafe for StepOp
impl Send for StepOp
impl Sync for StepOp
impl Unpin for StepOp
impl UnsafeUnpin for StepOp
impl UnwindSafe for StepOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more