API

Interface RenderPass

A frame-graph pass that begins a render pass into its bound RenderTarget, runs an execute callback, then ends the pass.

interface RenderPass {
    clear: boolean;
    clearColor: GPUColorDict;
    name: string;
}

Hierarchy (View Summary)

Index
clear: boolean

True → loadOp "clear", false → "load" (overlay mode).

clearColor: GPUColorDict

Per-frame mutable state. RenderTask mirrors live scene state (e.g. scene.clearColor for auto-filled tasks) into these fields before iterating its passes.

name: string