Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Options for welding together vertices.
Syntax
enum _D3DXWELDEPSILONSFLAGS {
D3DXWELDEPSILONS_WELDALL = 1,
D3DXWELDEPSILONS_WELDPARTIALMATCHES = 2,
D3DXWELDEPSILONS_DONOTREMOVEVERTICES = 4,
D3DXWELDEPSILONS_DONOTSPLIT = 8
};
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 method is called with the D3DXMESHOPT_ATTRSORT flag, then the D3DXMESHOPT_DONOTSPLIT flag will also be set. Setting this flag can slow down software vertex processing.
Requirements
Requirement | Value |
---|---|
Header |
|
See also