enum Gloop::Primitive
Overview
Primitive shape used for drawing vertices.
Defined in:
gloop/primitive.crEnum Members
-
Points =
0_u32
-
Lines =
1_u32
-
LineLoop =
2_u32
-
LineStrip =
3_u32
-
Triangles =
4_u32
-
TriangleStrip =
5_u32
-
TriangleFan =
6_u32
-
LinesAdjacency =
10_u32
-
LineStripAdjacency =
11_u32
-
TrianglesAdjacency =
12_u32
-
TriangleStripAdjacency =
13_u32
-
Patches =
14_u32
-
Quads =
7_u32
Instance Method Summary
- #line_loop?
- #line_strip?
- #line_strip_adjacency?
- #lines?
- #lines_adjacency?
- #patches?
- #points?
- #quads?
-
#to_unsafe
Converts to an OpenGL enum.
- #triangle_fan?
- #triangle_strip?
- #triangle_strip_adjacency?
- #triangles?
- #triangles_adjacency?