Public Member Functions |
| | GL2Extensions (unsigned int contextID) |
| | GL2Extensions (const GL2Extensions &rhs) |
| void | lowestCommonDenominator (const GL2Extensions &rhs) |
| void | setupGL2Extensions (unsigned int contextID) |
| bool | isGlslSupported () const |
| | Does the GL driver support OpenGL Shading Language?
|
| float | getGlVersion () const |
| float | getLanguageVersion () const |
| void | setShaderObjectsSupported (bool flag) |
| bool | isShaderObjectsSupported () const |
| void | setVertexShaderSupported (bool flag) |
| bool | isVertexShaderSupported () const |
| void | setFragmentShaderSupported (bool flag) |
| bool | isFragmentShaderSupported () const |
| void | setLanguage100Supported (bool flag) |
| bool | isLanguage100Supported () const |
| void | setGeometryShader4Supported (bool flag) |
| bool | isGeometryShader4Supported () const |
| void | setTessellationShadersSupported (bool flag) |
| bool | areTessellationShadersSupported () const |
| void | setGpuShader4Supported (bool flag) |
| bool | isGpuShader4Supported () const |
| void | setUniformBufferObjectSupported (bool flag) |
| bool | isUniformBufferObjectSupported () |
| void | setGetProgramBinarySupported (bool flag) |
| bool | isGetProgramBinarySupported () |
| void | glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) const |
| void | glDrawBuffers (GLsizei n, const GLenum *bufs) const |
| void | glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) const |
| void | glStencilFuncSeparate (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) const |
| void | glStencilMaskSeparate (GLenum face, GLuint mask) const |
| void | glAttachShader (GLuint program, GLuint shader) const |
| void | glBindAttribLocation (GLuint program, GLuint index, const GLchar *name) const |
| void | glCompileShader (GLuint shader) const |
| GLuint | glCreateProgram (void) const |
| GLuint | glCreateShader (GLenum type) const |
| void | glDeleteProgram (GLuint program) const |
| void | glDeleteShader (GLuint shader) const |
| void | glDetachShader (GLuint program, GLuint shader) const |
| void | glDisableVertexAttribArray (GLuint index) const |
| void | glEnableVertexAttribArray (GLuint index) const |
| void | glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const |
| void | glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const |
| void | glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) const |
| GLint | glGetAttribLocation (GLuint program, const GLchar *name) const |
| void | glGetProgramiv (GLuint program, GLenum pname, GLint *params) const |
| void | glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) const |
| void | glGetShaderiv (GLuint shader, GLenum pname, GLint *params) const |
| void | glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) const |
| void | glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) const |
| GLint | glGetUniformLocation (GLuint program, const GLchar *name) const |
| void | glGetUniformfv (GLuint program, GLint location, GLfloat *params) const |
| void | glGetUniformiv (GLuint program, GLint location, GLint *params) const |
| void | glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params) const |
| void | glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params) const |
| void | glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params) const |
| void | glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid **pointer) const |
| GLboolean | glIsProgram (GLuint program) const |
| GLboolean | glIsShader (GLuint shader) const |
| void | glLinkProgram (GLuint program) const |
| void | glShaderSource (GLuint shader, GLsizei count, const GLchar **string, const GLint *length) const |
| void | glUseProgram (GLuint program) const |
| void | glUniform1f (GLint location, GLfloat v0) const |
| void | glUniform2f (GLint location, GLfloat v0, GLfloat v1) const |
| void | glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) const |
| void | glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) const |
| void | glUniform1i (GLint location, GLint v0) const |
| void | glUniform2i (GLint location, GLint v0, GLint v1) const |
| void | glUniform3i (GLint location, GLint v0, GLint v1, GLint v2) const |
| void | glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) const |
| void | glUniform1fv (GLint location, GLsizei count, const GLfloat *value) const |
| void | glUniform2fv (GLint location, GLsizei count, const GLfloat *value) const |
| void | glUniform3fv (GLint location, GLsizei count, const GLfloat *value) const |
| void | glUniform4fv (GLint location, GLsizei count, const GLfloat *value) const |
| void | glUniform1iv (GLint location, GLsizei count, const GLint *value) const |
| void | glUniform2iv (GLint location, GLsizei count, const GLint *value) const |
| void | glUniform3iv (GLint location, GLsizei count, const GLint *value) const |
| void | glUniform4iv (GLint location, GLsizei count, const GLint *value) const |
| void | glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) const |
| void | glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) const |
| void | glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) const |
| void | glValidateProgram (GLuint program) const |
| void | glVertexAttrib1d (GLuint index, GLdouble x) const |
| void | glVertexAttrib1dv (GLuint index, const GLdouble *v) const |
| void | glVertexAttrib1f (GLuint index, GLfloat x) const |
| void | glVertexAttrib1fv (GLuint index, const GLfloat *v) const |
| void | glVertexAttrib1s (GLuint index, GLshort x) const |
| void | glVertexAttrib1sv (GLuint index, const GLshort *v) const |
| void | glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y) const |
| void | glVertexAttrib2dv (GLuint index, const GLdouble *v) const |
| void | glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y) const |
| void | glVertexAttrib2fv (GLuint index, const GLfloat *v) const |
| void | glVertexAttrib2s (GLuint index, GLshort x, GLshort y) const |
| void | glVertexAttrib2sv (GLuint index, const GLshort *v) const |
| void | glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z) const |
| void | glVertexAttrib3dv (GLuint index, const GLdouble *v) const |
| void | glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z) const |
| void | glVertexAttrib3fv (GLuint index, const GLfloat *v) const |
| void | glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z) const |
| void | glVertexAttrib3sv (GLuint index, const GLshort *v) const |
| void | glVertexAttrib4Nbv (GLuint index, const GLbyte *v) const |
| void | glVertexAttrib4Niv (GLuint index, const GLint *v) const |
| void | glVertexAttrib4Nsv (GLuint index, const GLshort *v) const |
| void | glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) const |
| void | glVertexAttrib4Nubv (GLuint index, const GLubyte *v) const |
| void | glVertexAttrib4Nuiv (GLuint index, const GLuint *v) const |
| void | glVertexAttrib4Nusv (GLuint index, const GLushort *v) const |
| void | glVertexAttrib4bv (GLuint index, const GLbyte *v) const |
| void | glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) const |
| void | glVertexAttrib4dv (GLuint index, const GLdouble *v) const |
| void | glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) const |
| void | glVertexAttrib4fv (GLuint index, const GLfloat *v) const |
| void | glVertexAttrib4iv (GLuint index, const GLint *v) const |
| void | glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) const |
| void | glVertexAttrib4sv (GLuint index, const GLshort *v) const |
| void | glVertexAttrib4ubv (GLuint index, const GLubyte *v) const |
| void | glVertexAttrib4uiv (GLuint index, const GLuint *v) const |
| void | glVertexAttrib4usv (GLuint index, const GLushort *v) const |
| void | glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) const |
| GLuint | getCurrentProgram () const |
| bool | getProgramInfoLog (GLuint program, std::string &result) const |
| bool | getShaderInfoLog (GLuint shader, std::string &result) const |
| bool | getAttribLocation (const char *attribName, GLuint &slot) const |
| bool | getFragDataLocation (const char *fragDataName, GLuint &slot) const |
| void | glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) const |
| void | glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) const |
| void | glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) const |
| void | glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) const |
| void | glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) const |
| void | glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) const |
| void | glProgramParameteri (GLuint program, GLenum pname, GLint value) const |
| void | glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level) const |
| void | glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) const |
| void | glFramebufferTextureFace (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) const |
| void | glPatchParameteri (GLenum pname, GLint value) const |
| void | glPatchParameterfv (GLenum pname, const GLfloat *values) const |
| void | glGetUniformuiv (GLuint program, GLint location, GLuint *params) const |
| void | glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name) const |
| GLint | glGetFragDataLocation (GLuint program, const GLchar *name) const |
| void | glUniform1ui (GLint location, GLuint v0) const |
| void | glUniform2ui (GLint location, GLuint v0, GLuint v1) const |
| void | glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2) const |
| void | glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) const |
| void | glUniform1uiv (GLint location, GLsizei count, const GLuint *value) const |
| void | glUniform2uiv (GLint location, GLsizei count, const GLuint *value) const |
| void | glUniform3uiv (GLint location, GLsizei count, const GLuint *value) const |
| void | glUniform4uiv (GLint location, GLsizei count, const GLuint *value) const |
| void | glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar **uniformNames, GLuint *uniformIndices) const |
| void | glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) const |
| void | glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) const |
| GLuint | glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName) const |
| void | glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) const |
| void | glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) const |
| void | glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) const |
| void | glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) const |
| void | glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length) const |
Static Public Member Functions |
| static GL2Extensions * | Get (unsigned int contextID, bool createIfNotInitalized) |
| | Function to call to get the extension of a specified context.
|
| static void | Set (unsigned int contextID, GL2Extensions *extensions) |
| | allows users to override the extensions across graphics contexts.
|
Protected Types |
| typedef void(GL_APIENTRY * | BlendEquationSeparateProc )(GLenum modeRGB, GLenum modeAlpha) |
| typedef void(GL_APIENTRY * | DrawBuffersProc )(GLsizei n, const GLenum *bufs) |
| typedef void(GL_APIENTRY * | StencilOpSeparateProc )(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
| typedef void(GL_APIENTRY * | StencilFuncSeparateProc )(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) |
| typedef void(GL_APIENTRY * | StencilMaskSeparateProc )(GLenum face, GLuint mask) |
| typedef void(GL_APIENTRY * | AttachShaderProc )(GLuint program, GLuint shader) |
| typedef void(GL_APIENTRY * | BindAttribLocationProc )(GLuint program, GLuint index, const GLchar *name) |
| typedef void(GL_APIENTRY * | CompileShaderProc )(GLuint shader) |
| typedef GLuint(GL_APIENTRY * | CreateProgramProc )(void) |
| typedef GLuint(GL_APIENTRY * | CreateShaderProc )(GLenum type) |
| typedef void(GL_APIENTRY * | DeleteProgramProc )(GLuint program) |
| typedef void(GL_APIENTRY * | DeleteObjectARBProc )(GLuint program) |
| typedef void(GL_APIENTRY * | DeleteShaderProc )(GLuint shader) |
| typedef void(GL_APIENTRY * | DetachShaderProc )(GLuint program, GLuint shader) |
| typedef void(GL_APIENTRY * | DisableVertexAttribArrayProc )(GLuint index) |
| typedef void(GL_APIENTRY * | EnableVertexAttribArrayProc )(GLuint index) |
| typedef void(GL_APIENTRY * | GetActiveAttribProc )(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
| typedef void(GL_APIENTRY * | GetActiveUniformProc )(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
| typedef void(GL_APIENTRY * | GetAttachedShadersProc )(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) |
| typedef GLint(GL_APIENTRY * | GetAttribLocationProc )(GLuint program, const GLchar *name) |
| typedef void(GL_APIENTRY * | GetProgramivProc )(GLuint program, GLenum pname, GLint *params) |
| typedef void(GL_APIENTRY * | GetObjectParameterivARBProc )(GLuint program, GLenum pname, GLint *params) |
| typedef void(GL_APIENTRY * | GetProgramInfoLogProc )(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| typedef void(GL_APIENTRY * | GetInfoLogARBProc )(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| typedef void(GL_APIENTRY * | GetShaderivProc )(GLuint shader, GLenum pname, GLint *params) |
| typedef void(GL_APIENTRY * | GetShaderInfoLogProc )(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| typedef void(GL_APIENTRY * | GetShaderSourceProc )(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) |
| typedef GLint(GL_APIENTRY * | GetUniformLocationProc )(GLuint program, const GLchar *name) |
| typedef void(GL_APIENTRY * | GetUniformfvProc )(GLuint program, GLint location, GLfloat *params) |
| typedef void(GL_APIENTRY * | GetUniformivProc )(GLuint program, GLint location, GLint *params) |
| typedef void(GL_APIENTRY * | GetVertexAttribdvProc )(GLuint index, GLenum pname, GLdouble *params) |
| typedef void(GL_APIENTRY * | GetVertexAttribfvProc )(GLuint index, GLenum pname, GLfloat *params) |
| typedef void(GL_APIENTRY * | GetVertexAttribivProc )(GLuint index, GLenum pname, GLint *params) |
| typedef void(GL_APIENTRY * | GetVertexAttribPointervProc )(GLuint index, GLenum pname, GLvoid **pointer) |
| typedef GLboolean(GL_APIENTRY * | IsProgramProc )(GLuint program) |
| typedef GLboolean(GL_APIENTRY * | IsShaderProc )(GLuint shader) |
| typedef void(GL_APIENTRY * | LinkProgramProc )(GLuint program) |
| typedef void(GL_APIENTRY * | ShaderSourceProc )(GLuint shader, GLsizei count, const GLchar **string, const GLint *length) |
| typedef void(GL_APIENTRY * | UseProgramProc )(GLuint program) |
| typedef void(GL_APIENTRY * | Uniform1fProc )(GLint location, GLfloat v0) |
| typedef void(GL_APIENTRY * | Uniform2fProc )(GLint location, GLfloat v0, GLfloat v1) |
| typedef void(GL_APIENTRY * | Uniform3fProc )(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
| typedef void(GL_APIENTRY * | Uniform4fProc )(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
| typedef void(GL_APIENTRY * | Uniform1iProc )(GLint location, GLint v0) |
| typedef void(GL_APIENTRY * | Uniform2iProc )(GLint location, GLint v0, GLint v1) |
| typedef void(GL_APIENTRY * | Uniform3iProc )(GLint location, GLint v0, GLint v1, GLint v2) |
| typedef void(GL_APIENTRY * | Uniform4iProc )(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
| typedef void(GL_APIENTRY * | Uniform1fvProc )(GLint location, GLsizei count, const GLfloat *value) |
| typedef void(GL_APIENTRY * | Uniform2fvProc )(GLint location, GLsizei count, const GLfloat *value) |
| typedef void(GL_APIENTRY * | Uniform3fvProc )(GLint location, GLsizei count, const GLfloat *value) |
| typedef void(GL_APIENTRY * | Uniform4fvProc )(GLint location, GLsizei count, const GLfloat *value) |
| typedef void(GL_APIENTRY * | Uniform1ivProc )(GLint location, GLsizei count, const GLint *value) |
| typedef void(GL_APIENTRY * | Uniform2ivProc )(GLint location, GLsizei count, const GLint *value) |
| typedef void(GL_APIENTRY * | Uniform3ivProc )(GLint location, GLsizei count, const GLint *value) |
| typedef void(GL_APIENTRY * | Uniform4ivProc )(GLint location, GLsizei count, const GLint *value) |
| typedef void(GL_APIENTRY * | UniformMatrix2fvProc )(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| typedef void(GL_APIENTRY * | UniformMatrix3fvProc )(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| typedef void(GL_APIENTRY * | UniformMatrix4fvProc )(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| typedef void(GL_APIENTRY * | ValidateProgramProc )(GLuint program) |
| typedef void(GL_APIENTRY * | VertexAttrib1dProc )(GLuint index, GLdouble x) |
| typedef void(GL_APIENTRY * | VertexAttrib1dvProc )(GLuint index, const GLdouble *v) |
| typedef void(GL_APIENTRY * | VertexAttrib1fProc )(GLuint index, GLfloat x) |
| typedef void(GL_APIENTRY * | VertexAttrib1fvProc )(GLuint index, const GLfloat *v) |
| typedef void(GL_APIENTRY * | VertexAttrib1sProc )(GLuint index, GLshort x) |
| typedef void(GL_APIENTRY * | VertexAttrib1svProc )(GLuint index, const GLshort *v) |
| typedef void(GL_APIENTRY * | VertexAttrib2dProc )(GLuint index, GLdouble x, GLdouble y) |
| typedef void(GL_APIENTRY * | VertexAttrib2dvProc )(GLuint index, const GLdouble *v) |
| typedef void(GL_APIENTRY * | VertexAttrib2fProc )(GLuint index, GLfloat x, GLfloat y) |
| typedef void(GL_APIENTRY * | VertexAttrib2fvProc )(GLuint index, const GLfloat *v) |
| typedef void(GL_APIENTRY * | VertexAttrib2sProc )(GLuint index, GLshort x, GLshort y) |
| typedef void(GL_APIENTRY * | VertexAttrib2svProc )(GLuint index, const GLshort *v) |
| typedef void(GL_APIENTRY * | VertexAttrib3dProc )(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
| typedef void(GL_APIENTRY * | VertexAttrib3dvProc )(GLuint index, const GLdouble *v) |
| typedef void(GL_APIENTRY * | VertexAttrib3fProc )(GLuint index, GLfloat x, GLfloat y, GLfloat z) |
| typedef void(GL_APIENTRY * | VertexAttrib3fvProc )(GLuint index, const GLfloat *v) |
| typedef void(GL_APIENTRY * | VertexAttrib3sProc )(GLuint index, GLshort x, GLshort y, GLshort z) |
| typedef void(GL_APIENTRY * | VertexAttrib3svProc )(GLuint index, const GLshort *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4NbvProc )(GLuint index, const GLbyte *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4NivProc )(GLuint index, const GLint *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4NsvProc )(GLuint index, const GLshort *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4NubProc )(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) |
| typedef void(GL_APIENTRY * | VertexAttrib4NubvProc )(GLuint index, const GLubyte *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4NuivProc )(GLuint index, const GLuint *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4NusvProc )(GLuint index, const GLushort *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4bvProc )(GLuint index, const GLbyte *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4dProc )(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| typedef void(GL_APIENTRY * | VertexAttrib4dvProc )(GLuint index, const GLdouble *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4fProc )(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| typedef void(GL_APIENTRY * | VertexAttrib4fvProc )(GLuint index, const GLfloat *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4ivProc )(GLuint index, const GLint *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4sProc )(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) |
| typedef void(GL_APIENTRY * | VertexAttrib4svProc )(GLuint index, const GLshort *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4ubvProc )(GLuint index, const GLubyte *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4uivProc )(GLuint index, const GLuint *v) |
| typedef void(GL_APIENTRY * | VertexAttrib4usvProc )(GLuint index, const GLushort *v) |
| typedef void(GL_APIENTRY * | VertexAttribPointerProc )(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) |
| typedef void(GL_APIENTRY * | UniformMatrix2x3fvProc )(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| typedef void(GL_APIENTRY * | UniformMatrix3x2fvProc )(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| typedef void(GL_APIENTRY * | UniformMatrix2x4fvProc )(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| typedef void(GL_APIENTRY * | UniformMatrix4x2fvProc )(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| typedef void(GL_APIENTRY * | UniformMatrix3x4fvProc )(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| typedef void(GL_APIENTRY * | UniformMatrix4x3fvProc )(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| typedef void(GL_APIENTRY * | ProgramParameteriProc )(GLuint program, GLenum pname, GLint value) |
| typedef void(GL_APIENTRY * | FramebufferTextureProc )(GLenum target, GLenum attachment, GLuint texture, GLint level) |
| typedef void(GL_APIENTRY * | FramebufferTextureLayerProc )(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
| typedef void(GL_APIENTRY * | FramebufferTextureFaceProc )(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) |
| typedef void(GL_APIENTRY * | PatchParameteriProc )(GLenum pname, GLint value) |
| typedef void(GL_APIENTRY * | PatchParameterfvProc )(GLenum pname, const GLfloat *values) |
| typedef void(GL_APIENTRY * | GetUniformuivProc )(GLuint program, GLint location, GLuint *params) |
| typedef void(GL_APIENTRY * | BindFragDataLocationProc )(GLuint program, GLuint color, const GLchar *name) |
| typedef GLint(GL_APIENTRY * | GetFragDataLocationProc )(GLuint program, const GLchar *name) |
| typedef void(GL_APIENTRY * | Uniform1uiProc )(GLint location, GLuint v0) |
| typedef void(GL_APIENTRY * | Uniform2uiProc )(GLint location, GLuint v0, GLuint v1) |
| typedef void(GL_APIENTRY * | Uniform3uiProc )(GLint location, GLuint v0, GLuint v1, GLuint v2) |
| typedef void(GL_APIENTRY * | Uniform4uiProc )(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
| typedef void(GL_APIENTRY * | Uniform1uivProc )(GLint location, GLsizei count, const GLuint *value) |
| typedef void(GL_APIENTRY * | Uniform2uivProc )(GLint location, GLsizei count, const GLuint *value) |
| typedef void(GL_APIENTRY * | Uniform3uivProc )(GLint location, GLsizei count, const GLuint *value) |
| typedef void(GL_APIENTRY * | Uniform4uivProc )(GLint location, GLsizei count, const GLuint *value) |
| typedef void(GL_APIENTRY * | GetUniformIndicesProc )(GLuint program, GLsizei uniformCount, const GLchar **uniformNames, GLuint *uniformIndices) |
| typedef void(GL_APIENTRY * | GetActiveUniformsivProc )(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) |
| typedef void(GL_APIENTRY * | GetActiveUniformNameProc )(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) |
| typedef GLuint(GL_APIENTRY * | GetUniformBlockIndexProc )(GLuint program, const GLchar *uniformBlockName) |
| typedef void(GL_APIENTRY * | GetActiveUniformBlockivProc )(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) |
| typedef void(GL_APIENTRY * | GetActiveUniformBlockNameProc )(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) |
| typedef void(GL_APIENTRY * | UniformBlockBindingProc )(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) |
| typedef void(GL_APIENTRY * | GetProgramBinaryProc )(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) |
| typedef void(GL_APIENTRY * | ProgramBinaryProc )(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length) |
Protected Member Functions |
| | ~GL2Extensions () |
| typedef | GLuint (GL_APIENTRY *GetHandleProc)(GLenum pname) |
Protected Attributes |
| float | _glVersion |
| float | _glslLanguageVersion |
| bool | _isShaderObjectsSupported |
| bool | _isVertexShaderSupported |
| bool | _isFragmentShaderSupported |
| bool | _isLanguage100Supported |
| bool | _isGeometryShader4Supported |
| bool | _areTessellationShadersSupported |
| bool | _isGpuShader4Supported |
| bool | _isUniformBufferObjectSupported |
| bool | _isGetProgramBinarySupported |
| BlendEquationSeparateProc | _glBlendEquationSeparate |
| DrawBuffersProc | _glDrawBuffers |
| StencilOpSeparateProc | _glStencilOpSeparate |
| StencilFuncSeparateProc | _glStencilFuncSeparate |
| StencilMaskSeparateProc | _glStencilMaskSeparate |
| AttachShaderProc | _glAttachShader |
| BindAttribLocationProc | _glBindAttribLocation |
| CompileShaderProc | _glCompileShader |
| CreateProgramProc | _glCreateProgram |
| CreateShaderProc | _glCreateShader |
| DeleteProgramProc | _glDeleteProgram |
| DeleteShaderProc | _glDeleteShader |
| DetachShaderProc | _glDetachShader |
| DisableVertexAttribArrayProc | _glDisableVertexAttribArray |
| EnableVertexAttribArrayProc | _glEnableVertexAttribArray |
| GetActiveAttribProc | _glGetActiveAttrib |
| GetActiveUniformProc | _glGetActiveUniform |
| GetAttachedShadersProc | _glGetAttachedShaders |
| GetAttribLocationProc | _glGetAttribLocation |
| GetProgramivProc | _glGetProgramiv |
| GetProgramInfoLogProc | _glGetProgramInfoLog |
| GetShaderivProc | _glGetShaderiv |
| GetShaderInfoLogProc | _glGetShaderInfoLog |
| GetShaderSourceProc | _glGetShaderSource |
| GetUniformLocationProc | _glGetUniformLocation |
| GetUniformfvProc | _glGetUniformfv |
| GetUniformivProc | _glGetUniformiv |
| GetVertexAttribdvProc | _glGetVertexAttribdv |
| GetVertexAttribfvProc | _glGetVertexAttribfv |
| GetVertexAttribivProc | _glGetVertexAttribiv |
| GetVertexAttribPointervProc | _glGetVertexAttribPointerv |
| IsProgramProc | _glIsProgram |
| IsShaderProc | _glIsShader |
| LinkProgramProc | _glLinkProgram |
| ShaderSourceProc | _glShaderSource |
| UseProgramProc | _glUseProgram |
| Uniform1fProc | _glUniform1f |
| Uniform2fProc | _glUniform2f |
| Uniform3fProc | _glUniform3f |
| Uniform4fProc | _glUniform4f |
| Uniform1iProc | _glUniform1i |
| Uniform2iProc | _glUniform2i |
| Uniform3iProc | _glUniform3i |
| Uniform4iProc | _glUniform4i |
| Uniform1fvProc | _glUniform1fv |
| Uniform2fvProc | _glUniform2fv |
| Uniform3fvProc | _glUniform3fv |
| Uniform4fvProc | _glUniform4fv |
| Uniform1ivProc | _glUniform1iv |
| Uniform2ivProc | _glUniform2iv |
| Uniform3ivProc | _glUniform3iv |
| Uniform4ivProc | _glUniform4iv |
| UniformMatrix2fvProc | _glUniformMatrix2fv |
| UniformMatrix3fvProc | _glUniformMatrix3fv |
| UniformMatrix4fvProc | _glUniformMatrix4fv |
| ValidateProgramProc | _glValidateProgram |
| VertexAttrib1dProc | _glVertexAttrib1d |
| VertexAttrib1dvProc | _glVertexAttrib1dv |
| VertexAttrib1fProc | _glVertexAttrib1f |
| VertexAttrib1fvProc | _glVertexAttrib1fv |
| VertexAttrib1sProc | _glVertexAttrib1s |
| VertexAttrib1svProc | _glVertexAttrib1sv |
| VertexAttrib2dProc | _glVertexAttrib2d |
| VertexAttrib2dvProc | _glVertexAttrib2dv |
| VertexAttrib2fProc | _glVertexAttrib2f |
| VertexAttrib2fvProc | _glVertexAttrib2fv |
| VertexAttrib2sProc | _glVertexAttrib2s |
| VertexAttrib2svProc | _glVertexAttrib2sv |
| VertexAttrib3dProc | _glVertexAttrib3d |
| VertexAttrib3dvProc | _glVertexAttrib3dv |
| VertexAttrib3fProc | _glVertexAttrib3f |
| VertexAttrib3fvProc | _glVertexAttrib3fv |
| VertexAttrib3sProc | _glVertexAttrib3s |
| VertexAttrib3svProc | _glVertexAttrib3sv |
| VertexAttrib4NbvProc | _glVertexAttrib4Nbv |
| VertexAttrib4NivProc | _glVertexAttrib4Niv |
| VertexAttrib4NsvProc | _glVertexAttrib4Nsv |
| VertexAttrib4NubProc | _glVertexAttrib4Nub |
| VertexAttrib4NubvProc | _glVertexAttrib4Nubv |
| VertexAttrib4NuivProc | _glVertexAttrib4Nuiv |
| VertexAttrib4NusvProc | _glVertexAttrib4Nusv |
| VertexAttrib4bvProc | _glVertexAttrib4bv |
| VertexAttrib4dProc | _glVertexAttrib4d |
| VertexAttrib4dvProc | _glVertexAttrib4dv |
| VertexAttrib4fProc | _glVertexAttrib4f |
| VertexAttrib4fvProc | _glVertexAttrib4fv |
| VertexAttrib4ivProc | _glVertexAttrib4iv |
| VertexAttrib4sProc | _glVertexAttrib4s |
| VertexAttrib4svProc | _glVertexAttrib4sv |
| VertexAttrib4ubvProc | _glVertexAttrib4ubv |
| VertexAttrib4uivProc | _glVertexAttrib4uiv |
| VertexAttrib4usvProc | _glVertexAttrib4usv |
| VertexAttribPointerProc | _glVertexAttribPointer |
| GetInfoLogARBProc | _glGetInfoLogARB |
| GetObjectParameterivARBProc | _glGetObjectParameterivARB |
| DeleteObjectARBProc | _glDeleteObjectARB |
| GetHandleProc | _glGetHandleARB |
| UniformMatrix2x3fvProc | _glUniformMatrix2x3fv |
| UniformMatrix3x2fvProc | _glUniformMatrix3x2fv |
| UniformMatrix2x4fvProc | _glUniformMatrix2x4fv |
| UniformMatrix4x2fvProc | _glUniformMatrix4x2fv |
| UniformMatrix3x4fvProc | _glUniformMatrix3x4fv |
| UniformMatrix4x3fvProc | _glUniformMatrix4x3fv |
| ProgramParameteriProc | _glProgramParameteri |
| FramebufferTextureProc | _glFramebufferTexture |
| FramebufferTextureLayerProc | _glFramebufferTextureLayer |
| FramebufferTextureFaceProc | _glFramebufferTextureFace |
| PatchParameteriProc | _glPatchParameteri |
| PatchParameterfvProc | _glPatchParameterfv |
| GetUniformuivProc | _glGetUniformuiv |
| BindFragDataLocationProc | _glBindFragDataLocation |
| GetFragDataLocationProc | _glGetFragDataLocation |
| Uniform1uiProc | _glUniform1ui |
| Uniform2uiProc | _glUniform2ui |
| Uniform3uiProc | _glUniform3ui |
| Uniform4uiProc | _glUniform4ui |
| Uniform1uivProc | _glUniform1uiv |
| Uniform2uivProc | _glUniform2uiv |
| Uniform3uivProc | _glUniform3uiv |
| Uniform4uivProc | _glUniform4uiv |
| GetUniformIndicesProc | _glGetUniformIndices |
| GetActiveUniformsivProc | _glGetActiveUniformsiv |
| GetActiveUniformNameProc | _glGetActiveUniformName |
| GetUniformBlockIndexProc | _glGetUniformBlockIndex |
| GetActiveUniformBlockivProc | _glGetActiveUniformBlockiv |
| GetActiveUniformBlockNameProc | _glGetActiveUniformBlockName |
| UniformBlockBindingProc | _glUniformBlockBinding |
| GetProgramBinaryProc | _glGetProgramBinary |
| ProgramBinaryProc | _glProgramBinary |