How a geometry's vertices assemble into primitives.
The MVP tier (ยง120) draws filled shapes and debug/wire lines, so the two
modes are "triangles" and "lines"; strips, fans, and points are not
exposed because nothing in this phase emits them (a fan is expanded into
indexed triangles by circleGeometry2D instead โ see primitives.ts).
The mode fixes how many indices โ or, unindexed, how many vertices โ make one
primitive: three for "triangles", two for "lines".
How a geometry's vertices assemble into primitives.
The MVP tier (ยง120) draws filled shapes and debug/wire lines, so the two modes are
"triangles"and"lines"; strips, fans, and points are not exposed because nothing in this phase emits them (a fan is expanded into indexed triangles by circleGeometry2D instead โ seeprimitives.ts). The mode fixes how many indices โ or, unindexed, how many vertices โ make one primitive: three for"triangles", two for"lines".