forked from organicmaps/organicmaps-tmp
[gl] Vector/Matrix types.
This commit is contained in:
parent
cf403be977
commit
6112d763a9
2 changed files with 21 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue