Enum PrimitiveTopology
Defines the primitive topology for vertex assembly.
public enum PrimitiveTopology
Fields
LineList = 2Individual line segments. Each group of 2 vertices forms a line.
LineStrip = 3Connected line segments where each vertex (after the first) forms a line with the preceding vertex.
PointList = 4Individual points. Each vertex is rendered as a point.
TriangleList = 0Vertices are assembled into triangles. Each group of 3 vertices forms a triangle.
TriangleStrip = 1Vertices form a strip of triangles where each vertex (after the first two) forms a triangle with the two preceding vertices.