Members
(static, constant) LINE_LOOP :Number
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.
Type:
- Number
- Source:
(static, constant) LINE_STRIP :Number
Line strip primitive where each vertex (or index) after the first connects a line to the previous vertex.
Type:
- Number
- Source:
(static, constant) LINES :Number
Lines primitive where each two vertices (or indices) is a line segment. Line segments are not necessarily connected.
Type:
- Number
- Source:
(static, constant) POINTS :Number
Points primitive where each vertex (or index) is a separate point.
Type:
- Number
- Source:
(static, constant) TRIANGLE_FAN :Number
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.
Type:
- Number
- Source:
(static, constant) TRIANGLE_STRIP :Number
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.
Type:
- Number
- Source:
(static, constant) TRIANGLES :Number
Triangles primitive where each three vertices (or indices) is a triangle. Triangles do not necessarily share edges.
Type:
- Number
- Source: