PrimitiveType

Types of primitives that a VertexArray can render.

Points and lines have no area, therefore their thickness will always be 1 pixel, regarldess the current transform and view.

Values

ValueMeaning
Points

List of individual points.

Lines

List of individual lines

LinesStrip

List of connected lines; a point uses the previous point to form a line.

Triangles

List of individual triangles.

TrianglesStrip

List of connected triangles; a point uses the two previous points to form a triangle.

TrianglesFan

List of connected triangles; a point uses the common center and the previous point to form a triangle.

Quads

List of individual quads.

See Also

Meta

Authors

Laurent Gomila, Jeremy DeHaan