PrimitiveTypeΒΆ

enum PrimitiveType : System.Enum, System.IComparable, System.IFormattable, System.IConvertible

Defines how vertex data is ordered.

PrimitiveType 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.

PrimitiveType TriangleStrip

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

PrimitiveType LineList

Renders the vertices as a list of isolated straight line segments; the count may be any positive integer.

PrimitiveType LineStrip

Renders the vertices as a single polyline; the count may be any positive integer.