Microsoft DirectX 8.1 (Visual Basic) |
This template is instantiated on a per-mesh basis, holding information about which vertices in the mesh are duplicates of each other. Duplicates result when a vertex sits on a smoothing group or material boundary. The purpose of this template is to allow the loader to determine which vertices exhibiting different peripheral parameters are actually the same vertexes in the model. Certain applications (mesh simplification for example) can make use of this information.
<B8D65549-D7C9-4995-89CF-53A9A8B031E3>
Member name | Type | Optional array size | Optional data objects |
---|---|---|---|
nIndices | DWORD | None | |
nOriginalVertices | DWORD | ||
indices | array DWORD | nIndices |
The number of vertices in the mesh before any duplication occurred is nOriginalVertices. The value indices[n] holds the vertex index that vertex[n] in the vertex array for the mesh would have had if no duplication had occurred. So any indices in this array that are the same indicate duplicate vertices.