• | points-mode causes each element to generate a point. |
• | lines-mode causes each pair of elements to generate a disconnected line. |
• | line-strip-mode causes each consecutive pair of elements to generate a connected strip of lines. |
• | line-loop-mode causes each consecutive pair of elements to generate a connected loop of lines, with an extra line connecting the last and first elements. |
• | triangles-mode causes every 3 elements to generate an independent triangle. |
• | triangle-strip-mode causes every consecutive group of 3 elements to generate a connected strip of triangles. |
• | triangle-fan-mode causes a triangle to be generated from the first element and every subsequent consecutive pair of elements in a fan pattern. |