Enum PrimitiveType
Defines how vertex data is ordered.
public enum PrimitiveType
Fields
LineList = 2
Renders the vertices as a list of isolated straight line segments; the count may be any positive integer.
LineStrip = 3
Renders the vertices as a single polyline; the count may be any positive integer.
PointList = 4
Renders the vertices as individual points; the count may be any positive integer.
TriangleList = 0
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 = 1
Renders the vertices as a triangle strip. The back-face culling flag is flipped automatically on even-numbered triangles.