UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
drawmode.h
Go to the documentation of this file.
1 #ifndef UGDK_GRAPHIC_DRAWMODE_H_
2 #define UGDK_GRAPHIC_DRAWMODE_H_
3 
4 namespace ugdk {
5 namespace graphic {
6 
7 class DrawMode {
8  public:
9  static DrawMode POINTS();
10  static DrawMode LINE_STRIP();
11  static DrawMode LINE_LOOP();
12  static DrawMode LINES();
14  static DrawMode LINES_ADJACENCY();
15  static DrawMode TRIANGLE_STRIP();
16  static DrawMode TRIANGLE_FAN();
17  static DrawMode TRIANGLES();
20 
21  int mode() const;
22 
23  private:
24  DrawMode(int);
25 
26  int mode_;
27 };
28 
29 } // namespace graphic
30 } // namespace ugdk
31 
32 #endif // UGDK_GRAPHIC_DRAWMODE_H_
Definition: drawmode.h:7
static DrawMode TRIANGLE_FAN()
static DrawMode TRIANGLE_STRIP()
static DrawMode LINE_STRIP()
static DrawMode LINE_LOOP()
Definition: animation.h:11
static DrawMode TRIANGLE_STRIP_ADJACENCY()
static DrawMode TRIANGLES()
static DrawMode LINES_ADJACENCY()
static DrawMode LINES()
static DrawMode POINTS()
static DrawMode LINE_STRIP_ADJACENCY()
static DrawMode TRIANGLES_ADJACENCY()