makeVerticesUnique()
Modifies the mesh’s vertex buffers so that no vertices are shared by multiple faces.
Declaration
func makeVerticesUnique()Discussion
If the same entry in the mesh’s vertex buffer is used in multiple faces (according to the index buffers of the mesh’s submeshes), this method duplicates that vertex data and modifies the vertex and index buffers accordingly. If such operations require a larger vertex or index buffer, this method uses the allocator property of the buffer in question to allocate new storage.