LAB 179 / GEOMETRY + MATERIALS

One mesh. Many surfaces.

Geometry groups map contiguous index ranges to slots in a material array. Change the partition and watch the draw contract update.

Initializing material-array study—
Preparing indexed geometry and group ranges…

Every index belongs to exactly one group. A material edit changes a slot; a partition edit changes group topology and draw-call count.

LAB 179 / MATERIAL ARRAYS