D3DXWeldEpsilonsFLAGS

Options for welding together vertices.

typedef enum D3DXWeldEpsilonsFLAGS
{
    D3DXWeldEpsilons_WELDALL = 1,
    D3DXWeldEpsilons_WELDPARTIALMATCHES = 2,
    D3DXWeldEpsilons_DONOTREMOVEVERTICES = 4,
    D3DXWeldEpsilons_DONOTSPLIT = 8,
} D3DXWeldEpsilonsFLAGS, *LPD3DXWeldEpsilonsFLAGS;

Constants

D3DXWeldEpsilons_WELDALL
Weld together all vertices that are at the same location. Using this flag avoids an epsilon comparison between vertex components.
D3DXWeldEpsilons_WELDPARTIALMATCHES
If a given vertex component is within epsilon, modify partially matched vertices so that both components are identical. If all components are equal, remove one of the vertices.
D3DXWeldEpsilons_DONOTREMOVEVERTICES
Instructs the weld to allow only modifications to vertices and not removal. This flag is valid only if D3DXWeldEpsilons_WELDPARTIALMATCHES is set. It is useful to modify vertices to be equal, but not to allow vertices to be removed.
D3DXWeldEpsilons_DONOTSPLIT
Instructs the weld not to split vertices that are in separate attribute groups. When the ID3DXMesh::Optimize, ID3DXPMesh::Optimize, or ID3DXPMesh::OptimizeBaseLOD methods are called with the D3DXMESHOPT_ATTRSORT flag, then the D3DXMESHOPT_DONOTSPLIT flag will also be set. Setting this flag can slow down software vertex processing.

See Also

D3DXWeldEpsilons, D3DXWeldVertices