Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

D3DTRIFLAG_ Values

Edge flags
D3DTRIFLAG_EDGEENABLE1
Edge defined by v1–v2.
D3DTRIFLAG_EDGEENABLE2
Edge defined by v2–v3.
D3DTRIFLAG_EDGEENABLE3
Edge defined by v3–v1.
D3DTRIFLAG_EDGEENABLETRIANGLE
All edges.
Strip and fan flags
D3DTRIFLAG_EVEN
The v1–v2 edge of the current triangle is adjacent to the v3–v1 edge of the previous triangle; that is, v1 is the previous v1, and v2 is the previous v3.
D3DTRIFLAG_ODD
The v1–v2 edge of the current triangle is adjacent to the v2–v3 edge of the previous triangle; that is, v1 is the previous v3, and v2 is the previous v2.
D3DTRIFLAG_START
Begin the strip or fan, loading all three vertices.
D3DTRIFLAG_STARTFLAT(len)
If this triangle is culled, also cull the specified number of subsequent triangles. This length must be greater than zero and less than 30.


© 1996 Microsoft Corporation. All rights reserved.