for best performace, use AFTER triangle remapping see description on RemapVertices() on how to apply this map

Parameters

pIndices

[in] index buffer

pVertMap

[out] vertex remap, allocate NumVerts unsigned ints before calling dst vertex index = pVertMap[src vertex index] NOTE: if a vertex is not referenced by any triangle, the value 0xFFFFFFFF will be stored as the destination index!