The D3dTriangle Class contains the following fields.
flags | Flags describing which edges of the triangle to enable (this information is useful only in wire-frame mode). This value can be a combination of the following edge and strip flags:
Edge Flags Edge defined by v1-v2. Edge defined by v2-v3. Edge defined by v3-v1. All edges. Strip and Fan Flags 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. 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. 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. |
v1 | Vertex describing the triangle. |
v2 | Vertex describing the triangle. |
v3 | Vertex describing the triangle. |