XNA Primitive Type Enumerations

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
























  Member name Description

LineList Renders the vertices as a list of isolated straight line segments. Calls that use this primitive type fail if the count is less than two or is odd.

LineStrip Renders the vertices as a single polyline. Calls that use this primitive type fail if the count is less than two.

PointList Renders the vertices as a collection of isolated points. This value is unsupported for indexed primitives.

TriangleFan Renders the vertices as a triangle fan.

TriangleList Renders the specified vertices as a sequence of isolated triangles. Each group of three vertices defines a separate triangle. Back-face culling is affected by the current winding-order render state.

TriangleStrip Renders the vertices as a triangle strip. The back-face culling flag is flipped automatically on even-numbered triangles.




 

Leave a Reply