mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-15 01:14:30 +00:00
Doc comments for the functions this PR touches
This commit is contained in:
@@ -440,6 +440,7 @@ fn analyze_1080p_single_point_speed() {
|
||||
struct SampleFootage;
|
||||
|
||||
impl crate::render::ExprHost for SampleFootage {
|
||||
/// Reads the red channel of the layer's footage pixel at (0, 0) through the context's footage source, scaled to 0-100.
|
||||
fn eval(
|
||||
&self,
|
||||
ctx: &EvalCtx,
|
||||
|
||||
@@ -510,6 +510,7 @@ fn text_json(d: &TextDoc) -> J {
|
||||
doc
|
||||
}
|
||||
|
||||
/// Returns the property's value at the requested time, evaluating its expression unless `pre` is set.
|
||||
fn value(s: &Session, a: &J) -> R {
|
||||
let (cid, c, l) = layer_of(s, a)?;
|
||||
let uid = u(a, "uid").ok_or("missing uid")?;
|
||||
|
||||
Reference in New Issue
Block a user