PrimitiveType

Enums

enum sfPrimitiveType

Types of primitives that an sfVertexArray can render.

Points and lines have no area, therefore their thickness will always be 1 pixel, regardless the current transform and view.

Values:

enumerator sfPoints

List of individual points.

enumerator sfLines

List of individual lines.

enumerator sfLineStrip

List of connected lines, a point uses the previous point to form a line.

enumerator sfTriangles

List of individual triangles.

enumerator sfTriangleStrip

List of connected triangles, a point uses the two previous points to form a triangle.

enumerator sfTriangleFan

List of connected triangles, a point uses the common center and the previous point to form a triangle.