Skip to main content

MAX_PLAN_BYTES

Constant MAX_PLAN_BYTES 

Source
pub const MAX_PLAN_BYTES: u64 = _ /* 268_435_456u64 */;
Expand description

Most bytes the compiled composition plans of one project hold together, as Steps estimate them: each step, its node path, and the heap its settings use (keyframes, parameter and resource names, masks, layers, gradient stops). A project’s plans are those of every composition a clip or composition source shows; past this, none of them is drawn (PlanError::TooLarge). The steps are what validation counts, at most MAX_INLINED_NODES; this bounds how large each may be, which inlining multiplies.