Defines how data in a vertex stream is interpreted during a draw call.
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
public enum PrimitiveType
| ||Member name||Description|
|LineList||Renders the vertices as a list of isolated straight line segments; the count may be any positive integer. |
|LineStrip||Renders the vertices as a single polyline; the count may be any positive integer.|
|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.|
Using triangle strips or triangle fans is often more efficient than using triangle lists because fewer vertices are duplicated.
Xbox 360, Windows XP SP2, Windows Vista
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback