Renders a connected series of line segments, with the last vertex connected to the first, forming a loop.
Renders a connected series of line segments. Each successive vertex is connected to the previous one.
Renders a series of disconnected line segments. Pairs of vertices define a separate line.
Renders a series of disconnected points. Each vertex is a point.
Renders a connected group of triangles that all share a common first vertex.
Renders a connected group of triangles. Each new vertex adds a new triangle, connecting to the two previous vertices.
Renders a series of disconnected triangles. Every three vertices define a new triangle.
An enumeration representing the different primitive types used for rendering in WebGL.