enum SF::PrimitiveType
Overview
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.
Defined in:
graphics/obj.crEnum 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)
-
LinesStrip =
2 -
DEPRECATED Use
LineStripinstead -
TrianglesStrip =
4 -
DEPRECATED Use
TriangleStripinstead -
TrianglesFan =
5 -
DEPRECATED Use
TriangleFaninstead
Instance Method Summary
- #line_strip?
- #lines?
- #lines_strip?
- #points?
- #quads?
- #triangle_fan?
- #triangle_strip?
- #triangles?
- #triangles_fan?
- #triangles_strip?