Function: sceneIndexDType()
ts
function sceneIndexDType(vertexCount): "uint32" | "uint16";Defined in: scene/BinaryAssets.ts:95
The narrowest index dtype for a mesh: uint16 when every vertex index fits (at most 65,536 vertices), otherwise uint32.
Parameters
vertexCount
number
Returns
"uint32" | "uint16"