Mesh.Clean Method

Language:

Cleans a mesh, preparing it for simplification.

Overload List

public static Mesh Clean(CleanType, Mesh, GraphicsStream, GraphicsStream);
public static Mesh Clean(CleanType, Mesh, GraphicsStream, GraphicsStream, out string);
public static Mesh Clean(CleanType, Mesh, int[], out int);
public static Mesh Clean(CleanType, Mesh, int[], out int, out string);

Remarks

This method cleans the mesh by adding another vertex where two fans of triangles share the same vertex.

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