Share via


Mesh.WeldVertices Method ()

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.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.