enum SF::PrimitiveType
#
Types of primitives that a SF::VertexArray
can render
Points and lines have no area, therefore their thickness will always be 1 pixel, regardless the current transform and view.
Members#
Points = 0
#
List of individual points
Lines = 1
#
List of individual lines
LineStrip = 2
#
List of connected lines, a point uses the previous point to form a line
Triangles = 3
#
List of individual triangles
TriangleStrip = 4
#
List of connected triangles, a point uses the two previous points to form a triangle
TriangleFan = 5
#
List of connected triangles, a point uses the common center and the previous point to form a triangle
Quads = 6
#
List of individual quads (deprecated, don't work with OpenGL ES)
TrianglesStrip = 4
#
Deprecated
Use TriangleStrip
instead
TrianglesFan = 5
#
Deprecated
Use TriangleFan
instead