]> git.tdb.fi Git - libs/gl.git/blob - source/primitivetype.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / primitivetype.h
1 #ifndef MSP_GL_PRIMITIVETYPE_H_
2 #define MSP_GL_PRIMITIVETYPE_H_
3
4 #include <msp/strings/lexicalcast.h>
5 #include "gl.h"
6
7 namespace Msp {
8 namespace GL {
9
10 enum PrimitiveType
11 {
12         POINTS         = GL_POINTS,
13         LINES          = GL_LINES,
14         LINE_STRIP     = GL_LINE_STRIP,
15         LINE_LOOP      = GL_LINE_LOOP,
16         TRIANGLES      = GL_TRIANGLES,
17         TRIANGLE_STRIP = GL_TRIANGLE_STRIP,
18         TRIANGLE_FAN   = GL_TRIANGLE_FAN
19 };
20
21 void operator>>(const LexicalConverter &, PrimitiveType &);
22
23 } // namespace GL
24 } // namespace Msp
25
26 #endif