Interface FrameGraphContextOptions
interface FrameGraphContextOptions {
clearColor?: GPUColorDict;
name?: string;
update?: (deltaMs: number) => void;
}
clearColor?: GPUColorDict;
name?: string;
update?: (deltaMs: number) => void;
}
Properties
Optionalclear Color
clearColor?: GPUColorDict
Context clear color metadata; individual tasks still control their own render-target clears.
Optionalname
name?: string
Label used for diagnostics and GPU resource naming.
Optionalupdate
update?: (deltaMs: number) => void
Per-frame callback invoked before the frame graph executes; use it to update uniforms or other task inputs.
Options for a standalone frame-graph rendering context.