Indexed draw.
OptionalinstanceCount: numberOptionalfirstIndex: numberOptionalbaseVertex: numberOptionalfirstInstance: numberCloses the pass. Every beginRenderPass owes exactly one of these.
Binds a bind group, optionally at dynamic offsets.
OptionaldynamicOffsets: readonly number[]Binds the index buffer.
Optionaloffset: numberSelects the pipeline subsequent draws use.
Confines writes — including this backend's clear draws — to a rectangle.
Sets the stencil reference the pipeline's compare and "replace" op
read (§67, WP-R1.3). Pass state, initially 0 — the renderer mirrors it
per frame and issues this only when a stencil-carrying draw needs a
different value, so a clipless frame records none at all.
Binds a vertex buffer into a slot of the pipeline's vertex layout.
Optionaloffset: numberSets the draw rectangle, in framebuffer pixels with a top-left origin
(see webgpu-renderer.ts for the flip out of §48's bottom-left rectangle).
The commands a render pass records.