- Preparing search index...
- The search index is not available
gypsum-mesh
Function optimizeIndexData
- optimizeIndexData(indexData: Uint8Array | Uint16Array | Uint32Array, curIndexDataType: MeshIndexType, indexCount: number, vertexCount: number): IndexDataTypeMapping
-
Parameters
-
indexData: Uint8Array | Uint16Array | Uint32Array
-
curIndexDataType: MeshIndexType
-
indexCount: number
-
vertexCount: number
Optimize an index buffer. If the index buffer is already optimal, it is reused.