[gl] Vector/Matrix types.

This commit is contained in:
Dmitry Kunin 2014-01-09 14:00:26 +03:00 committed by Alex Zolotarev
parent cf403be977
commit 6112d763a9
2 changed files with 21 additions and 0 deletions

View file

@ -27,4 +27,14 @@ namespace GLConst
const glConst GLDoubleType = GL_DOUBLE;
const glConst GLActiveUniforms = GL_ACTIVE_UNIFORMS;
extern const glConst GLFloatVec2 = GL_FLOAT_VEC2;
extern const glConst GLFloatVec3 = GL_FLOAT_VEC3;
extern const glConst GLFloatVec4 = GL_FLOAT_VEC4;
extern const glConst GLIntVec2 = GL_INT_VEC2;
extern const glConst GLIntVec3 = GL_INT_VEC3;
extern const glConst GLIntVec4 = GL_INT_VEC4;
extern const glConst GLFloatMat4 = GL_FLOAT_MAT4;
}

View file

@ -34,6 +34,17 @@ namespace GLConst
extern const glConst GLFloatType;
extern const glConst GLDoubleType;
extern const glConst GLFloatVec2;
extern const glConst GLFloatVec3;
extern const glConst GLFloatVec4;
extern const glConst GLIntVec2;
extern const glConst GLIntVec3;
extern const glConst GLIntVec4;
extern const glConst GLFloatMat4;
// Program object parameter names
extern const glConst GLActiveUniforms;
}