ReadonlyexecuteRuns the pass. Called once per RenderGraph.execute while the pass is enabled, with the graph's renderer and the frame's context.
ReadonlykindRequired, and the only value — this is the discriminant.
Optional ReadonlytargetThe surface this pass is declared to write, for validation and RenderGraph.describe. Absent means "the screen, or unknown".
A pass that drives the renderer itself — the escape hatch (see the module header).
Declaring CustomRenderPass.target is optional but recommended: it is what lets a later pass's sampling of that surface be validated, and what RenderGraph.describe prints. Nothing enforces that the function actually writes it — the graph cannot see inside, which is exactly what the
"opaque"validation issue says.