Mesh.WeldVertices Method

Language:

Welds together replicated vertices that have equal attributes.

Overload List

public void WeldVertices(WeldEpsilonsFlags, WeldEpsilons, GraphicsStream, out GraphicsStream);
public void WeldVertices(WeldEpsilonsFlags, WeldEpsilons, GraphicsStream, out GraphicsStream, out int, out GraphicsStream);
public void WeldVertices(WeldEpsilonsFlags, WeldEpsilons, int[]);
public void WeldVertices(WeldEpsilonsFlags, WeldEpsilons, int[], out GraphicsStream);
public void WeldVertices(WeldEpsilonsFlags, WeldEpsilons, int[], out int, out int, out GraphicsStream);

Remarks

This method compares logically-welded vertices and combines those with similar components, such as normals or texture coordinates within param_WeldEpsilons_epsilons. It uses the provided adjacency information to determine which points are replicated, and performs an epsilon comparison to merge vertices. Those vertices with equal positions must already have been calculated and represented by point-representative data.

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft Direct3D could not allocate sufficient memory to complete the call.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center