OpenGL Primitives


GL_POINTS individual points
GL_LINES pairs of vertices interpreted as individual line segments
GL_LINES_ADJACENCY Dashed lines are for adjacency information and are not drawn.
GL_LINE_STRIP series of connected line segments
GL_LINE_STRIP_ADJACENCY Dashed lines are for adjacency information and are not drawn.
GL_LINE_LOOP same as above, with a segment added between last and first vertices
GL_POLYGON
(deprecated)
boundary of a simple, convex polygon
GL_TRIANGLES triples of vertices interpreted as triangles
GL_TRIANGLE_STRIP linked strip of triangles
GL_TRIANGLES_ADJACENCY Dashed lines define triangles that are for adjacency information and are not drawn.
GL_TRIANGLE_STRIP_ADJACENCY Dashed lines define triangles that are for adjacency information and are not drawn.
GL_TRIANGLE_FAN linked fan of triangles
GL_QUADS
(deprecated)
quadruples of vertices interpreted as four-sided polygons
GL_QUAD_STRIP
(deprecated)
linked strip of quadrilaterals

[top] [Home]