The two index element types WebGL 2 accepts (UNSIGNED_SHORT and UNSIGNED_INT). Builders pick the narrower one whenever the vertex count fits — see primitives.ts.
UNSIGNED_SHORT
UNSIGNED_INT
primitives.ts
The two index element types WebGL 2 accepts (
UNSIGNED_SHORTandUNSIGNED_INT). Builders pick the narrower one whenever the vertex count fits — seeprimitives.ts.