Skip to content

ZenFG TypeScript API / snapshot / root / FrameGraphSnapshotRoot

Type Alias: FrameGraphSnapshotRoot

FrameGraphSnapshotRoot = { nodeId: FrameGraphSnapshotEntityId; range?: never; reason: "side-effect"; resolution?: never; resourceId?: never; } | { nodeId?: never; range?: FrameGraphSnapshotResourceRange; reason: Exclude<FrameGraphSnapshotRootReason, "side-effect">; resolution?: FrameGraphSnapshotRootResolution; resourceId: FrameGraphSnapshotEntityId; }

Defined in: packages/snapshot/src/types.ts:267

Missing range/resolution is permitted only with explicit Legacy provenance.

Open source / MIT licensed