Skip to content

ZenFG TypeScript API / snapshot / root

root ​

Reads, validates, migrates, and writes portable ZenFG FrameGraph Snapshot 1.2 documents, with explicit migration of 1.1.

Use parseFrameGraphSnapshot for JSON text and decodeFrameGraphSnapshot for already-parsed values. Both return a discriminated result instead of throwing for untrusted input, and both canonicalize supported legacy captures to FrameGraphSnapshot.

Classes ​

Type Aliases ​

Functions ​

References ​

FRAME_GRAPH_SNAPSHOT_FORMAT ​

Re-exports FRAME_GRAPH_SNAPSHOT_FORMAT


FRAME_GRAPH_SNAPSHOT_MAX_EXTENSION_DEPTH ​

Re-exports FRAME_GRAPH_SNAPSHOT_MAX_EXTENSION_DEPTH


FRAME_GRAPH_SNAPSHOT_VERSION ​

Re-exports FRAME_GRAPH_SNAPSHOT_VERSION

Open source / MIT licensed