API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeMeshIndexFormat

@codexo/exojs / rendering / stable

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.

0
props
0
methods
0
events
Import
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.

Definition1
"uint16" | "uint32"
Source