PrimitiveType

Types of primitives that a $(VERTEXARRAY_LINK 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.

LineStrip

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

Triangles

List of individual triangles.

TriangleStrip

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

TriangleFan

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

Quads

List of individual quads.

LinesStripLineStrip

Deprecated: List of individual triangles.

TrianglesStripTriangleStrip

Deprecated: List of connected triangles.

TrianglesFanTriangleFan

Deprecated: List of connected triangles.

Meta