Enumeration DRAW_MODES

Various webgl draw modes. These can be used to specify which GL drawMode to use under certain situations and renderers.

PIXI

Enumeration Members

LINE_LOOP: 2

To draw a series of connected line segments. It also joins the first and last vertices to form a loop.

2
LINE_STRIP: 3

To draw a series of connected line segments.

3
LINES: 1

To draw a series of unconnected line segments (individual lines).

1
POINTS: 0

To draw a series of points.

0
TRIANGLE_FAN: 6

To draw a series of connected triangles sharing the first vertex in a fan-like fashion.

6
TRIANGLE_STRIP: 5

To draw a series of connected triangles in strip fashion.

5
TRIANGLES: 4

To draw a series of separate triangles.

4