CleanType Enumeration (Microsoft.DirectX.Direct3D)

Defines vertex operations to perform in preparation for mesh cleaning.

Definition

Visual Basic Public Enum CleanType
C# public enum CleanType
C++ public enum class CleanType
JScript public enum CleanType

Members

Member Value Description
Simplification 3 Use the Skinning or BowTies flags only as required to prevent infinite loops during mesh operations.
Optimization 1 Use the BackFacing flag only as required to prevent infinite loops during mesh operations.
Skinning 1 Use the BackFacing flag only as required to prevent infinite loops during mesh operations. Typically used to avoid breaking skinning operations.
BowTies 2 If a vertex is the apex of two triangle fans (a bowtie) and mesh operations will affect one of the fans, then split the shared vertex into two new vertices.
BackFacing 1 Merge triangles that share the same vertex indices but have face normals pointing in opposite directions (back-facing triangles). Unless vertex indices are corrected so that the triangles have the same vertex winding order, mesh adjacency data from the two triangles may conflict.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492