Skip to content

Function: compileCorePlan() ​

compileCorePlan(log, registry, upTo?): object

Defined in: packages/core/src/render.ts:233

The core plan of a truth render of ops[0..upTo), when every stage runs in the core, and otherwise the stages that run outside it. What a render manifest records, and what a C2PA manifest definition is made from.

Parameters ​

log ​

EditLog

registry ​

Registry

upTo? ​

number

Returns ​

coreStages ​

coreStages: Stage[]

The core stages in order, whatever runs between them.

kernels ​

kernels: object[]

plan? ​

optional plan?: RenderPlan

The one core plan, when every stage runs in the core.