Uniforms and Instancing

Uniforms, Dynamic Offsets and Instancing

Most frames change a little data for many objects: a camera, a highlight, a transform per book. This section covers the ways WebGPU gets that data to shaders, from one uniform struct to thousands of instances in one draw, and measures what each costs on the CPU.

Subsections