XNA4 Primitive Type Enumerations

http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.primitivetype(v=xnagamestudio.40).aspx


















Member name Description

TriangleList The data is ordered as a sequence of triangles; each triangle is described by three new vertices. Back-face culling is affected by the current winding-order render state.

TriangleStrip The data is ordered as a sequence of triangles; each triangle is described by two new vertices and one vertex from the previous triangle. The back-face culling flag is flipped automatically on even-numbered triangles.

LineList The data is ordered as a sequence of line segments; each line segment is described by two new vertices. The count may be any positive integer.

LineStrip The data is ordered as a sequence of line segments; each line segment is described by one new vertex and the last vertex from the previous line seqment. The count may be any positive integer.




 

Leave a Reply

Your email address will not be published. Required fields are marked *