Meshes are lists of arbitrary vertices. These vertices can be connected in different ways, leading to different shapes like lines and triangles.

pointsDraw each vertex as a single point.
linesThe vertices represent a list of line segments. Each pair of vertices will have a line drawn between them.
linestripThe first two vertices have a line drawn between them, and each vertex after that will be connected to the previous vertex with a line.
lineloopSimilar to linestrip, except the last vertex is connected back to the first.
stripThe first three vertices define a triangle. Each vertex after that creates a triangle using the new vertex and last two vertices.
trianglesEach set of three vertices represents a discrete triangle.
fanDraws a set of triangles. Each one shares the first vertex as a common point, leading to a fan-like shape.

See also