1ALLEGRO_PRIM_TYPE(3)                                      ALLEGRO_PRIM_TYPE(3)
2
3
4

NAME

6       ALLEGRO_PRIM_TYPE - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_primitives.h>
10
11              typedef enum ALLEGRO_PRIM_TYPE
12

DESCRIPTION

14       Enumerates the types of primitives this addon can draw.
15
16       • ALLEGRO_PRIM_POINT_LIST  -  A  list  of points, each vertex defines a
17         point
18
19       • ALLEGRO_PRIM_LINE_LIST - A list of lines, sequential  pairs  of  ver‐
20         tices define disjointed lines
21
22       • ALLEGRO_PRIM_LINE_STRIP  -  A strip of lines, sequential vertices de‐
23         fine a strip of lines
24
25       • ALLEGRO_PRIM_LINE_LOOP - Like a line strip, except  at  the  end  the
26         first and the last vertices are also connected by a line
27
28       • ALLEGRO_PRIM_TRIANGLE_LIST - A list of triangles, sequential triplets
29         of vertices define disjointed triangles
30
31       • ALLEGRO_PRIM_TRIANGLE_STRIP - A strip of triangles,  sequential  ver‐
32         tices define a strip of triangles
33
34       • ALLEGRO_PRIM_TRIANGLE_FAN  -  A fan of triangles, all triangles share
35         the first vertex
36
37
38
39Allegro reference manual                                  ALLEGRO_PRIM_TYPE(3)
Impressum