EZ_TRIANGLE_STRIP
A triangle strip is series of triangles connected along shared
edges. It is defined by a series of vertices. The first three
vertices define the first triangle. Each subsequent vertex
defines a new triangle using that vertex along with two vertices
from the previous triangle. For example, if
EZ_Begin(EZ_TRIANGLE_STRIP)
and EZ_End()
, then
it defines three triangles,
EZ_TRIANGLE_FAN
A triangle fan is a series of triangles share all share
the same first vertex. For example, if
EZ_Begin(EZ_TRIANGLE_FAN)
and EZ_End()
, then
it defines three triangles,
EZ_TRIANGLES
This primitive specifies a series of individual triangles.
The triangles does not share vertices. For example,
if EZ_Begin(EZ_TRIANGLES)
and EZ_End()
, then
it defines two triangles,
EZ_QUAD_STRIP
This primitive specifies a quadrilateral strip, a
series of edge-sharing quadrilaterals. The first 4 vertices
define the first quad. Each subsequent two vertices define
a new quad using the last two vertices and the two new vertices,
with the order of the two new vertices swapped. For example,
the sequence
EZ_QUADS
This primitive specifies a series of individual quads.
The quads do not share vertices. For example,
the sequence
EZ_LINE_STRIP
This primitive defines a polyline.
EZ_LINES
This primitive defines a series of line segments. For example,
the sequence
EZ_LINE_LOOP
This primitive defines a closed polyline. It is the same as
EZ_LINE_STRIP
with the first vertex appended to the
list of specified vertices.
EZ_POINTS
This primitive specifies a sequence of points.