LAB 177 / INDIRECT RENDERING

Draw less. Ask the buffer.

A compute pass writes the instance count into a structured command buffer. The next render consumes that count without a CPU draw-call update.

—Initializing

Preparing the indirect command and instance swarm.

LIVE PARAMETERS

Shape the command

The WebGPU path writes a five-word draw command through a TSL struct. The CPU panel is a labeled reference; it does not claim WebGL2 indirect-buffer parity.

Allocated—
Command count—
Draw calls—
Frames—
Command words—
Mode—

The route will identify whether the current renderer is consuming a GPU indirect command or a CPU reference.

Lifecycle: allocate → compute command → render indirect → release.

LAB 177 / DRAW INDIRECT