Function optimizeIndexData

  • Optimize an index buffer. If the index buffer is already optimal, it is reused.

    Parameters

    • indexData: Uint8Array | Uint16Array | Uint32Array
    • curIndexDataType: MeshIndexType
    • indexCount: number
    • vertexCount: number

    Returns IndexDataTypeMapping

Generated using TypeDoc