@lakuna/ugl

    Enumeration Primitive

    Types of primitives that can be rasterized.

    Index

    Enumeration Members

    LINE_LOOP: 2

    Draws a line between each vertex, then draws a line between the first and last vertices.

    LINE_STRIP: 3

    Draws a line between each vertex.

    LINES: 1

    Draws lines between each pair of vertices.

    POINTS: 0

    Draws a dot at each vertex.

    TRIANGLE_FAN: 6

    Draws triangles from each vertex, the previous vertex, and the first vertex, starting at the third vertex.

    TRIANGLE_STRIP: 5

    Draws triangles from each vertex and the previous two, starting at the third vertex.

    TRIANGLES: 4

    Draws triangles between every three vertices.

    MMNEPVFCICPMFPCPTTAAATR