View on GitHub

DSFML

dsfml.graphics.primitivetype



enum PrimitiveType: int;
Types of primitives that a VertexArray can render.

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

Authors:
Laurent Gomila, Jeremy DeHaan

See Also:


http:
//www.sfml-dev.org/documentation/2.0/group__graphics.php#ga5ee56ac1339984909610713096283b1b

Points
List of individual points.

Lines
List of individual lines

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

Triangles
List of individual triangles.

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

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

Quads
List of individual quads.