QtBase
v6.3.1
|
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 } |
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 237 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 244 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 202 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 220 of file qopenglfunctions.cpp.
|
inline |
Destroys this function resolver.
Definition at line 242 of file qopenglfunctions.h.
Convenience function that calls glActiveTexture(texture).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glActiveTexture.xhtml}{glActiveTexture()}.
Definition at line 1096 of file qopenglfunctions.h.
Convenience function that calls glAttachShader(program, shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glAttachShader.xhtml}{glAttachShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1107 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindAttribLocation.xhtml}{glBindAttribLocation()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1118 of file qopenglfunctions.h.
Convenience function that calls glBindBuffer(target, buffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindBuffer.xhtml}{glBindBuffer()}.
Definition at line 1129 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindFramebuffer.xhtml}{glBindFramebuffer()}.
Definition at line 1140 of file qopenglfunctions.h.
Convenience function that calls glBindRenderbuffer(target, renderbuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindRenderbuffer.xhtml}{glBindRenderbuffer()}.
Definition at line 1153 of file qopenglfunctions.h.
Convenience function that calls glBindTexture(target, texture).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindTexture.xhtml}{glBindTexture()}.
Definition at line 596 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendColor.xhtml}{glBlendColor()}.
Definition at line 1164 of file qopenglfunctions.h.
Convenience function that calls glBlendEquation(mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquation.xhtml}{glBlendEquation()}.
Definition at line 1175 of file qopenglfunctions.h.
Convenience function that calls glBlendEquationSeparate(modeRGB, modeAlpha).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquationSeparate.xhtml}{glBlendEquationSeparate()}.
Definition at line 1186 of file qopenglfunctions.h.
Convenience function that calls glBlendFunc(sfactor, dfactor).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFunc.xhtml}{glBlendFunc()}.
Definition at line 607 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFuncSeparate.xhtml}{glBlendFuncSeparate()}.
Definition at line 1197 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBufferData.xhtml}{glBufferData()}.
Definition at line 1208 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBufferSubData.xhtml}{glBufferSubData()}.
Definition at line 1219 of file qopenglfunctions.h.
Convenience function that calls glCheckFramebufferStatus(target).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCheckFramebufferStatus.xhtml}{glCheckFramebufferStatus()}.
Definition at line 1230 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glClear(mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClear.xhtml}{glClear()}.
Definition at line 618 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearColor.xhtml}{glClearColor()}.
Definition at line 629 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearDepthf.xhtml}{glClearDepthf()}.
Definition at line 1242 of file qopenglfunctions.h.
Convenience function that calls glClearStencil(s).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearStencil.xhtml}{glClearStencil()}.
Definition at line 640 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glColorMask.xhtml}{glColorMask()}.
Definition at line 651 of file qopenglfunctions.h.
Convenience function that calls glCompileShader(shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompileShader.xhtml}{glCompileShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1253 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompressedTexImage2D.xhtml}{glCompressedTexImage2D()}.
Definition at line 1264 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompressedTexSubImage2D.xhtml}{glCompressedTexSubImage2D()}.
Definition at line 1275 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCopyTexImage2D.xhtml}{glCopyTexImage2D()}.
Definition at line 662 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCopyTexSubImage2D.xhtml}{glCopyTexSubImage2D()}.
Definition at line 673 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glCreateProgram().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCreateProgram.xhtml}{glCreateProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1286 of file qopenglfunctions.h.
Convenience function that calls glCreateShader(type).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCreateShader.xhtml}{glCreateShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1298 of file qopenglfunctions.h.
Convenience function that calls glCullFace(mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCullFace.xhtml}{glCullFace()}.
Definition at line 684 of file qopenglfunctions.h.
Convenience function that calls glDeleteBuffers(n, buffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteBuffers.xhtml}{glDeleteBuffers()}.
Definition at line 1310 of file qopenglfunctions.h.
Convenience function that calls glDeleteFramebuffers(n, framebuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteFramebuffers.xhtml}{glDeleteFramebuffers()}.
Definition at line 1321 of file qopenglfunctions.h.
Convenience function that calls glDeleteProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteProgram.xhtml}{glDeleteProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1332 of file qopenglfunctions.h.
Convenience function that calls glDeleteRenderbuffers(n, renderbuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteRenderbuffers.xhtml}{glDeleteRenderbuffers()}.
Definition at line 1343 of file qopenglfunctions.h.
Convenience function that calls glDeleteShader(shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteShader.xhtml}{glDeleteShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1354 of file qopenglfunctions.h.
Convenience function that calls glDeleteTextures(n, textures).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteTextures.xhtml}{glDeleteTextures()}.
Definition at line 695 of file qopenglfunctions.h.
Convenience function that calls glDepthFunc(func).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthFunc.xhtml}{glDepthFunc()}.
Definition at line 706 of file qopenglfunctions.h.
Convenience function that calls glDepthMask(flag).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthMask.xhtml}{glDepthMask()}.
Definition at line 717 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthRangef.xhtml}{glDepthRangef()}.
Definition at line 1365 of file qopenglfunctions.h.
Convenience function that calls glDetachShader(program, shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDetachShader.xhtml}{glDetachShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1376 of file qopenglfunctions.h.
Convenience function that calls glDisable(cap).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnable.xhtml}{glDisable()}.
Definition at line 728 of file qopenglfunctions.h.
Convenience function that calls glDisableVertexAttribArray(index).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnableVertexAttribArray.xhtml}{glDisableVertexAttribArray()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1387 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawArrays.xhtml}{glDrawArrays()}.
Definition at line 739 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawElements.xhtml}{glDrawElements()}.
Definition at line 750 of file qopenglfunctions.h.
Convenience function that calls glEnable(cap).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnable.xhtml}{glEnable()}.
Definition at line 761 of file qopenglfunctions.h.
Convenience function that calls glEnableVertexAttribArray(index).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnableVertexAttribArray.xhtml}{glEnableVertexAttribArray()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1398 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glFinish().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFinish.xhtml}{glFinish()}.
Definition at line 772 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glFlush().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFlush.xhtml}{glFlush()}.
Definition at line 783 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFramebufferRenderbuffer.xhtml}{glFramebufferRenderbuffer()}.
Definition at line 1409 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFramebufferTexture2D.xhtml}{glFramebufferTexture2D()}.
Definition at line 1420 of file qopenglfunctions.h.
Convenience function that calls glFrontFace(mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFrontFace.xhtml}{glFrontFace()}.
Definition at line 794 of file qopenglfunctions.h.
Convenience function that calls glGenBuffers(n, buffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenBuffers.xhtml}{glGenBuffers()}.
Definition at line 1431 of file qopenglfunctions.h.
Convenience function that calls glGenerateMipmap(target).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenerateMipmap.xhtml}{glGenerateMipmap()}.
Definition at line 1442 of file qopenglfunctions.h.
Convenience function that calls glGenFramebuffers(n, framebuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenFramebuffers.xhtml}{glGenFramebuffers()}.
Definition at line 1453 of file qopenglfunctions.h.
Convenience function that calls glGenRenderbuffers(n, renderbuffers).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenRenderbuffers.xhtml}{glGenRenderbuffers()}.
Definition at line 1464 of file qopenglfunctions.h.
Convenience function that calls glGenTextures(n, textures).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenTextures.xhtml}{glGenTextures()}.
Definition at line 805 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetActiveAttrib.xhtml}{glGetActiveAttrib()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1475 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetActiveUniform.xhtml}{glGetActiveUniform()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1486 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetAttachedShaders.xhtml}{glGetAttachedShaders()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1497 of file qopenglfunctions.h.
Convenience function that calls glGetAttribLocation(program, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetAttribLocation.xhtml}{glGetAttribLocation()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1508 of file qopenglfunctions.h.
Convenience function that calls glGetBooleanv(pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGet.xhtml}{glGetBooleanv()}.
Definition at line 816 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetBufferParameter.xhtml}{glGetBufferParameteriv()}.
Definition at line 1520 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glGetError().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetError.xhtml}{glGetError()}.
Definition at line 827 of file qopenglfunctions.h.
Convenience function that calls glGetFloatv(pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGet.xhtml}{glGetFloatv()}.
Definition at line 838 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetFramebufferAttachmentParameteriv.xhtml}{glGetFramebufferAttachmentParameteriv()}.
Definition at line 1531 of file qopenglfunctions.h.
Convenience function that calls glGetIntegerv(pname, params).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGet.xhtml}{glGetIntegerv()}.
Definition at line 849 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetProgramInfoLog.xhtml}{glGetProgramInfoLog()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1553 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetProgramiv.xhtml}{glGetProgramiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1542 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetRenderbufferParameteriv.xhtml}{glGetRenderbufferParameteriv()}.
Definition at line 1564 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderInfoLog.xhtml}{glGetShaderInfoLog()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1586 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderiv.xhtml}{glGetShaderiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1575 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderPrecisionFormat.xhtml}{glGetShaderPrecisionFormat()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1597 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderSource.xhtml}{glGetShaderSource()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1608 of file qopenglfunctions.h.
Convenience function that calls glGetString(name).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetString.xhtml}{glGetString()}.
Definition at line 860 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml}{glGetTexParameterfv()}.
Definition at line 872 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml}{glGetTexParameteriv()}.
Definition at line 883 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniform.xhtml}{glGetUniformfv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1619 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniform.xhtml}{glGetUniformiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1630 of file qopenglfunctions.h.
Convenience function that calls glGetUniformLocation(program, name).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniformLocation.xhtml}{glGetUniformLocation()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1641 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttrib.xhtml}{glGetVertexAttribfv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1653 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttrib.xhtml}{glGetVertexAttribiv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1664 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttribPointerv.xhtml}{glGetVertexAttribPointerv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1675 of file qopenglfunctions.h.
Convenience function that calls glHint(target, mode).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glHint.xhtml}{glHint()}.
Definition at line 894 of file qopenglfunctions.h.
Convenience function that calls glIsBuffer(buffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsBuffer.xhtml}{glIsBuffer()}.
Definition at line 1686 of file qopenglfunctions.h.
Convenience function that calls glIsEnabled(cap).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsEnabled.xhtml}{glIsEnabled()}.
Definition at line 905 of file qopenglfunctions.h.
Convenience function that calls glIsFramebuffer(framebuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsFramebuffer.xhtml}{glIsFramebuffer()}.
Definition at line 1698 of file qopenglfunctions.h.
Convenience function that calls glIsProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsProgram.xhtml}{glIsProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1710 of file qopenglfunctions.h.
Convenience function that calls glIsRenderbuffer(renderbuffer).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsRenderbuffer.xhtml}{glIsRenderbuffer()}.
Definition at line 1722 of file qopenglfunctions.h.
Convenience function that calls glIsShader(shader).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsShader.xhtml}{glIsShader()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1734 of file qopenglfunctions.h.
Convenience function that calls glIsTexture(texture).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsTexture.xhtml}{glIsTexture()}.
Definition at line 917 of file qopenglfunctions.h.
Convenience function that calls glLineWidth(width).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glLineWidth.xhtml}{glLineWidth()}.
Definition at line 929 of file qopenglfunctions.h.
Convenience function that calls glLinkProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glLinkProgram.xhtml}{glLinkProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1746 of file qopenglfunctions.h.
Convenience function that calls glPixelStorei(pname, param).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPixelStorei.xhtml}{glPixelStorei()}.
Definition at line 940 of file qopenglfunctions.h.
Convenience function that calls glPolygonOffset(factor, units).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPolygonOffset.xhtml}{glPolygonOffset()}.
Definition at line 951 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glReadPixels.xhtml}{glReadPixels()}.
Definition at line 962 of file qopenglfunctions.h.
|
inline |
Convenience function that calls glReleaseShaderCompiler().
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glReleaseShaderCompiler.xhtml}{glReleaseShaderCompiler()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1757 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glRenderbufferStorage.xhtml}{glRenderbufferStorage()}.
Definition at line 1768 of file qopenglfunctions.h.
Convenience function that calls glSampleCoverage(value, invert).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glSampleCoverage.xhtml}{glSampleCoverage()}.
Definition at line 1779 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glScissor.xhtml}{glScissor()}.
Definition at line 973 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glShaderBinary.xhtml}{glShaderBinary()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1790 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glShaderSource.xhtml}{glShaderSource()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1801 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilFunc.xhtml}{glStencilFunc()}.
Definition at line 984 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilFuncSeparate.xhtml}{glStencilFuncSeparate()}.
Definition at line 1812 of file qopenglfunctions.h.
Convenience function that calls glStencilMask(mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilMask.xhtml}{glStencilMask()}.
Definition at line 995 of file qopenglfunctions.h.
Convenience function that calls glStencilMaskSeparate(face, mask).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilMaskSeparate.xhtml}{glStencilMaskSeparate()}.
Definition at line 1823 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilOp.xhtml}{glStencilOp()}.
Definition at line 1006 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilOpSeparate.xhtml}{glStencilOpSeparate()}.
Definition at line 1834 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexImage2D.xhtml}{glTexImage2D()}.
Definition at line 1017 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameterf()}.
Definition at line 1028 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameterfv()}.
Definition at line 1039 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameteri()}.
Definition at line 1050 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml}{glTexParameteriv()}.
Definition at line 1061 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexSubImage2D.xhtml}{glTexSubImage2D()}.
Definition at line 1072 of file qopenglfunctions.h.
Convenience function that calls glUniform1f(location, x).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1845 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1856 of file qopenglfunctions.h.
Convenience function that calls glUniform1i(location, x).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1867 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform1iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1878 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1889 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1900 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1911 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform2iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1922 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1933 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1944 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1955 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform3iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1966 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1977 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1988 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4i()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 1999 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniform4iv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2010 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniformMatrix2fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2021 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniformMatrix3fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2032 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml}{glUniformMatrix4fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2043 of file qopenglfunctions.h.
Convenience function that calls glUseProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUseProgram.xhtml}{glUseProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2054 of file qopenglfunctions.h.
Convenience function that calls glValidateProgram(program).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glValidateProgram.xhtml}{glValidateProgram()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2065 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib1f(indx, x).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib1f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2076 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib1fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib1fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2087 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib2f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2098 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib2fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib2fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2109 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib3f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2120 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib3fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib3fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2131 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib4f()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2142 of file qopenglfunctions.h.
Convenience function that calls glVertexAttrib4fv(indx, values).
For more information, see the OpenGL ES 3.X documentation for \l{https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml}{glVertexAttrib4fv()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2153 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttribPointer.xhtml}{glVertexAttribPointer()}.
This convenience function will do nothing on OpenGL ES 1.x systems.
Definition at line 2164 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://www.khronos.org/registry/OpenGL-Refpages/es3/html/glViewport.xhtml}{glViewport()}.
Definition at line 1083 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 525 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 581 of file qopenglfunctions.cpp.
|
inlinestaticprotected |
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 506 of file qopenglfunctions.cpp.
|
protected |
Definition at line 419 of file qopenglfunctions.h.