![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API. More...
#include <qopenglfunctions.h>
Public Types | |
| enum | OpenGLFeature { Multitexture = 0x0001 , Shaders = 0x0002 , Buffers = 0x0004 , Framebuffers = 0x0008 , BlendColor = 0x0010 , BlendEquation = 0x0020 , BlendEquationSeparate = 0x0040 , BlendFuncSeparate = 0x0080 , BlendSubtract = 0x0100 , CompressedTextures = 0x0200 , Multisample = 0x0400 , StencilSeparate = 0x0800 , NPOTTextures = 0x1000 , NPOTTextureRepeat = 0x2000 , FixedFunctionPipeline = 0x4000 , TextureRGFormats = 0x8000 , MultipleRenderTargets = 0x10000 , BlendEquationAdvanced = 0x20000 } |
| This enum defines OpenGL and OpenGL ES features whose presence may depend on the implementation. More... | |
Public Member Functions | |
| QOpenGLFunctions () | |
| Constructs a default function resolver. | |
| QOpenGLFunctions (QOpenGLContext *context) | |
| Constructs a function resolver for context. | |
| ~QOpenGLFunctions () | |
| Destroys this function resolver. | |
| QOpenGLFunctions::OpenGLFeatures | openGLFeatures () const |
| Returns the set of features that are present on this system's OpenGL implementation. | |
| bool | hasOpenGLFeature (QOpenGLFunctions::OpenGLFeature feature) const |
Returns true if feature is present on this system's OpenGL implementation; false otherwise. | |
| void | initializeOpenGLFunctions () |
| Initializes OpenGL function resolution for the current context. | |
| void | glBindTexture (GLenum targettarget, GLuint texturetexture) |
| Convenience function that calls glBindTexture(target, texture). | |
| void | glBlendFunc (GLenum sfactor, GLenum dfactor) |
| Convenience function that calls glBlendFunc(sfactor, dfactor). | |
| void | glClear (GLbitfield maskmask) |
| Convenience function that calls glClear(mask). | |
| void | glClearColor (GLclampf red, GLclampf greengreen, GLclampf blueblue, GLclampf alphaalpha) |
| Convenience function that calls glClearColor(red, green, blue, alpha). | |
| void | glClearStencil (GLint ss) |
| Convenience function that calls glClearStencil(s). | |
| void | glColorMask (GLboolean red, GLboolean greengreen, GLboolean blueblue, GLboolean alphaalpha) |
| Convenience function that calls glColorMask(red, green, blue, alpha). | |
| void | glCopyTexImage2D (GLenum targettarget, GLint levellevel, GLenum internalformatinternalformat, GLint xx, GLint yy, GLsizei widthwidth, GLsizei heightheight, GLint borderborder) |
| Convenience function that calls glCopyTexImage2D(target, level, internalformat, x, y, width, height, border). | |
| void | glCopyTexSubImage2D (GLenum targettarget, GLint levellevel, GLint xoffsetxoffset, GLint yoffsetyoffset, GLint xx, GLint yy, GLsizei widthwidth, GLsizei heightheight) |
| Convenience function that calls glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height). | |
| void | glCullFace (GLenum modemode) |
| Convenience function that calls glCullFace(mode). | |
| void | glDeleteTextures (GLsizei nn, const GLuint *texturestextures) |
| Convenience function that calls glDeleteTextures(n, textures). | |
| void | glDepthFunc (GLenum funcfunc) |
| Convenience function that calls glDepthFunc(func). | |
| void | glDepthMask (GLboolean flag) |
| Convenience function that calls glDepthMask(flag). | |
| void | glDisable (GLenum capcap) |
| Convenience function that calls glDisable(cap). | |
| void | glDrawArrays (GLenum modemode, GLint firstfirst, GLsizei countcount) |
| Convenience function that calls glDrawArrays(mode, first, count). | |
| void | glDrawElements (GLenum modemode, GLsizei countcount, GLenum typetype, const GLvoid *indicesindices) |
| Convenience function that calls glDrawElements(mode, count, type, indices). | |
| void | glEnable (GLenum capcap) |
| Convenience function that calls glEnable(cap). | |
| void | glFinish () |
| Convenience function that calls glFinish(). | |
| void | glFlush () |
| Convenience function that calls glFlush(). | |
| void | glFrontFace (GLenum modemode) |
| Convenience function that calls glFrontFace(mode). | |
| void | glGenTextures (GLsizei nn, GLuint *texturestextures) |
| Convenience function that calls glGenTextures(n, textures). | |
| void | glGetBooleanv (GLenum pnamepname, GLboolean *paramsparams) |
| Convenience function that calls glGetBooleanv(pname, params). | |
| GLenum | glGetError () |
| Convenience function that calls glGetError(). | |
| void | glGetFloatv (GLenum pnamepname, GLfloat *paramsparams) |
| Convenience function that calls glGetFloatv(pname, params). | |
| void | glGetIntegerv (GLenum pnamepname, GLint *paramsparams) |
| Convenience function that calls glGetIntegerv(pname, params). | |
| const GLubyte * | glGetString (GLenum namename) |
| Convenience function that calls glGetString(name). | |
| void | glGetTexParameterfv (GLenum targettarget, GLenum pnamepname, GLfloat *paramsparams) |
| Convenience function that calls glGetTexParameterfv(target, pname, params). | |
| void | glGetTexParameteriv (GLenum targettarget, GLenum pnamepname, GLint *paramsparams) |
| Convenience function that calls glGetTexParameteriv(target, pname, params). | |
| void | glHint (GLenum targettarget, GLenum modemode) |
| Convenience function that calls glHint(target, mode). | |
| GLboolean | glIsEnabled (GLenum capcap) |
| Convenience function that calls glIsEnabled(cap). | |
| GLboolean | glIsTexture (GLuint texturetexture) |
| Convenience function that calls glIsTexture(texture). | |
| void | glLineWidth (GLfloat widthwidth) |
| Convenience function that calls glLineWidth(width). | |
| void | glPixelStorei (GLenum pnamepname, GLint paramparam) |
| Convenience function that calls glPixelStorei(pname, param). | |
| void | glPolygonOffset (GLfloat factor, GLfloat unitsunits) |
| Convenience function that calls glPolygonOffset(factor, units). | |
| void | glReadPixels (GLint xx, GLint yy, GLsizei widthwidth, GLsizei heightheight, GLenum formatformat, GLenum typetype, GLvoid *pixelspixels) |
| Convenience function that calls glReadPixels(x, y, width, height, format, type, pixels). | |
| void | glScissor (GLint xx, GLint yy, GLsizei widthwidth, GLsizei heightheight) |
| Convenience function that calls glScissor(x, y, width, height). | |
| void | glStencilFunc (GLenum funcfunc, GLint refref, GLuint maskmask) |
| Convenience function that calls glStencilFunc(func, ref, mask). | |
| void | glStencilMask (GLuint maskmask) |
| Convenience function that calls glStencilMask(mask). | |
| void | glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) |
| Convenience function that calls glStencilOp(fail, zfail, zpass). | |
| void | glTexImage2D (GLenum targettarget, GLint levellevel, GLint internalformatinternalformat, GLsizei widthwidth, GLsizei heightheight, GLint borderborder, GLenum formatformat, GLenum typetype, const GLvoid *pixelspixels) |
| Convenience function that calls glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels). | |
| void | glTexParameterf (GLenum targettarget, GLenum pnamepname, GLfloat paramparam) |
| Convenience function that calls glTexParameterf(target, pname, param). | |
| void | glTexParameterfv (GLenum targettarget, GLenum pnamepname, const GLfloat *paramsparams) |
| Convenience function that calls glTexParameterfv(target, pname, params). | |
| void | glTexParameteri (GLenum targettarget, GLenum pnamepname, GLint paramparam) |
| Convenience function that calls glTexParameteri(target, pname, param). | |
| void | glTexParameteriv (GLenum targettarget, GLenum pnamepname, const GLint *paramsparams) |
| Convenience function that calls glTexParameteriv(target, pname, params). | |
| void | glTexSubImage2D (GLenum targettarget, GLint levellevel, GLint xoffsetxoffset, GLint yoffsetyoffset, GLsizei widthwidth, GLsizei heightheight, GLenum formatformat, GLenum typetype, const GLvoid *pixelspixels) |
| Convenience function that calls glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels). | |
| void | glViewport (GLint xx, GLint yy, GLsizei widthwidth, GLsizei heightheight) |
| Convenience function that calls glViewport(x, y, width, height). | |
| void | glActiveTexture (GLenum texturetexture) |
| Convenience function that calls glActiveTexture(texture). | |
| void | glAttachShader (GLuint programprogram, GLuint shadershader) |
| Convenience function that calls glAttachShader(program, shader). | |
| void | glBindAttribLocation (GLuint programprogram, GLuint indexindex, const char *namename) |
| Convenience function that calls glBindAttribLocation(program, index, name). | |
| void | glBindBuffer (GLenum targettarget, GLuint bufferbuffer) |
| Convenience function that calls glBindBuffer(target, buffer). | |
| void | glBindFramebuffer (GLenum targettarget, GLuint framebufferframebuffer) |
| Convenience function that calls glBindFramebuffer(target, framebuffer). | |
| void | glBindRenderbuffer (GLenum targettarget, GLuint renderbufferrenderbuffer) |
| Convenience function that calls glBindRenderbuffer(target, renderbuffer). | |
| void | glBlendColor (GLclampf red, GLclampf greengreen, GLclampf blueblue, GLclampf alphaalpha) |
| Convenience function that calls glBlendColor(red, green, blue, alpha). | |
| void | glBlendEquation (GLenum modemode) |
| Convenience function that calls glBlendEquation(mode). | |
| void | glBlendEquationSeparate (GLenum modeRGBmodeRGB, GLenum modeAlphamodeAlpha) |
| Convenience function that calls glBlendEquationSeparate(modeRGB, modeAlpha). | |
| void | glBlendFuncSeparate (GLenum srcRGBsrcRGB, GLenum dstRGBdstRGB, GLenum srcAlphasrcAlpha, GLenum dstAlphadstAlpha) |
| Convenience function that calls glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha). | |
| void | glBufferData (GLenum targettarget, qopengl_GLsizeiptr sizesize, const void *datadata, GLenum usageusage) |
| Convenience function that calls glBufferData(target, size, data, usage). | |
| void | glBufferSubData (GLenum targettarget, qopengl_GLintptr offsetoffset, qopengl_GLsizeiptr sizesize, const void *datadata) |
| Convenience function that calls glBufferSubData(target, offset, size, data). | |
| GLenum | glCheckFramebufferStatus (GLenum targettarget) |
| Convenience function that calls glCheckFramebufferStatus(target). | |
| void | glClearDepthf (GLclampf depthdepth) |
| Convenience function that calls glClearDepth(depth) on desktop OpenGL systems and glClearDepthf(depth) on embedded OpenGL ES systems. | |
| void | glCompileShader (GLuint shadershader) |
| Convenience function that calls glCompileShader(shader). | |
| void | glCompressedTexImage2D (GLenum targettarget, GLint levellevel, GLenum internalformatinternalformat, GLsizei widthwidth, GLsizei heightheight, GLint borderborder, GLsizei imageSizeimageSize, const void *datadata) |
| Convenience function that calls glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data). | |
| void | glCompressedTexSubImage2D (GLenum targettarget, GLint levellevel, GLint xoffsetxoffset, GLint yoffsetyoffset, GLsizei widthwidth, GLsizei heightheight, GLenum formatformat, GLsizei imageSizeimageSize, const void *datadata) |
| Convenience function that calls glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data). | |
| GLuint | glCreateProgram () |
| Convenience function that calls glCreateProgram(). | |
| GLuint | glCreateShader (GLenum typetype) |
| Convenience function that calls glCreateShader(type). | |
| void | glDeleteBuffers (GLsizei nn, const GLuint *buffersbuffers) |
| Convenience function that calls glDeleteBuffers(n, buffers). | |
| void | glDeleteFramebuffers (GLsizei nn, const GLuint *framebuffersframebuffers) |
| Convenience function that calls glDeleteFramebuffers(n, framebuffers). | |
| void | glDeleteProgram (GLuint programprogram) |
| Convenience function that calls glDeleteProgram(program). | |
| void | glDeleteRenderbuffers (GLsizei nn, const GLuint *renderbuffersrenderbuffers) |
| Convenience function that calls glDeleteRenderbuffers(n, renderbuffers). | |
| void | glDeleteShader (GLuint shadershader) |
| Convenience function that calls glDeleteShader(shader). | |
| void | glDepthRangef (GLclampf zNearzNear, GLclampf zFarzFar) |
| Convenience function that calls glDepthRange(zNear, zFar) on desktop OpenGL systems and glDepthRangef(zNear, zFar) on embedded OpenGL ES systems. | |
| void | glDetachShader (GLuint programprogram, GLuint shadershader) |
| Convenience function that calls glDetachShader(program, shader). | |
| void | glDisableVertexAttribArray (GLuint indexindex) |
| Convenience function that calls glDisableVertexAttribArray(index). | |
| void | glEnableVertexAttribArray (GLuint indexindex) |
| Convenience function that calls glEnableVertexAttribArray(index). | |
| void | glFramebufferRenderbuffer (GLenum targettarget, GLenum attachmentattachment, GLenum renderbuffertargetrenderbuffertarget, GLuint renderbufferrenderbuffer) |
| Convenience function that calls glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer). | |
| void | glFramebufferTexture2D (GLenum targettarget, GLenum attachmentattachment, GLenum textargettextarget, GLuint texturetexture, GLint levellevel) |
| Convenience function that calls glFramebufferTexture2D(target, attachment, textarget, texture, level). | |
| void | glGenBuffers (GLsizei nn, GLuint *buffersbuffers) |
| Convenience function that calls glGenBuffers(n, buffers). | |
| void | glGenerateMipmap (GLenum targettarget) |
| Convenience function that calls glGenerateMipmap(target). | |
| void | glGenFramebuffers (GLsizei nn, GLuint *framebuffersframebuffers) |
| Convenience function that calls glGenFramebuffers(n, framebuffers). | |
| void | glGenRenderbuffers (GLsizei nn, GLuint *renderbuffersrenderbuffers) |
| Convenience function that calls glGenRenderbuffers(n, renderbuffers). | |
| void | glGetActiveAttrib (GLuint programprogram, GLuint indexindex, GLsizei bufsizebufsize, GLsizei *lengthlength, GLint *sizesize, GLenum *typetype, char *namename) |
| Convenience function that calls glGetActiveAttrib(program, index, bufsize, length, size, type, name). | |
| void | glGetActiveUniform (GLuint programprogram, GLuint indexindex, GLsizei bufsizebufsize, GLsizei *lengthlength, GLint *sizesize, GLenum *typetype, char *namename) |
| Convenience function that calls glGetActiveUniform(program, index, bufsize, length, size, type, name). | |
| void | glGetAttachedShaders (GLuint programprogram, GLsizei maxcount, GLsizei *countcount, GLuint *shadersshaders) |
| Convenience function that calls glGetAttachedShaders(program, maxcount, count, shaders). | |
| GLint | glGetAttribLocation (GLuint programprogram, const char *namename) |
| Convenience function that calls glGetAttribLocation(program, name). | |
| void | glGetBufferParameteriv (GLenum targettarget, GLenum pnamepname, GLint *paramsparams) |
| Convenience function that calls glGetBufferParameteriv(target, pname, params). | |
| void | glGetFramebufferAttachmentParameteriv (GLenum targettarget, GLenum attachmentattachment, GLenum pnamepname, GLint *paramsparams) |
| Convenience function that calls glGetFramebufferAttachmentParameteriv(target, attachment, pname, params). | |
| void | glGetProgramiv (GLuint programprogram, GLenum pnamepname, GLint *paramsparams) |
| Convenience function that calls glGetProgramiv(program, pname, params). | |
| void | glGetProgramInfoLog (GLuint programprogram, GLsizei bufsizebufsize, GLsizei *lengthlength, char *infolog) |
| Convenience function that calls glGetProgramInfoLog(program, bufsize, length, infolog). | |
| void | glGetRenderbufferParameteriv (GLenum targettarget, GLenum pnamepname, GLint *paramsparams) |
| Convenience function that calls glGetRenderbufferParameteriv(target, pname, params). | |
| void | glGetShaderiv (GLuint shadershader, GLenum pnamepname, GLint *paramsparams) |
| Convenience function that calls glGetShaderiv(shader, pname, params). | |
| void | glGetShaderInfoLog (GLuint shadershader, GLsizei bufsizebufsize, GLsizei *lengthlength, char *infolog) |
| Convenience function that calls glGetShaderInfoLog(shader, bufsize, length, infolog). | |
| void | glGetShaderPrecisionFormat (GLenum shadertypeshadertype, GLenum precisiontypeprecisiontype, GLint *rangerange, GLint *precisionprecision) |
| Convenience function that calls glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision). | |
| void | glGetShaderSource (GLuint shadershader, GLsizei bufsizebufsize, GLsizei *lengthlength, char *sourcesource) |
| Convenience function that calls glGetShaderSource(shader, bufsize, length, source). | |
| void | glGetUniformfv (GLuint programprogram, GLint locationlocation, GLfloat *paramsparams) |
| Convenience function that calls glGetUniformfv(program, location, params). | |
| void | glGetUniformiv (GLuint programprogram, GLint locationlocation, GLint *paramsparams) |
| Convenience function that calls glGetUniformiv(program, location, params). | |
| GLint | glGetUniformLocation (GLuint programprogram, const char *namename) |
| Convenience function that calls glGetUniformLocation(program, name). | |
| void | glGetVertexAttribfv (GLuint indexindex, GLenum pnamepname, GLfloat *paramsparams) |
| Convenience function that calls glGetVertexAttribfv(index, pname, params). | |
| void | glGetVertexAttribiv (GLuint indexindex, GLenum pnamepname, GLint *paramsparams) |
| Convenience function that calls glGetVertexAttribiv(index, pname, params). | |
| void | glGetVertexAttribPointerv (GLuint indexindex, GLenum pnamepname, void **pointerpointer) |
| Convenience function that calls glGetVertexAttribPointerv(index, pname, pointer). | |
| GLboolean | glIsBuffer (GLuint bufferbuffer) |
| Convenience function that calls glIsBuffer(buffer). | |
| GLboolean | glIsFramebuffer (GLuint framebufferframebuffer) |
| Convenience function that calls glIsFramebuffer(framebuffer). | |
| GLboolean | glIsProgram (GLuint programprogram) |
| Convenience function that calls glIsProgram(program). | |
| GLboolean | glIsRenderbuffer (GLuint renderbufferrenderbuffer) |
| Convenience function that calls glIsRenderbuffer(renderbuffer). | |
| GLboolean | glIsShader (GLuint shadershader) |
| Convenience function that calls glIsShader(shader). | |
| void | glLinkProgram (GLuint programprogram) |
| Convenience function that calls glLinkProgram(program). | |
| void | glReleaseShaderCompiler () |
| Convenience function that calls glReleaseShaderCompiler(). | |
| void | glRenderbufferStorage (GLenum targettarget, GLenum internalformatinternalformat, GLsizei widthwidth, GLsizei heightheight) |
| Convenience function that calls glRenderbufferStorage(target, internalformat, width, height). | |
| void | glSampleCoverage (GLclampf valuevalue, GLboolean invertinvert) |
| Convenience function that calls glSampleCoverage(value, invert). | |
| void | glShaderBinary (GLint nn, const GLuint *shadersshaders, GLenum binaryformatbinaryformat, const void *binarybinary, GLint lengthlength) |
| Convenience function that calls glShaderBinary(n, shaders, binaryformat, binary, length). | |
| void | glShaderSource (GLuint shadershader, GLsizei countcount, const char **stringstring, const GLint *lengthlength) |
| Convenience function that calls glShaderSource(shader, count, string, length). | |
| void | glStencilFuncSeparate (GLenum faceface, GLenum funcfunc, GLint refref, GLuint maskmask) |
| Convenience function that calls glStencilFuncSeparate(face, func, ref, mask). | |
| void | glStencilMaskSeparate (GLenum faceface, GLuint maskmask) |
| Convenience function that calls glStencilMaskSeparate(face, mask). | |
| void | glStencilOpSeparate (GLenum faceface, GLenum fail, GLenum zfail, GLenum zpass) |
| Convenience function that calls glStencilOpSeparate(face, fail, zfail, zpass). | |
| void | glUniform1f (GLint locationlocation, GLfloat xx) |
| Convenience function that calls glUniform1f(location, x). | |
| void | glUniform1fv (GLint locationlocation, GLsizei countcount, const GLfloat *vv) |
| Convenience function that calls glUniform1fv(location, count, v). | |
| void | glUniform1i (GLint locationlocation, GLint xx) |
| Convenience function that calls glUniform1i(location, x). | |
| void | glUniform1iv (GLint locationlocation, GLsizei countcount, const GLint *vv) |
| Convenience function that calls glUniform1iv(location, count, v). | |
| void | glUniform2f (GLint locationlocation, GLfloat xx, GLfloat yy) |
| Convenience function that calls glUniform2f(location, x, y). | |
| void | glUniform2fv (GLint locationlocation, GLsizei countcount, const GLfloat *vv) |
| Convenience function that calls glUniform2fv(location, count, v). | |
| void | glUniform2i (GLint locationlocation, GLint xx, GLint yy) |
| Convenience function that calls glUniform2i(location, x, y). | |
| void | glUniform2iv (GLint locationlocation, GLsizei countcount, const GLint *vv) |
| Convenience function that calls glUniform2iv(location, count, v). | |
| void | glUniform3f (GLint locationlocation, GLfloat xx, GLfloat yy, GLfloat zz) |
| Convenience function that calls glUniform3f(location, x, y, z). | |
| void | glUniform3fv (GLint locationlocation, GLsizei countcount, const GLfloat *vv) |
| Convenience function that calls glUniform3fv(location, count, v). | |
| void | glUniform3i (GLint locationlocation, GLint xx, GLint yy, GLint zz) |
| Convenience function that calls glUniform3i(location, x, y, z). | |
| void | glUniform3iv (GLint locationlocation, GLsizei countcount, const GLint *vv) |
| Convenience function that calls glUniform3iv(location, count, v). | |
| void | glUniform4f (GLint locationlocation, GLfloat xx, GLfloat yy, GLfloat zz, GLfloat ww) |
| Convenience function that calls glUniform4f(location, x, y, z, w). | |
| void | glUniform4fv (GLint locationlocation, GLsizei countcount, const GLfloat *vv) |
| Convenience function that calls glUniform4fv(location, count, v). | |
| void | glUniform4i (GLint locationlocation, GLint xx, GLint yy, GLint zz, GLint ww) |
| Convenience function that calls glUniform4i(location, x, y, z, w). | |
| void | glUniform4iv (GLint locationlocation, GLsizei countcount, const GLint *vv) |
| Convenience function that calls glUniform4iv(location, count, v). | |
| void | glUniformMatrix2fv (GLint locationlocation, GLsizei countcount, GLboolean transposetranspose, const GLfloat *valuevalue) |
| Convenience function that calls glUniformMatrix2fv(location, count, transpose, value). | |
| void | glUniformMatrix3fv (GLint locationlocation, GLsizei countcount, GLboolean transposetranspose, const GLfloat *valuevalue) |
| Convenience function that calls glUniformMatrix3fv(location, count, transpose, value). | |
| void | glUniformMatrix4fv (GLint locationlocation, GLsizei countcount, GLboolean transposetranspose, const GLfloat *valuevalue) |
| Convenience function that calls glUniformMatrix4fv(location, count, transpose, value). | |
| void | glUseProgram (GLuint programprogram) |
| Convenience function that calls glUseProgram(program). | |
| void | glValidateProgram (GLuint programprogram) |
| Convenience function that calls glValidateProgram(program). | |
| void | glVertexAttrib1f (GLuint indx, GLfloat xx) |
| Convenience function that calls glVertexAttrib1f(indx, x). | |
| void | glVertexAttrib1fv (GLuint indx, const GLfloat *valuesvalues) |
| Convenience function that calls glVertexAttrib1fv(indx, values). | |
| void | glVertexAttrib2f (GLuint indx, GLfloat xx, GLfloat yy) |
| Convenience function that calls glVertexAttrib2f(indx, x, y). | |
| void | glVertexAttrib2fv (GLuint indx, const GLfloat *valuesvalues) |
| Convenience function that calls glVertexAttrib2fv(indx, values). | |
| void | glVertexAttrib3f (GLuint indx, GLfloat xx, GLfloat yy, GLfloat zz) |
| Convenience function that calls glVertexAttrib3f(indx, x, y, z). | |
| void | glVertexAttrib3fv (GLuint indx, const GLfloat *valuesvalues) |
| Convenience function that calls glVertexAttrib3fv(indx, values). | |
| void | glVertexAttrib4f (GLuint indx, GLfloat xx, GLfloat yy, GLfloat zz, GLfloat ww) |
| Convenience function that calls glVertexAttrib4f(indx, x, y, z, w). | |
| void | glVertexAttrib4fv (GLuint indx, const GLfloat *valuesvalues) |
| Convenience function that calls glVertexAttrib4fv(indx, values). | |
| void | glVertexAttribPointer (GLuint indx, GLint sizesize, GLenum typetype, GLboolean normalizednormalized, GLsizei stridestride, const void *ptr) |
| Convenience function that calls glVertexAttribPointer(indx, size, type, normalized, stride, ptr). | |
Static Protected Member Functions | |
| static bool | isInitialized (const QOpenGLFunctionsPrivate *d) |
Protected Attributes | |
| QOpenGLFunctionsPrivate * | d_ptr |
The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API.
\inmodule QtGui
OpenGL ES 2.0 defines a subset of the OpenGL specification that is common across many desktop and embedded OpenGL implementations. However, it can be difficult to use the functions from that subset because they need to be resolved manually on desktop systems.
QOpenGLFunctions provides a guaranteed API that is available on all OpenGL systems and takes care of function resolution on systems that need it. The recommended way to use QOpenGLFunctions is by direct inheritance:
The {paintGL()} function can then use any of the OpenGL ES 2.0 functions without explicit resolution, such as glActiveTexture() in the following example:
QOpenGLFunctions can also be used directly for ad-hoc invocation of OpenGL ES 2.0 functions on all platforms:
An alternative approach is to query the context's associated QOpenGLFunctions instance. This is somewhat faster than the previous approach due to avoiding the creation of a new instance, but the difference is fairly small since the internal data structures are shared, and function resolving happens only once for a given context, regardless of the number of QOpenGLFunctions instances initialized for it.
QOpenGLFunctions provides wrappers for all OpenGL ES 2.0 functions, including the common subset of OpenGL 1.x and ES 2.0. While such functions, for example glClear() or glDrawArrays(), can be called also directly, as long as the application links to the platform-specific OpenGL library, calling them via QOpenGLFunctions enables the possibility of dynamically loading the OpenGL implementation.
The hasOpenGLFeature() and openGLFeatures() functions can be used to determine if the OpenGL implementation has a major OpenGL ES 2.0 feature. For example, the following checks if non power of two textures are available:
Definition at line 201 of file qopenglfunctions.h.
This enum defines OpenGL and OpenGL ES features whose presence may depend on the implementation.
\value Multitexture glActiveTexture() function is available. \value Shaders Shader functions are available. \value Buffers Vertex and index buffer functions are available. \value Framebuffers Framebuffer object functions are available. \value BlendColor glBlendColor() is available. \value BlendEquation glBlendEquation() is available. \value BlendEquationSeparate glBlendEquationSeparate() is available. \value BlendEquationAdvanced Advanced blend equations are available. \value BlendFuncSeparate glBlendFuncSeparate() is available. \value BlendSubtract Blend subtract mode is available. \value CompressedTextures Compressed texture functions are available. \value Multisample glSampleCoverage() function is available. \value StencilSeparate Separate stencil functions are available. \value NPOTTextures Non power of two textures are available. \value NPOTTextureRepeat Non power of two textures can use GL_REPEAT as wrap parameter. \value FixedFunctionPipeline The fixed function pipeline is available. \value TextureRGFormats The GL_RED and GL_RG texture formats are available. \value MultipleRenderTargets Multiple color attachments to framebuffer objects are available.
Definition at line 208 of file qopenglfunctions.h.
| QOpenGLFunctions::QOpenGLFunctions | ( | ) |
Constructs a default function resolver.
The resolver cannot be used until initializeOpenGLFunctions() is called to specify the context.
Definition at line 195 of file qopenglfunctions.cpp.
|
explicit |
Constructs a function resolver for context.
If context is \nullptr, then the resolver will be created for the current QOpenGLContext.
The context or another context in the group must be current.
An object constructed in this way can only be used with context and other contexts that share with it. Use initializeOpenGLFunctions() to change the object's context association.
Definition at line 213 of file qopenglfunctions.cpp.
|
inline |
Destroys this function resolver.
Definition at line 206 of file qopenglfunctions.h.
Convenience function that calls glActiveTexture(texture).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glActiveTexture.xhtml}{glActiveTexture()}.
Definition at line 1060 of file qopenglfunctions.h.
Convenience function that calls glAttachShader(program, shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glAttachShader.xhtml}{glAttachShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1071 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glBindAttribLocation(program, index, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBindAttribLocation.xhtml}{glBindAttribLocation()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1082 of file qopenglfunctions.h.
Convenience function that calls glBindBuffer(target, buffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBindBuffer.xhtml}{glBindBuffer()}.
Definition at line 1093 of file qopenglfunctions.h.
Convenience function that calls glBindFramebuffer(target, framebuffer).
Note that Qt will translate a framebuffer argument of 0 to the currently bound QOpenGLContext's defaultFramebufferObject().
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBindFramebuffer.xhtml}{glBindFramebuffer()}.
Definition at line 1104 of file qopenglfunctions.h.
Convenience function that calls glBindRenderbuffer(target, renderbuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBindRenderbuffer.xhtml}{glBindRenderbuffer()}.
Definition at line 1117 of file qopenglfunctions.h.
Convenience function that calls glBindTexture(target, texture).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBindTexture.xhtml}{glBindTexture()}.
Definition at line 560 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glBlendColor(red, green, blue, alpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBlendColor.xhtml}{glBlendColor()}.
Definition at line 1128 of file qopenglfunctions.h.
Convenience function that calls glBlendEquation(mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBlendEquation.xhtml}{glBlendEquation()}.
Definition at line 1139 of file qopenglfunctions.h.
Convenience function that calls glBlendEquationSeparate(modeRGB, modeAlpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBlendEquationSeparate.xhtml}{glBlendEquationSeparate()}.
Definition at line 1150 of file qopenglfunctions.h.
Convenience function that calls glBlendFunc(sfactor, dfactor).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBlendFunc.xhtml}{glBlendFunc()}.
Definition at line 571 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBlendFuncSeparate.xhtml}{glBlendFuncSeparate()}.
Definition at line 1161 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glBufferData(target, size, data, usage).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBufferData.xhtml}{glBufferData()}.
Definition at line 1172 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glBufferSubData(target, offset, size, data).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glBufferSubData.xhtml}{glBufferSubData()}.
Definition at line 1183 of file qopenglfunctions.h.
Convenience function that calls glCheckFramebufferStatus(target).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glCheckFramebufferStatus.xhtml}{glCheckFramebufferStatus()}.
Definition at line 1194 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glClear(mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glClear.xhtml}{glClear()}.
Definition at line 582 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glClearColor(red, green, blue, alpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glClearColor.xhtml}{glClearColor()}.
Definition at line 593 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glClearDepth(depth) on desktop OpenGL systems and glClearDepthf(depth) on embedded OpenGL ES systems.
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glClearDepthf.xhtml}{glClearDepthf()}.
Definition at line 1206 of file qopenglfunctions.h.
Convenience function that calls glClearStencil(s).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glClearStencil.xhtml}{glClearStencil()}.
Definition at line 604 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glColorMask(red, green, blue, alpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glColorMask.xhtml}{glColorMask()}.
Definition at line 615 of file qopenglfunctions.h.
Convenience function that calls glCompileShader(shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glCompileShader.xhtml}{glCompileShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1217 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glCompressedTexImage2D.xhtml}{glCompressedTexImage2D()}.
Definition at line 1228 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glCompressedTexSubImage2D.xhtml}{glCompressedTexSubImage2D()}.
Definition at line 1239 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glCopyTexImage2D(target, level, internalformat, x, y, width, height, border).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glCopyTexImage2D.xhtml}{glCopyTexImage2D()}.
Definition at line 626 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glCopyTexSubImage2D.xhtml}{glCopyTexSubImage2D()}.
Definition at line 637 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glCreateProgram().
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glCreateProgram.xhtml}{glCreateProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1250 of file qopenglfunctions.h.
Convenience function that calls glCreateShader(type).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glCreateShader.xhtml}{glCreateShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1262 of file qopenglfunctions.h.
Convenience function that calls glCullFace(mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glCullFace.xhtml}{glCullFace()}.
Definition at line 648 of file qopenglfunctions.h.
Convenience function that calls glDeleteBuffers(n, buffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDeleteBuffers.xhtml}{glDeleteBuffers()}.
Definition at line 1274 of file qopenglfunctions.h.
Convenience function that calls glDeleteFramebuffers(n, framebuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDeleteFramebuffers.xhtml}{glDeleteFramebuffers()}.
Definition at line 1285 of file qopenglfunctions.h.
Convenience function that calls glDeleteProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDeleteProgram.xhtml}{glDeleteProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1296 of file qopenglfunctions.h.
Convenience function that calls glDeleteRenderbuffers(n, renderbuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDeleteRenderbuffers.xhtml}{glDeleteRenderbuffers()}.
Definition at line 1307 of file qopenglfunctions.h.
Convenience function that calls glDeleteShader(shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDeleteShader.xhtml}{glDeleteShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1318 of file qopenglfunctions.h.
Convenience function that calls glDeleteTextures(n, textures).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDeleteTextures.xhtml}{glDeleteTextures()}.
Definition at line 659 of file qopenglfunctions.h.
Convenience function that calls glDepthFunc(func).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDepthFunc.xhtml}{glDepthFunc()}.
Definition at line 670 of file qopenglfunctions.h.
Convenience function that calls glDepthMask(flag).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDepthMask.xhtml}{glDepthMask()}.
Definition at line 681 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glDepthRange(zNear, zFar) on desktop OpenGL systems and glDepthRangef(zNear, zFar) on embedded OpenGL ES systems.
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDepthRangef.xhtml}{glDepthRangef()}.
Definition at line 1329 of file qopenglfunctions.h.
Convenience function that calls glDetachShader(program, shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDetachShader.xhtml}{glDetachShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1340 of file qopenglfunctions.h.
Convenience function that calls glDisable(cap).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glEnable.xhtml}{glDisable()}.
Definition at line 692 of file qopenglfunctions.h.
Convenience function that calls glDisableVertexAttribArray(index).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glEnableVertexAttribArray.xhtml}{glDisableVertexAttribArray()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1351 of file qopenglfunctions.h.
Convenience function that calls glDrawArrays(mode, first, count).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDrawArrays.xhtml}{glDrawArrays()}.
Definition at line 703 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glDrawElements(mode, count, type, indices).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glDrawElements.xhtml}{glDrawElements()}.
Definition at line 714 of file qopenglfunctions.h.
Convenience function that calls glEnable(cap).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glEnable.xhtml}{glEnable()}.
Definition at line 725 of file qopenglfunctions.h.
Convenience function that calls glEnableVertexAttribArray(index).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glEnableVertexAttribArray.xhtml}{glEnableVertexAttribArray()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1362 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glFinish().
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glFinish.xhtml}{glFinish()}.
Definition at line 736 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glFlush().
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glFlush.xhtml}{glFlush()}.
Definition at line 747 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glFramebufferRenderbuffer.xhtml}{glFramebufferRenderbuffer()}.
Definition at line 1373 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glFramebufferTexture2D(target, attachment, textarget, texture, level).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glFramebufferTexture2D.xhtml}{glFramebufferTexture2D()}.
Definition at line 1384 of file qopenglfunctions.h.
Convenience function that calls glFrontFace(mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glFrontFace.xhtml}{glFrontFace()}.
Definition at line 758 of file qopenglfunctions.h.
Convenience function that calls glGenBuffers(n, buffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGenBuffers.xhtml}{glGenBuffers()}.
Definition at line 1395 of file qopenglfunctions.h.
Convenience function that calls glGenerateMipmap(target).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGenerateMipmap.xhtml}{glGenerateMipmap()}.
Definition at line 1406 of file qopenglfunctions.h.
Convenience function that calls glGenFramebuffers(n, framebuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGenFramebuffers.xhtml}{glGenFramebuffers()}.
Definition at line 1417 of file qopenglfunctions.h.
Convenience function that calls glGenRenderbuffers(n, renderbuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGenRenderbuffers.xhtml}{glGenRenderbuffers()}.
Definition at line 1428 of file qopenglfunctions.h.
Convenience function that calls glGenTextures(n, textures).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGenTextures.xhtml}{glGenTextures()}.
Definition at line 769 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetActiveAttrib(program, index, bufsize, length, size, type, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetActiveAttrib.xhtml}{glGetActiveAttrib()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1439 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetActiveUniform(program, index, bufsize, length, size, type, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetActiveUniform.xhtml}{glGetActiveUniform()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1450 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetAttachedShaders(program, maxcount, count, shaders).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetAttachedShaders.xhtml}{glGetAttachedShaders()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1461 of file qopenglfunctions.h.
Convenience function that calls glGetAttribLocation(program, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetAttribLocation.xhtml}{glGetAttribLocation()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1472 of file qopenglfunctions.h.
Convenience function that calls glGetBooleanv(pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGet.xhtml}{glGetBooleanv()}.
Definition at line 780 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetBufferParameteriv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetBufferParameter.xhtml}{glGetBufferParameteriv()}.
Definition at line 1484 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetError().
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetError.xhtml}{glGetError()}.
Definition at line 791 of file qopenglfunctions.h.
Convenience function that calls glGetFloatv(pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGet.xhtml}{glGetFloatv()}.
Definition at line 802 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetFramebufferAttachmentParameteriv(target, attachment, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetFramebufferAttachmentParameteriv.xhtml}{glGetFramebufferAttachmentParameteriv()}.
Definition at line 1495 of file qopenglfunctions.h.
Convenience function that calls glGetIntegerv(pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGet.xhtml}{glGetIntegerv()}.
Definition at line 813 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetProgramInfoLog(program, bufsize, length, infolog).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetProgramInfoLog.xhtml}{glGetProgramInfoLog()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1517 of file qopenglfunctions.h.
Convenience function that calls glGetProgramiv(program, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetProgramiv.xhtml}{glGetProgramiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1506 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetRenderbufferParameteriv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetRenderbufferParameteriv.xhtml}{glGetRenderbufferParameteriv()}.
Definition at line 1528 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetShaderInfoLog(shader, bufsize, length, infolog).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetShaderInfoLog.xhtml}{glGetShaderInfoLog()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1550 of file qopenglfunctions.h.
Convenience function that calls glGetShaderiv(shader, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetShaderiv.xhtml}{glGetShaderiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1539 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetShaderPrecisionFormat.xhtml}{glGetShaderPrecisionFormat()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1561 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetShaderSource(shader, bufsize, length, source).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetShaderSource.xhtml}{glGetShaderSource()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1572 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetString(name).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetString.xhtml}{glGetString()}.
Definition at line 824 of file qopenglfunctions.h.
Convenience function that calls glGetTexParameterfv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml}{glGetTexParameterfv()}.
Definition at line 836 of file qopenglfunctions.h.
Convenience function that calls glGetTexParameteriv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml}{glGetTexParameteriv()}.
Definition at line 847 of file qopenglfunctions.h.
Convenience function that calls glGetUniformfv(program, location, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetUniform.xhtml}{glGetUniformfv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1583 of file qopenglfunctions.h.
Convenience function that calls glGetUniformiv(program, location, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetUniform.xhtml}{glGetUniformiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1594 of file qopenglfunctions.h.
Convenience function that calls glGetUniformLocation(program, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetUniformLocation.xhtml}{glGetUniformLocation()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1605 of file qopenglfunctions.h.
Convenience function that calls glGetVertexAttribfv(index, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetVertexAttrib.xhtml}{glGetVertexAttribfv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1617 of file qopenglfunctions.h.
Convenience function that calls glGetVertexAttribiv(index, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetVertexAttrib.xhtml}{glGetVertexAttribiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1628 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetVertexAttribPointerv(index, pname, pointer).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glGetVertexAttribPointerv.xhtml}{glGetVertexAttribPointerv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1639 of file qopenglfunctions.h.
Convenience function that calls glHint(target, mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glHint.xhtml}{glHint()}.
Definition at line 858 of file qopenglfunctions.h.
Convenience function that calls glIsBuffer(buffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glIsBuffer.xhtml}{glIsBuffer()}.
Definition at line 1650 of file qopenglfunctions.h.
Convenience function that calls glIsEnabled(cap).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glIsEnabled.xhtml}{glIsEnabled()}.
Definition at line 869 of file qopenglfunctions.h.
Convenience function that calls glIsFramebuffer(framebuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glIsFramebuffer.xhtml}{glIsFramebuffer()}.
Definition at line 1662 of file qopenglfunctions.h.
Convenience function that calls glIsProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glIsProgram.xhtml}{glIsProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1674 of file qopenglfunctions.h.
Convenience function that calls glIsRenderbuffer(renderbuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glIsRenderbuffer.xhtml}{glIsRenderbuffer()}.
Definition at line 1686 of file qopenglfunctions.h.
Convenience function that calls glIsShader(shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glIsShader.xhtml}{glIsShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1698 of file qopenglfunctions.h.
Convenience function that calls glIsTexture(texture).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glIsTexture.xhtml}{glIsTexture()}.
Definition at line 881 of file qopenglfunctions.h.
Convenience function that calls glLineWidth(width).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glLineWidth.xhtml}{glLineWidth()}.
Definition at line 893 of file qopenglfunctions.h.
Convenience function that calls glLinkProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glLinkProgram.xhtml}{glLinkProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1710 of file qopenglfunctions.h.
Convenience function that calls glPixelStorei(pname, param).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glPixelStorei.xhtml}{glPixelStorei()}.
Definition at line 904 of file qopenglfunctions.h.
Convenience function that calls glPolygonOffset(factor, units).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glPolygonOffset.xhtml}{glPolygonOffset()}.
Definition at line 915 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glReadPixels(x, y, width, height, format, type, pixels).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glReadPixels.xhtml}{glReadPixels()}.
Definition at line 926 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glReleaseShaderCompiler().
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glReleaseShaderCompiler.xhtml}{glReleaseShaderCompiler()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1721 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glRenderbufferStorage(target, internalformat, width, height).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glRenderbufferStorage.xhtml}{glRenderbufferStorage()}.
Definition at line 1732 of file qopenglfunctions.h.
Convenience function that calls glSampleCoverage(value, invert).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glSampleCoverage.xhtml}{glSampleCoverage()}.
Definition at line 1743 of file qopenglfunctions.h.
Convenience function that calls glScissor(x, y, width, height).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glScissor.xhtml}{glScissor()}.
Definition at line 937 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glShaderBinary(n, shaders, binaryformat, binary, length).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glShaderBinary.xhtml}{glShaderBinary()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1754 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glShaderSource(shader, count, string, length).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glShaderSource.xhtml}{glShaderSource()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1765 of file qopenglfunctions.h.
Convenience function that calls glStencilFunc(func, ref, mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glStencilFunc.xhtml}{glStencilFunc()}.
Definition at line 948 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glStencilFuncSeparate(face, func, ref, mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glStencilFuncSeparate.xhtml}{glStencilFuncSeparate()}.
Definition at line 1776 of file qopenglfunctions.h.
Convenience function that calls glStencilMask(mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glStencilMask.xhtml}{glStencilMask()}.
Definition at line 959 of file qopenglfunctions.h.
Convenience function that calls glStencilMaskSeparate(face, mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glStencilMaskSeparate.xhtml}{glStencilMaskSeparate()}.
Definition at line 1787 of file qopenglfunctions.h.
Convenience function that calls glStencilOp(fail, zfail, zpass).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glStencilOp.xhtml}{glStencilOp()}.
Definition at line 970 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glStencilOpSeparate(face, fail, zfail, zpass).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glStencilOpSeparate.xhtml}{glStencilOpSeparate()}.
Definition at line 1798 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glTexImage2D.xhtml}{glTexImage2D()}.
Definition at line 981 of file qopenglfunctions.h.
Convenience function that calls glTexParameterf(target, pname, param).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameterf()}.
Definition at line 992 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glTexParameterfv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameterfv()}.
Definition at line 1003 of file qopenglfunctions.h.
Convenience function that calls glTexParameteri(target, pname, param).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameteri()}.
Definition at line 1014 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glTexParameteriv(target, pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameteriv()}.
Definition at line 1025 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glTexSubImage2D.xhtml}{glTexSubImage2D()}.
Definition at line 1036 of file qopenglfunctions.h.
Convenience function that calls glUniform1f(location, x).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1809 of file qopenglfunctions.h.
Convenience function that calls glUniform1fv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1820 of file qopenglfunctions.h.
Convenience function that calls glUniform1i(location, x).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1831 of file qopenglfunctions.h.
Convenience function that calls glUniform1iv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1842 of file qopenglfunctions.h.
Convenience function that calls glUniform2f(location, x, y).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1853 of file qopenglfunctions.h.
Convenience function that calls glUniform2fv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1864 of file qopenglfunctions.h.
Convenience function that calls glUniform2i(location, x, y).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1875 of file qopenglfunctions.h.
Convenience function that calls glUniform2iv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1886 of file qopenglfunctions.h.
Convenience function that calls glUniform3f(location, x, y, z).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1897 of file qopenglfunctions.h.
Convenience function that calls glUniform3fv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1908 of file qopenglfunctions.h.
Convenience function that calls glUniform3i(location, x, y, z).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1919 of file qopenglfunctions.h.
Convenience function that calls glUniform3iv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1930 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glUniform4f(location, x, y, z, w).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1941 of file qopenglfunctions.h.
Convenience function that calls glUniform4fv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1952 of file qopenglfunctions.h.
Convenience function that calls glUniform4i(location, x, y, z, w).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1963 of file qopenglfunctions.h.
Convenience function that calls glUniform4iv(location, count, v).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1974 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glUniformMatrix2fv(location, count, transpose, value).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniformMatrix2fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1985 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glUniformMatrix3fv(location, count, transpose, value).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniformMatrix3fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1996 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glUniformMatrix4fv(location, count, transpose, value).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniformMatrix4fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2007 of file qopenglfunctions.h.
Convenience function that calls glUseProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glUseProgram.xhtml}{glUseProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2018 of file qopenglfunctions.h.
Convenience function that calls glValidateProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glValidateProgram.xhtml}{glValidateProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2029 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib1f(indx, x).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib1f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2040 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib1fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib1fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2051 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib2f(indx, x, y).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib2f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2062 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib2fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib2fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2073 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib3f(indx, x, y, z).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib3f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2084 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib3fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib3fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2095 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glVertexAttrib4f(indx, x, y, z, w).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib4f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2106 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib4fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib4fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2117 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glVertexAttribPointer(indx, size, type, normalized, stride, ptr).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glVertexAttribPointer.xhtml}{glVertexAttribPointer()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2128 of file qopenglfunctions.h.
Convenience function that calls glViewport(x, y, width, height).
For more information, see the OpenGL ES 3.X documentation for \l{https://registry.khronos.org/OpenGL-Refpages/es3/html/glViewport.xhtml}{glViewport()}.
Definition at line 1047 of file qopenglfunctions.h.
| bool QOpenGLFunctions::hasOpenGLFeature | ( | QOpenGLFunctions::OpenGLFeature | feature | ) | const |
Returns true if feature is present on this system's OpenGL implementation; false otherwise.
It is assumed that the QOpenGLContext associated with this function resolver is current.
Definition at line 537 of file qopenglfunctions.cpp.
| void QOpenGLFunctions::initializeOpenGLFunctions | ( | ) |
Initializes OpenGL function resolution for the current context.
After calling this function, the QOpenGLFunctions object can only be used with the current context and other contexts that share with it. Call initializeOpenGLFunctions() again to change the object's context association.
Definition at line 593 of file qopenglfunctions.cpp.
|
inlinestaticprotected |
Definition at line 384 of file qopenglfunctions.h.
| QOpenGLFunctions::OpenGLFeatures QOpenGLFunctions::openGLFeatures | ( | ) | const |
Returns the set of features that are present on this system's OpenGL implementation.
It is assumed that the QOpenGLContext associated with this function resolver is current.
Definition at line 518 of file qopenglfunctions.cpp.
|
protected |
Definition at line 383 of file qopenglfunctions.h.