Merge pull request #423 from cdinhoo/codex/effect-input-control-fixes
This commit is contained in:
@@ -299,8 +299,14 @@ pub struct LayerPixels {
|
||||
|
||||
/// Services the renderer offers effects that look beyond their own pixels.
|
||||
pub trait EffectHost: Sync {
|
||||
/// Pixels entering the effect stack, in effect space, before any effects. For an
|
||||
/// adjustment layer this is the composition below it, in the effect working space.
|
||||
fn original(&self) -> Option<&Buf> {
|
||||
None
|
||||
}
|
||||
|
||||
/// Layer `id` of the same composition at the current comp time. `masks_and_effects`
|
||||
/// selects "Effects & Masks" over "Source". `None` for missing/self/recursive references.
|
||||
/// selects "Effects & Masks" over "Source". `None` for missing/recursive references; own Source reads are supported.
|
||||
fn layer(&self, id: u64, masks_and_effects: bool) -> Option<LayerPixels>;
|
||||
/// `frames` stereo sample frames (interleaved L R …) of layer `id`'s audio starting at comp
|
||||
/// time `start` seconds, at `rate` Hz. `None` when the layer has no audio.
|
||||
|
||||
Reference in New Issue
Block a user