src/glShared.h

changeset 1173
6cd85b28f43b
parent 1151
0eddb5bcf25b
child 1177
8661b9237ed5
equal deleted inserted replaced
1172:3defab8cfd93 1173:6cd85b28f43b
73 MAKE_ITERABLE_ENUM(VboClass) 73 MAKE_ITERABLE_ENUM(VboClass)
74 74
75 enum class VboSubclass 75 enum class VboSubclass
76 { 76 {
77 Surfaces, 77 Surfaces,
78 NormalColors, 78 RegularColors,
79 PickColors, 79 PickColors,
80 BfcFrontColors, 80 BfcFrontColors,
81 BfcBackColors, 81 BfcBackColors,
82 RandomColors, 82 RandomColors,
83 Normals, 83 Normals,
88 88
89 enum 89 enum
90 { 90 {
91 NumVbos = EnumLimits<VboClass>::Count * EnumLimits<VboSubclass>::Count 91 NumVbos = EnumLimits<VboClass>::Count * EnumLimits<VboSubclass>::Count
92 }; 92 };
93
94 // KDevelop doesn't seem to understand some VBO stuff
95 #ifdef IN_IDE_PARSER
96 using GLint = int;
97 using GLsizei = int;
98 using GLenum = unsigned int;
99 using GLuint = unsigned int;
100 void glBindBuffer (GLenum, GLuint);
101 void glGenBuffers (GLuint, GLuint*);
102 void glDeleteBuffers (GLuint, GLuint*);
103 void glBufferData (GLuint, GLuint, void*, GLuint);
104 void glBufferSubData (GLenum, GLint, GLsizei, void*);
105 #endif

mercurial