Companion

Properties

Link copied to clipboard

Line loop primitive where each vertex (or index) after the first connects a line to the previous vertex, and the last vertex implicitly connects to the first.

Link copied to clipboard

Line strip primitive where each vertex (or index) after the first connects a line to the previous vertex.

Link copied to clipboard

Lines primitive where each two vertices (or indices) is a line segment. Line segments are not necessarily connected.

Link copied to clipboard

Points primitive where each vertex (or index) is a separate point.

Link copied to clipboard

Triangle fan primitive where each vertex (or index) after the first two connect to the previous vertex and the first vertex forming a triangle. For example, this can be used to model a cone or circle.

Link copied to clipboard

Triangle strip primitive where each vertex (or index) after the first two connect to the previous two vertices forming a triangle. For example, this can be used to model a wall.

Link copied to clipboard

Triangles primitive where each three vertices (or indices) is a triangle. Triangles do not necessarily share edges.