Microsoft DirectX 9.0 SDK Update (October 2004)

Mesh.WeldVertices Method

Language:

Note: This documentation is preliminary and is subject to change.

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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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