API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeMeshIndexFormat
Width of a mesh's index stream. `'uint16'` is the default and the cheaper one - half the index bytes to upload and to keep resident - and covers any mesh addressing at most 65 536 vertices. `'uint32'` exists for generated or merged geometry that legitimately exceeds that: batched tile, trail, terrain or imported SVG meshes. The values are the strings WebGPU accepts verbatim; WebGL2 maps them onto its own `UNSIGNED_SHORT`/`UNSIGNED_INT` element types.
import { MeshIndexFormat } from '@codexo/exojs'Width of a mesh's index stream.
`'uint16'` is the default and the cheaper one - half the index bytes to upload and to keep resident - and covers any mesh addressing at most 65 536 vertices. `'uint32'` exists for generated or merged geometry that legitimately exceeds that: batched tile, trail, terrain or imported SVG meshes.
The values are the strings WebGPU accepts verbatim; WebGL2 maps them onto its own `UNSIGNED_SHORT`/`UNSIGNED_INT` element types.
"uint16" | "uint32"