QOpenGLExtraFunctions#

The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0, 3.1 and 3.2 API. More

Inheritance diagram of PySide6.QtGui.QOpenGLExtraFunctions

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

This subclass of QOpenGLFunctions includes the OpenGL ES 3.0, 3.1 and 3.2 functions. These will only work when an OpenGL ES 3.x context, or an OpenGL context of a version containing the functions in question either in core or as extension, is in use. This allows developing GLES 3.x applications in a cross-platform manner: development can happen on a desktop platform with OpenGL 3.x or 4.x, deploying to a true GLES 3.x device later on will require no or minimal changes to the application.

Note

This class is different from the versioned OpenGL wrappers, for instance QOpenGLFunctions_3_2_Core. The versioned function wrappers target a given version and profile of OpenGL. They are therefore not suitable for cross-OpenGL-OpenGLES development.

class PySide6.QtGui.QOpenGLExtraFunctions#

PySide6.QtGui.QOpenGLExtraFunctions(context)

Parameters:

contextPySide6.QtGui.QOpenGLContext

Constructs a default function resolver. The resolver cannot be used until initializeOpenGLFunctions() is called to specify the context.

Constructs a function resolver for context. If context is None, 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.

PySide6.QtGui.QOpenGLExtraFunctions.glActiveShaderProgram(pipeline, program)#
Parameters:
  • pipeline – int

  • program – int

Convenience function that calls glActiveShaderProgram(pipeline, program).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glActiveShaderProgram() .

PySide6.QtGui.QOpenGLExtraFunctions.glBeginQuery(target, id)#
Parameters:
  • target – int

  • id – int

Convenience function that calls glBeginQuery(target, id).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBeginQuery() .

PySide6.QtGui.QOpenGLExtraFunctions.glBeginTransformFeedback(primitiveMode)#
Parameters:

primitiveMode – int

Convenience function that calls glBeginTransformFeedback(primitiveMode).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBeginTransformFeedback() .

PySide6.QtGui.QOpenGLExtraFunctions.glBindBufferBase(target, index, buffer)#
Parameters:
  • target – int

  • index – int

  • buffer – int

Convenience function that calls glBindBufferBase(target, index, buffer).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindBufferBase() .

PySide6.QtGui.QOpenGLExtraFunctions.glBindImageTexture(unit, texture, level, layered, layer, access, format)#
Parameters:
  • unit – int

  • texture – int

  • level – int

  • layered – int

  • layer – int

  • access – int

  • format – int

Convenience function that calls glBindImageTexture(unit, texture, level, layered, layer, access, format).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindImageTexture() .

PySide6.QtGui.QOpenGLExtraFunctions.glBindProgramPipeline(pipeline)#
Parameters:

pipeline – int

Convenience function that calls glBindProgramPipeline(pipeline).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindProgramPipeline() .

PySide6.QtGui.QOpenGLExtraFunctions.glBindSampler(unit, sampler)#
Parameters:
  • unit – int

  • sampler – int

Convenience function that calls glBindSampler(unit, sampler).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindSampler() .

PySide6.QtGui.QOpenGLExtraFunctions.glBindTransformFeedback(target, id)#
Parameters:
  • target – int

  • id – int

Convenience function that calls glBindTransformFeedback(target, id).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindTransformFeedback() .

PySide6.QtGui.QOpenGLExtraFunctions.glBindVertexArray(array)#
Parameters:

array – int

Convenience function that calls glBindVertexArray(array).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindVertexArray() .

PySide6.QtGui.QOpenGLExtraFunctions.glBlendBarrier()#

Convenience function that calls glBlendBarrier().

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glBlendBarrier() .

PySide6.QtGui.QOpenGLExtraFunctions.glBlendEquationSeparatei(buf, modeRGB, modeAlpha)#
Parameters:
  • buf – int

  • modeRGB – int

  • modeAlpha – int

Convenience function that calls glBlendEquationSeparatei(buf, modeRGB, modeAlpha).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glBlendEquationSeparatei() .

PySide6.QtGui.QOpenGLExtraFunctions.glBlendEquationi(buf, mode)#
Parameters:
  • buf – int

  • mode – int

Convenience function that calls glBlendEquationi(buf, mode).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glBlendEquationi() .

PySide6.QtGui.QOpenGLExtraFunctions.glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha)#
Parameters:
  • buf – int

  • srcRGB – int

  • dstRGB – int

  • srcAlpha – int

  • dstAlpha – int

Convenience function that calls glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glBlendFuncSeparatei() .

PySide6.QtGui.QOpenGLExtraFunctions.glBlendFunci(buf, src, dst)#
Parameters:
  • buf – int

  • src – int

  • dst – int

Convenience function that calls glBlendFunci(buf, src, dst).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glBlendFunci() .

PySide6.QtGui.QOpenGLExtraFunctions.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)#
Parameters:
  • srcX0 – int

  • srcY0 – int

  • srcX1 – int

  • srcY1 – int

  • dstX0 – int

  • dstY0 – int

  • dstX1 – int

  • dstY1 – int

  • mask – int

  • filter – int

Convenience function that calls glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBlitFramebuffer() .

PySide6.QtGui.QOpenGLExtraFunctions.glClearBufferfi(buffer, drawbuffer, depth, stencil)#
Parameters:
  • buffer – int

  • drawbuffer – int

  • depth – float

  • stencil – int

Convenience function that calls glClearBufferfi(buffer, drawbuffer, depth, stencil).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glClearBufferfi() .

PySide6.QtGui.QOpenGLExtraFunctions.glClearBufferfv(buffer, drawbuffer, value)#
Parameters:
  • buffer – int

  • drawbuffer – int

  • value – float

Convenience function that calls glClearBufferfv(buffer, drawbuffer, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glClearBufferfv() .

PySide6.QtGui.QOpenGLExtraFunctions.glClearBufferiv(buffer, drawbuffer, value)#
Parameters:
  • buffer – int

  • drawbuffer – int

  • value – int

Convenience function that calls glClearBufferiv(buffer, drawbuffer, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glClearBufferiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glClearBufferuiv(buffer, drawbuffer, value)#
Parameters:
  • buffer – int

  • drawbuffer – int

  • valueunsigned int

Convenience function that calls glClearBufferuiv(buffer, drawbuffer, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glClearBufferuiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glColorMaski(index, r, g, b, a)#
Parameters:
  • index – int

  • r – int

  • g – int

  • b – int

  • a – int

Convenience function that calls glColorMaski(index, r, g, b, a).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glColorMaski() .

PySide6.QtGui.QOpenGLExtraFunctions.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data)#
Parameters:
  • target – int

  • level – int

  • internalformat – int

  • width – int

  • height – int

  • depth – int

  • border – int

  • imageSize – int

  • datavoid

Convenience function that calls glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glCompressedTexImage3D() .

PySide6.QtGui.QOpenGLExtraFunctions.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data)#
Parameters:
  • target – int

  • level – int

  • xoffset – int

  • yoffset – int

  • zoffset – int

  • width – int

  • height – int

  • depth – int

  • format – int

  • imageSize – int

  • datavoid

Convenience function that calls glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glCompressedTexSubImage3D() .

PySide6.QtGui.QOpenGLExtraFunctions.glCopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth)#
Parameters:
  • srcName – int

  • srcTarget – int

  • srcLevel – int

  • srcX – int

  • srcY – int

  • srcZ – int

  • dstName – int

  • dstTarget – int

  • dstLevel – int

  • dstX – int

  • dstY – int

  • dstZ – int

  • srcWidth – int

  • srcHeight – int

  • srcDepth – int

Convenience function that calls glCopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glCopyImageSubData() .

PySide6.QtGui.QOpenGLExtraFunctions.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)#
Parameters:
  • target – int

  • level – int

  • xoffset – int

  • yoffset – int

  • zoffset – int

  • x – int

  • y – int

  • width – int

  • height – int

Convenience function that calls glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glCopyTexSubImage3D() .

PySide6.QtGui.QOpenGLExtraFunctions.glDebugMessageControl(source, type, severity, count, ids, enabled)#
Parameters:
  • source – int

  • type – int

  • severity – int

  • count – int

  • idsunsigned int

  • enabled – int

Convenience function that calls glDebugMessageControl(source, type, severity, count, ids, enabled).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glDebugMessageContro() .

PySide6.QtGui.QOpenGLExtraFunctions.glDebugMessageInsert(source, type, id, severity, length, buf)#
Parameters:
  • source – int

  • type – int

  • id – int

  • severity – int

  • length – int

  • buf – str

Convenience function that calls glDebugMessageInsert(source, type, id, severity, length, buf).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glDebugMessageInsert() .

PySide6.QtGui.QOpenGLExtraFunctions.glDeleteProgramPipelines(n, pipelines)#
Parameters:
  • n – int

  • pipelinesunsigned int

Convenience function that calls glDeleteProgramPipelines(n, pipelines).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteProgramPipelines() .

PySide6.QtGui.QOpenGLExtraFunctions.glDeleteQueries(n, ids)#
Parameters:
  • n – int

  • idsunsigned int

Convenience function that calls glDeleteQueries(n, ids).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteQueries() .

PySide6.QtGui.QOpenGLExtraFunctions.glDeleteSamplers(count, samplers)#
Parameters:
  • count – int

  • samplersunsigned int

Convenience function that calls glDeleteSamplers(count, samplers).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteSamplers() .

PySide6.QtGui.QOpenGLExtraFunctions.glDeleteTransformFeedbacks(n, ids)#
Parameters:
  • n – int

  • idsunsigned int

Convenience function that calls glDeleteTransformFeedbacks(n, ids).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteTransformFeedbacks() .

PySide6.QtGui.QOpenGLExtraFunctions.glDeleteVertexArrays(n, arrays)#
Parameters:
  • n – int

  • arraysunsigned int

Convenience function that calls glDeleteVertexArrays(n, arrays).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteVertexArrays() .

PySide6.QtGui.QOpenGLExtraFunctions.glDisablei(target, index)#
Parameters:
  • target – int

  • index – int

Convenience function that calls glDisablei(target, index).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glDisablei() .

PySide6.QtGui.QOpenGLExtraFunctions.glDispatchCompute(num_groups_x, num_groups_y, num_groups_z)#
Parameters:
  • num_groups_x – int

  • num_groups_y – int

  • num_groups_z – int

Convenience function that calls glDispatchCompute(num_groups_x, num_groups_y, num_groups_z).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDispatchCompute() .

PySide6.QtGui.QOpenGLExtraFunctions.glDrawArraysIndirect(mode, indirect)#
Parameters:
  • mode – int

  • indirectvoid

Convenience function that calls glDrawArraysIndirect(mode, indirect).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawArraysIndirect() .

PySide6.QtGui.QOpenGLExtraFunctions.glDrawArraysInstanced(mode, first, count, instancecount)#
Parameters:
  • mode – int

  • first – int

  • count – int

  • instancecount – int

Convenience function that calls glDrawArraysInstanced(mode, first, count, instancecount).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawArraysInstanced() .

PySide6.QtGui.QOpenGLExtraFunctions.glDrawBuffers(n, bufs)#
Parameters:
  • n – int

  • bufsunsigned int

Convenience function that calls glDrawBuffers(n, bufs).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawBuffers() .

PySide6.QtGui.QOpenGLExtraFunctions.glDrawElementsBaseVertex(mode, count, type, indices, basevertex)#
Parameters:
  • mode – int

  • count – int

  • type – int

  • indicesvoid

  • basevertex – int

Convenience function that calls glDrawElementsBaseVertex(mode, count, type, indices, basevertex).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glDrawElementsBaseVerte() .

PySide6.QtGui.QOpenGLExtraFunctions.glDrawElementsIndirect(mode, type, indirect)#
Parameters:
  • mode – int

  • type – int

  • indirectvoid

Convenience function that calls glDrawElementsIndirect(mode, type, indirect).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawElementsIndirect() .

PySide6.QtGui.QOpenGLExtraFunctions.glDrawElementsInstanced(mode, count, type, indices, instancecount)#
Parameters:
  • mode – int

  • count – int

  • type – int

  • indicesvoid

  • instancecount – int

Convenience function that calls glDrawElementsInstanced(mode, count, type, indices, instancecount).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawElementsInstanced() .

PySide6.QtGui.QOpenGLExtraFunctions.glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex)#
Parameters:
  • mode – int

  • count – int

  • type – int

  • indicesvoid

  • instancecount – int

  • basevertex – int

Convenience function that calls glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glDrawElementsInstancedBaseVerte() .

PySide6.QtGui.QOpenGLExtraFunctions.glDrawRangeElements(mode, start, end, count, type, indices)#
Parameters:
  • mode – int

  • start – int

  • end – int

  • count – int

  • type – int

  • indicesvoid

Convenience function that calls glDrawRangeElements(mode, start, end, count, type, indices).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawRangeElements() .

PySide6.QtGui.QOpenGLExtraFunctions.glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex)#
Parameters:
  • mode – int

  • start – int

  • end – int

  • count – int

  • type – int

  • indicesvoid

  • basevertex – int

Convenience function that calls glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glDrawRangeElementsBaseVerte() .

PySide6.QtGui.QOpenGLExtraFunctions.glEnablei(target, index)#
Parameters:
  • target – int

  • index – int

Convenience function that calls glEnablei(target, index).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glEnablei() .

PySide6.QtGui.QOpenGLExtraFunctions.glEndQuery(target)#
Parameters:

target – int

Convenience function that calls glEndQuery(target).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glEndQuery() .

PySide6.QtGui.QOpenGLExtraFunctions.glFramebufferParameteri(target, pname, param)#
Parameters:
  • target – int

  • pname – int

  • param – int

Convenience function that calls glFramebufferParameteri(target, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glFramebufferParameteri() .

PySide6.QtGui.QOpenGLExtraFunctions.glFramebufferTexture(target, attachment, texture, level)#
Parameters:
  • target – int

  • attachment – int

  • texture – int

  • level – int

Convenience function that calls glFramebufferTexture(target, attachment, texture, level).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glFramebufferTexture() .

PySide6.QtGui.QOpenGLExtraFunctions.glFramebufferTextureLayer(target, attachment, texture, level, layer)#
Parameters:
  • target – int

  • attachment – int

  • texture – int

  • level – int

  • layer – int

Convenience function that calls glFramebufferTextureLayer(target, attachment, texture, level, layer).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glFramebufferTextureLayer() .

PySide6.QtGui.QOpenGLExtraFunctions.glGenProgramPipelines(n, pipelines)#
Parameters:
  • n – int

  • pipelinesunsigned int

Convenience function that calls glGenProgramPipelines(n, pipelines).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenProgramPipelines() .

PySide6.QtGui.QOpenGLExtraFunctions.glGenQueries(n, ids)#
Parameters:
  • n – int

  • idsunsigned int

Convenience function that calls glGenQueries(n, ids).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenQueries() .

PySide6.QtGui.QOpenGLExtraFunctions.glGenSamplers(count, samplers)#
Parameters:
  • count – int

  • samplersunsigned int

Convenience function that calls glGenSamplers(count, samplers).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenSamplers() .

PySide6.QtGui.QOpenGLExtraFunctions.glGenTransformFeedbacks(n, ids)#
Parameters:
  • n – int

  • idsunsigned int

Convenience function that calls glGenTransformFeedbacks(n, ids).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenTransformFeedbacks() .

PySide6.QtGui.QOpenGLExtraFunctions.glGenVertexArrays(n, arrays)#
Parameters:
  • n – int

  • arraysunsigned int

Convenience function that calls glGenVertexArrays(n, arrays).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenVertexArrays() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params)#
Parameters:
  • program – int

  • uniformBlockIndex – int

  • pname – int

  • params – int

Convenience function that calls glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetActiveUniformBlockiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params)#
Parameters:
  • program – int

  • uniformCount – int

  • uniformIndicesunsigned int

  • pname – int

  • params – int

Convenience function that calls glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetActiveUniformsiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetBooleani_v(target, index)#
Parameters:
  • target – int

  • index – int

Return type:

PyObject

Convenience function that calls glGetBooleani_v(target, index, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetBooleani_v() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetFragDataLocation(program, name)#
Parameters:
  • program – int

  • name – str

Return type:

int

Convenience function that calls glGetFragDataLocation(program, name).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetFragDataLocation() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetFramebufferParameteriv(target, pname, params)#
Parameters:
  • target – int

  • pname – int

  • params – int

Convenience function that calls glGetFramebufferParameteriv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetFramebufferParameteriv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetGraphicsResetStatus()#
Return type:

int

Convenience function that calls glGetGraphicsResetStatus().

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glGetGraphicsResetStatus() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetIntegeri_v(arg__1, arg__2)#
Parameters:
  • arg__1 – int

  • arg__2 – int

Return type:

object

PySide6.QtGui.QOpenGLExtraFunctions.glGetIntegeri_v(target, index, data)
Parameters:
  • target – int

  • index – int

  • data – int

Convenience function that calls glGetIntegeri_v(target, index, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetIntegeri_v() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetInternalformativ(target, internalformat, pname, bufSize, params)#
Parameters:
  • target – int

  • internalformat – int

  • pname – int

  • bufSize – int

  • params – int

Convenience function that calls glGetInternalformativ(target, internalformat, pname, bufSize, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetInternalformativ() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetMultisamplefv(pname, index, val)#
Parameters:
  • pname – int

  • index – int

  • val – float

Convenience function that calls glGetMultisamplefv(pname, index, val).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetMultisamplefv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetProgramInterfaceiv(program, programInterface, pname, params)#
Parameters:
  • program – int

  • programInterface – int

  • pname – int

  • params – int

Convenience function that calls glGetProgramInterfaceiv(program, programInterface, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramInterfaceiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetProgramPipelineiv(pipeline, pname, params)#
Parameters:
  • pipeline – int

  • pname – int

  • params – int

Convenience function that calls glGetProgramPipelineiv(pipeline, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramPipelineiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetProgramResourceIndex(program, programInterface, name)#
Parameters:
  • program – int

  • programInterface – int

  • name – str

Return type:

int

Convenience function that calls glGetProgramResourceIndex(program, programInterface, name).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceIndex() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetProgramResourceLocation(program, programInterface, name)#
Parameters:
  • program – int

  • programInterface – int

  • name – str

Return type:

int

Convenience function that calls glGetProgramResourceLocation(program, programInterface, name).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceLocation() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params)#
Parameters:
  • program – int

  • programInterface – int

  • index – int

  • propCount – int

  • propsunsigned int

  • bufSize – int

  • length – int

  • params – int

Convenience function that calls glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetQueryObjectuiv(id, pname, params)#
Parameters:
  • id – int

  • pname – int

  • paramsunsigned int

Convenience function that calls glGetQueryObjectuiv(id, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetQueryObjectuiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetQueryiv(target, pname, params)#
Parameters:
  • target – int

  • pname – int

  • params – int

Convenience function that calls glGetQueryiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetQueryiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetSamplerParameterIiv(sampler, pname, params)#
Parameters:
  • sampler – int

  • pname – int

  • params – int

Convenience function that calls glGetSamplerParameterIiv(sampler, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glGetSamplerParameterIiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetSamplerParameterIuiv(sampler, pname, params)#
Parameters:
  • sampler – int

  • pname – int

  • paramsunsigned int

Convenience function that calls glGetSamplerParameterIuiv(sampler, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glGetSamplerParameterIuiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetSamplerParameterfv(sampler, pname, params)#
Parameters:
  • sampler – int

  • pname – int

  • params – float

Convenience function that calls glGetSamplerParameterfv(sampler, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetSamplerParameterfv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetSamplerParameteriv(sampler, pname, params)#
Parameters:
  • sampler – int

  • pname – int

  • params – int

Convenience function that calls glGetSamplerParameteriv(sampler, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetSamplerParameteriv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetStringi(name, index)#
Parameters:
  • name – int

  • index – int

Return type:

QString

Convenience function that calls glGetStringi(name, index).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetStringi() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetTexLevelParameterfv(target, level, pname, params)#
Parameters:
  • target – int

  • level – int

  • pname – int

  • params – float

Convenience function that calls glGetTexLevelParameterfv(target, level, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetTexLevelParameterfv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetTexLevelParameteriv(target, level, pname, params)#
Parameters:
  • target – int

  • level – int

  • pname – int

  • params – int

Convenience function that calls glGetTexLevelParameteriv(target, level, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetTexLevelParameteriv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetTexParameterIiv(target, pname, params)#
Parameters:
  • target – int

  • pname – int

  • params – int

Convenience function that calls glGetTexParameterIiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glGetTexParameterIiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetTexParameterIuiv(target, pname, params)#
Parameters:
  • target – int

  • pname – int

  • paramsunsigned int

Convenience function that calls glGetTexParameterIuiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glGetTexParameterIuiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetUniformBlockIndex(program, uniformBlockName)#
Parameters:
  • program – int

  • uniformBlockName – str

Return type:

int

Convenience function that calls glGetUniformBlockIndex(program, uniformBlockName).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetUniformBlockIndex() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetUniformuiv(program, location, params)#
Parameters:
  • program – int

  • location – int

  • paramsunsigned int

Convenience function that calls glGetUniformuiv(program, location, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetUniformuiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetVertexAttribIiv(index, pname, params)#
Parameters:
  • index – int

  • pname – int

  • params – int

Convenience function that calls glGetVertexAttribIiv(index, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetVertexAttribIiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetVertexAttribIuiv(index, pname, params)#
Parameters:
  • index – int

  • pname – int

  • paramsunsigned int

Convenience function that calls glGetVertexAttribIuiv(index, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetVertexAttribIuiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetnUniformfv(program, location, bufSize, params)#
Parameters:
  • program – int

  • location – int

  • bufSize – int

  • params – float

Convenience function that calls glGetnUniformfv(program, location, bufSize, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glGetnUniformfv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetnUniformiv(program, location, bufSize, params)#
Parameters:
  • program – int

  • location – int

  • bufSize – int

  • params – int

Convenience function that calls glGetnUniformiv(program, location, bufSize, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glGetnUniformiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glGetnUniformuiv(program, location, bufSize, params)#
Parameters:
  • program – int

  • location – int

  • bufSize – int

  • paramsunsigned int

Convenience function that calls glGetnUniformuiv(program, location, bufSize, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glGetnUniformuiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glInvalidateFramebuffer(target, numAttachments, attachments)#
Parameters:
  • target – int

  • numAttachments – int

  • attachmentsunsigned int

Convenience function that calls glInvalidateFramebuffer(target, numAttachments, attachments).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glInvalidateFramebuffer() .

PySide6.QtGui.QOpenGLExtraFunctions.glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height)#
Parameters:
  • target – int

  • numAttachments – int

  • attachmentsunsigned int

  • x – int

  • y – int

  • width – int

  • height – int

Convenience function that calls glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glInvalidateSubFramebuffer() .

PySide6.QtGui.QOpenGLExtraFunctions.glIsEnabledi(target, index)#
Parameters:
  • target – int

  • index – int

Return type:

int

Convenience function that calls glIsEnabledi(target, index).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glIsEnabledi() .

PySide6.QtGui.QOpenGLExtraFunctions.glIsProgramPipeline(pipeline)#
Parameters:

pipeline – int

Return type:

int

Convenience function that calls glIsProgramPipeline(pipeline).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsProgramPipeline() .

PySide6.QtGui.QOpenGLExtraFunctions.glIsQuery(id)#
Parameters:

id – int

Return type:

int

Convenience function that calls glIsQuery(id).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsQuery() .

PySide6.QtGui.QOpenGLExtraFunctions.glIsSampler(sampler)#
Parameters:

sampler – int

Return type:

int

Convenience function that calls glIsSampler(sampler).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsSampler() .

PySide6.QtGui.QOpenGLExtraFunctions.glIsTransformFeedback(id)#
Parameters:

id – int

Return type:

int

Convenience function that calls glIsTransformFeedback(id).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsTransformFeedback() .

PySide6.QtGui.QOpenGLExtraFunctions.glIsVertexArray(array)#
Parameters:

array – int

Return type:

int

Convenience function that calls glIsVertexArray(array).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsVertexArray() .

PySide6.QtGui.QOpenGLExtraFunctions.glMemoryBarrier(barriers)#
Parameters:

barriers – int

Convenience function that calls glMemoryBarrier(barriers).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glMemoryBarrier() .

PySide6.QtGui.QOpenGLExtraFunctions.glMemoryBarrierByRegion(barriers)#
Parameters:

barriers – int

Convenience function that calls glMemoryBarrierByRegion(barriers).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glMemoryBarrierByRegion() .

PySide6.QtGui.QOpenGLExtraFunctions.glMinSampleShading(value)#
Parameters:

value – float

Convenience function that calls glMinSampleShading(value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glMinSampleShading() .

PySide6.QtGui.QOpenGLExtraFunctions.glObjectLabel(identifier, name, length, label)#
Parameters:
  • identifier – int

  • name – int

  • length – int

  • label – str

Convenience function that calls glObjectLabel(identifier, name, length, label).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glObjectLabe() .

PySide6.QtGui.QOpenGLExtraFunctions.glObjectPtrLabel(ptr, length, label)#
Parameters:
  • ptrvoid

  • length – int

  • label – str

Convenience function that calls glObjectPtrLabel(ptr, length, label).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glObjectPtrLabe() .

PySide6.QtGui.QOpenGLExtraFunctions.glPatchParameteri(pname, value)#
Parameters:
  • pname – int

  • value – int

Convenience function that calls glPatchParameteri(pname, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glPatchParameteri() .

PySide6.QtGui.QOpenGLExtraFunctions.glPopDebugGroup()#

Convenience function that calls glPopDebugGroup().

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glPopDebugGroup() .

PySide6.QtGui.QOpenGLExtraFunctions.glPrimitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW)#
Parameters:
  • minX – float

  • minY – float

  • minZ – float

  • minW – float

  • maxX – float

  • maxY – float

  • maxZ – float

  • maxW – float

Convenience function that calls glPrimitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glPrimitiveBoundingBo() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramBinary(program, binaryFormat, binary, length)#
Parameters:
  • program – int

  • binaryFormat – int

  • binaryvoid

  • length – int

Convenience function that calls glProgramBinary(program, binaryFormat, binary, length).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramBinary() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramParameteri(program, pname, value)#
Parameters:
  • program – int

  • pname – int

  • value – int

Convenience function that calls glProgramParameteri(program, pname, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramParameteri() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform1f(program, location, v0)#
Parameters:
  • program – int

  • location – int

  • v0 – float

Convenience function that calls glProgramUniform1f(program, location, v0).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1f() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform1fv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • value – float

Convenience function that calls glProgramUniform1fv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform1i(program, location, v0)#
Parameters:
  • program – int

  • location – int

  • v0 – int

Convenience function that calls glProgramUniform1i(program, location, v0).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1i() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform1iv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • value – int

Convenience function that calls glProgramUniform1iv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1iv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform1ui(program, location, v0)#
Parameters:
  • program – int

  • location – int

  • v0 – int

Convenience function that calls glProgramUniform1ui(program, location, v0).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1ui() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform1uiv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • valueunsigned int

Convenience function that calls glProgramUniform1uiv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1uiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform2f(program, location, v0, v1)#
Parameters:
  • program – int

  • location – int

  • v0 – float

  • v1 – float

Convenience function that calls glProgramUniform2f(program, location, v0, v1).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2f() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform2fv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • value – float

Convenience function that calls glProgramUniform2fv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform2i(program, location, v0, v1)#
Parameters:
  • program – int

  • location – int

  • v0 – int

  • v1 – int

Convenience function that calls glProgramUniform2i(program, location, v0, v1).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2i() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform2iv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • value – int

Convenience function that calls glProgramUniform2iv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2iv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform2ui(program, location, v0, v1)#
Parameters:
  • program – int

  • location – int

  • v0 – int

  • v1 – int

Convenience function that calls glProgramUniform2ui(program, location, v0, v1).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2ui() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform2uiv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • valueunsigned int

Convenience function that calls glProgramUniform2uiv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2uiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform3f(program, location, v0, v1, v2)#
Parameters:
  • program – int

  • location – int

  • v0 – float

  • v1 – float

  • v2 – float

Convenience function that calls glProgramUniform3f(program, location, v0, v1, v2).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3f() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform3fv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • value – float

Convenience function that calls glProgramUniform3fv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform3i(program, location, v0, v1, v2)#
Parameters:
  • program – int

  • location – int

  • v0 – int

  • v1 – int

  • v2 – int

Convenience function that calls glProgramUniform3i(program, location, v0, v1, v2).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3i() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform3iv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • value – int

Convenience function that calls glProgramUniform3iv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3iv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform3ui(program, location, v0, v1, v2)#
Parameters:
  • program – int

  • location – int

  • v0 – int

  • v1 – int

  • v2 – int

Convenience function that calls glProgramUniform3ui(program, location, v0, v1, v2).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3ui() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform3uiv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • valueunsigned int

Convenience function that calls glProgramUniform3uiv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3uiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform4f(program, location, v0, v1, v2, v3)#
Parameters:
  • program – int

  • location – int

  • v0 – float

  • v1 – float

  • v2 – float

  • v3 – float

Convenience function that calls glProgramUniform4f(program, location, v0, v1, v2, v3).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4f() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform4fv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • value – float

Convenience function that calls glProgramUniform4fv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform4i(program, location, v0, v1, v2, v3)#
Parameters:
  • program – int

  • location – int

  • v0 – int

  • v1 – int

  • v2 – int

  • v3 – int

Convenience function that calls glProgramUniform4i(program, location, v0, v1, v2, v3).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4i() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform4iv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • value – int

Convenience function that calls glProgramUniform4iv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4iv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform4ui(program, location, v0, v1, v2, v3)#
Parameters:
  • program – int

  • location – int

  • v0 – int

  • v1 – int

  • v2 – int

  • v3 – int

Convenience function that calls glProgramUniform4ui(program, location, v0, v1, v2, v3).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4ui() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniform4uiv(program, location, count, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • valueunsigned int

Convenience function that calls glProgramUniform4uiv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4uiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix2fv(program, location, count, transpose, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glProgramUniformMatrix2fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix2fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix2x3fv(program, location, count, transpose, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glProgramUniformMatrix2x3fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix2x3fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix2x4fv(program, location, count, transpose, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glProgramUniformMatrix2x4fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix2x4fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix3fv(program, location, count, transpose, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glProgramUniformMatrix3fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix3fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix3x2fv(program, location, count, transpose, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glProgramUniformMatrix3x2fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix3x2fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix3x4fv(program, location, count, transpose, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glProgramUniformMatrix3x4fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix3x4fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix4fv(program, location, count, transpose, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glProgramUniformMatrix4fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix4fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix4x2fv(program, location, count, transpose, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glProgramUniformMatrix4x2fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix4x2fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix4x3fv(program, location, count, transpose, value)#
Parameters:
  • program – int

  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glProgramUniformMatrix4x3fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix4x3fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glPushDebugGroup(source, id, length, message)#
Parameters:
  • source – int

  • id – int

  • length – int

  • message – str

Convenience function that calls glPushDebugGroup(source, id, length, message).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glPushDebugGroup() .

PySide6.QtGui.QOpenGLExtraFunctions.glReadBuffer(mode)#
Parameters:

mode – int

Convenience function that calls glReadBuffer(src).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glReadBuffer() .

PySide6.QtGui.QOpenGLExtraFunctions.glReadnPixels(x, y, width, height, format, type, bufSize, data)#
Parameters:
  • x – int

  • y – int

  • width – int

  • height – int

  • format – int

  • type – int

  • bufSize – int

  • datavoid

Convenience function that calls glReadnPixels(x, y, width, height, format, type, bufSize, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glReadnPixels() .

PySide6.QtGui.QOpenGLExtraFunctions.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)#
Parameters:
  • target – int

  • samples – int

  • internalformat – int

  • width – int

  • height – int

Convenience function that calls glRenderbufferStorageMultisample(target, samples, internalformat, width, height).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glRenderbufferStorageMultisample() .

PySide6.QtGui.QOpenGLExtraFunctions.glSampleMaski(maskNumber, mask)#
Parameters:
  • maskNumber – int

  • mask – int

Convenience function that calls glSampleMaski(maskNumber, mask).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSampleMaski() .

PySide6.QtGui.QOpenGLExtraFunctions.glSamplerParameterIiv(sampler, pname, param)#
Parameters:
  • sampler – int

  • pname – int

  • param – int

Convenience function that calls glSamplerParameterIiv(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glSamplerParameterIiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glSamplerParameterIuiv(sampler, pname, param)#
Parameters:
  • sampler – int

  • pname – int

  • paramunsigned int

Convenience function that calls glSamplerParameterIuiv(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glSamplerParameterIuiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glSamplerParameterf(sampler, pname, param)#
Parameters:
  • sampler – int

  • pname – int

  • param – float

Convenience function that calls glSamplerParameterf(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSamplerParameterf() .

PySide6.QtGui.QOpenGLExtraFunctions.glSamplerParameterfv(sampler, pname, param)#
Parameters:
  • sampler – int

  • pname – int

  • param – float

Convenience function that calls glSamplerParameterfv(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSamplerParameterfv() .

PySide6.QtGui.QOpenGLExtraFunctions.glSamplerParameteri(sampler, pname, param)#
Parameters:
  • sampler – int

  • pname – int

  • param – int

Convenience function that calls glSamplerParameteri(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSamplerParameteri() .

PySide6.QtGui.QOpenGLExtraFunctions.glSamplerParameteriv(sampler, pname, param)#
Parameters:
  • sampler – int

  • pname – int

  • param – int

Convenience function that calls glSamplerParameteriv(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSamplerParameteriv() .

PySide6.QtGui.QOpenGLExtraFunctions.glTexBuffer(target, internalformat, buffer)#
Parameters:
  • target – int

  • internalformat – int

  • buffer – int

Convenience function that calls glTexBuffer(target, internalformat, buffer).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glTexBuffer() .

PySide6.QtGui.QOpenGLExtraFunctions.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels)#
Parameters:
  • target – int

  • level – int

  • internalformat – int

  • width – int

  • height – int

  • depth – int

  • border – int

  • format – int

  • type – int

  • pixelsvoid

Convenience function that calls glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexImage3D() .

PySide6.QtGui.QOpenGLExtraFunctions.glTexParameterIiv(target, pname, params)#
Parameters:
  • target – int

  • pname – int

  • params – int

Convenience function that calls glTexParameterIiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glTexParameterIiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glTexParameterIuiv(target, pname, params)#
Parameters:
  • target – int

  • pname – int

  • paramsunsigned int

Convenience function that calls glTexParameterIuiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glTexParameterIuiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glTexStorage2D(target, levels, internalformat, width, height)#
Parameters:
  • target – int

  • levels – int

  • internalformat – int

  • width – int

  • height – int

Convenience function that calls glTexStorage2D(target, levels, internalformat, width, height).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexStorage2D() .

PySide6.QtGui.QOpenGLExtraFunctions.glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations)#
Parameters:
  • target – int

  • samples – int

  • internalformat – int

  • width – int

  • height – int

  • fixedsamplelocations – int

Convenience function that calls glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexStorage2DMultisample() .

PySide6.QtGui.QOpenGLExtraFunctions.glTexStorage3D(target, levels, internalformat, width, height, depth)#
Parameters:
  • target – int

  • levels – int

  • internalformat – int

  • width – int

  • height – int

  • depth – int

Convenience function that calls glTexStorage3D(target, levels, internalformat, width, height, depth).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexStorage3D() .

PySide6.QtGui.QOpenGLExtraFunctions.glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations)#
Parameters:
  • target – int

  • samples – int

  • internalformat – int

  • width – int

  • height – int

  • depth – int

  • fixedsamplelocations – int

Convenience function that calls glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.X documentation for glTexStorage3DMultisample() .

PySide6.QtGui.QOpenGLExtraFunctions.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels)#
Parameters:
  • target – int

  • level – int

  • xoffset – int

  • yoffset – int

  • zoffset – int

  • width – int

  • height – int

  • depth – int

  • format – int

  • type – int

  • pixelsvoid

Convenience function that calls glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexSubImage3D() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniform1ui(location, v0)#
Parameters:
  • location – int

  • v0 – int

Convenience function that calls glUniform1ui(location, v0).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform1ui() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniform1uiv(location, count, value)#
Parameters:
  • location – int

  • count – int

  • valueunsigned int

Convenience function that calls glUniform1uiv(location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform1uiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniform2ui(location, v0, v1)#
Parameters:
  • location – int

  • v0 – int

  • v1 – int

Convenience function that calls glUniform2ui(location, v0, v1).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform2ui() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniform2uiv(location, count, value)#
Parameters:
  • location – int

  • count – int

  • valueunsigned int

Convenience function that calls glUniform2uiv(location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform2uiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniform3ui(location, v0, v1, v2)#
Parameters:
  • location – int

  • v0 – int

  • v1 – int

  • v2 – int

Convenience function that calls glUniform3ui(location, v0, v1, v2).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform3ui() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniform3uiv(location, count, value)#
Parameters:
  • location – int

  • count – int

  • valueunsigned int

Convenience function that calls glUniform3uiv(location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform3uiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniform4ui(location, v0, v1, v2, v3)#
Parameters:
  • location – int

  • v0 – int

  • v1 – int

  • v2 – int

  • v3 – int

Convenience function that calls glUniform4ui(location, v0, v1, v2, v3).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform4ui() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniform4uiv(location, count, value)#
Parameters:
  • location – int

  • count – int

  • valueunsigned int

Convenience function that calls glUniform4uiv(location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform4uiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding)#
Parameters:
  • program – int

  • uniformBlockIndex – int

  • uniformBlockBinding – int

Convenience function that calls glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformBlockBinding() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniformMatrix2x3fv(location, count, transpose, value)#
Parameters:
  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glUniformMatrix2x3fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix2x3fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniformMatrix2x4fv(location, count, transpose, value)#
Parameters:
  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glUniformMatrix2x4fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix2x4fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniformMatrix3x2fv(location, count, transpose, value)#
Parameters:
  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glUniformMatrix3x2fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix3x2fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniformMatrix3x4fv(location, count, transpose, value)#
Parameters:
  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glUniformMatrix3x4fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix3x4fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniformMatrix4x2fv(location, count, transpose, value)#
Parameters:
  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glUniformMatrix4x2fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix4x2fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUniformMatrix4x3fv(location, count, transpose, value)#
Parameters:
  • location – int

  • count – int

  • transpose – int

  • value – float

Convenience function that calls glUniformMatrix4x3fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix4x3fv() .

PySide6.QtGui.QOpenGLExtraFunctions.glUnmapBuffer(target)#
Parameters:

target – int

Return type:

int

Convenience function that calls glUnmapBuffer(target).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUnmapBuffer() .

PySide6.QtGui.QOpenGLExtraFunctions.glUseProgramStages(pipeline, stages, program)#
Parameters:
  • pipeline – int

  • stages – int

  • program – int

Convenience function that calls glUseProgramStages(pipeline, stages, program).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUseProgramStages() .

PySide6.QtGui.QOpenGLExtraFunctions.glValidateProgramPipeline(pipeline)#
Parameters:

pipeline – int

Convenience function that calls glValidateProgramPipeline(pipeline).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glValidateProgramPipeline() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexAttribBinding(attribindex, bindingindex)#
Parameters:
  • attribindex – int

  • bindingindex – int

Convenience function that calls glVertexAttribBinding(attribindex, bindingindex).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribBinding() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexAttribDivisor(index, divisor)#
Parameters:
  • index – int

  • divisor – int

Convenience function that calls glVertexAttribDivisor(index, divisor).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribDivisor() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset)#
Parameters:
  • attribindex – int

  • size – int

  • type – int

  • normalized – int

  • relativeoffset – int

Convenience function that calls glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribFormat() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexAttribI4i(index, x, y, z, w)#
Parameters:
  • index – int

  • x – int

  • y – int

  • z – int

  • w – int

Convenience function that calls glVertexAttribI4i(index, x, y, z, w).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4i() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexAttribI4iv(index, v)#
Parameters:
  • index – int

  • v – int

Convenience function that calls glVertexAttribI4iv(index, v).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4iv() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexAttribI4ui(index, x, y, z, w)#
Parameters:
  • index – int

  • x – int

  • y – int

  • z – int

  • w – int

Convenience function that calls glVertexAttribI4ui(index, x, y, z, w).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4ui() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexAttribI4uiv(index, v)#
Parameters:
  • index – int

  • vunsigned int

Convenience function that calls glVertexAttribI4uiv(index, v).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4uiv() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexAttribIFormat(attribindex, size, type, relativeoffset)#
Parameters:
  • attribindex – int

  • size – int

  • type – int

  • relativeoffset – int

Convenience function that calls glVertexAttribIFormat(attribindex, size, type, relativeoffset).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribIFormat() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexAttribIPointer(index, size, type, stride, pointer)#
Parameters:
  • index – int

  • size – int

  • type – int

  • stride – int

  • pointervoid

Convenience function that calls glVertexAttribIPointer(index, size, type, stride, pointer).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribIPointer() .

PySide6.QtGui.QOpenGLExtraFunctions.glVertexBindingDivisor(bindingindex, divisor)#
Parameters:
  • bindingindex – int

  • divisor – int

Convenience function that calls glVertexBindingDivisor(bindingindex, divisor).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexBindingDivisor() .