API

Interface FrameGraphContextOptions

Options for a standalone frame-graph rendering context.

interface FrameGraphContextOptions {
    clearColor?: GPUColorDict;
    name?: string;
    update?: (deltaMs: number) => void;
}
Index
clearColor?: GPUColorDict

Context clear color metadata; individual tasks still control their own render-target clears.

name?: string

Label used for diagnostics and GPU resource naming.

update?: (deltaMs: number) => void

Per-frame callback invoked before the frame graph executes; use it to update uniforms or other task inputs.