X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fdatatype.h;fp=source%2Fdatatype.h;h=b44644acfa183562a1ca653ebb4f802fd18eb205;hp=0000000000000000000000000000000000000000;hb=ceae2a27dfc58310c5bab7e3aa3fedf0fa9a1f49;hpb=8f2430208cfa7bb9dc5bd655dde88acc21db54d2 diff --git a/source/datatype.h b/source/datatype.h new file mode 100644 index 00000000..b44644ac --- /dev/null +++ b/source/datatype.h @@ -0,0 +1,31 @@ +/* $Id$ + +This file is part of libmspgl +Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + +#ifndef MSP_GL_TYPES_H_ +#define MSP_GL_TYPES_H_ + +#include "gl.h" + +namespace Msp { +namespace GL { + +enum DataType +{ + BYTE = GL_BYTE, + UNSIGNED_BYTE = GL_UNSIGNED_BYTE, + SHORT = GL_SHORT, + UNSIGNED_SHORT = GL_UNSIGNED_SHORT, + INT = GL_INT, + UNSIGNED_INT = GL_UNSIGNED_INT, + FLOAT = GL_FLOAT, + DOUBLE = GL_DOUBLE +}; + +} // namespace GL +} // namespace Msp + +#endif