Value | Meaning |
---|---|
primitivePoints0 | Primitive to draw consists of points. |
primitiveLines1 | Primitive to draw consists of lines. |
primitiveLineStrip2 | Primitive to draw consists of a line strip from start to end. |
primitiveLineLoop3 | Primitive to draw consists of a line loop (a line strip with a line between the last and the first vertex). |
primitiveTriangles4 | Primitive to draw consists of triangles. |
primitiveTriangleStrip5 | Primitive to draw consists of a triangle strip (the last 3 vertices are always combined to make a triangle). |
primitiveTriangleFan6 | Primitive to draw consists of a triangle strip (the last 2 vertices are always combined with the first to make a triangle). |
primitiveMax7 | Marks the primitive types endpoint. used internally. |
Page generated by adrdox