QOpenGLExtraFunctions

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

Inheritance diagram of PySide2.QtGui.QOpenGLExtraFunctions

New in version 5.6.

Synopsis

Functions

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 QOpenGLExtraFunctions

QOpenGLExtraFunctions(context)

param context

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 null, 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.

PySide2.QtGui.QOpenGLExtraFunctions.glActiveShaderProgram(pipeline, program)
Parameters
  • pipelineGLuint

  • programGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glBeginQuery(target, id)
Parameters
  • targetGLenum

  • idGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glBeginTransformFeedback(primitiveMode)
Parameters

primitiveModeGLenum

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glBindBufferBase(target, index, buffer)
Parameters
  • targetGLenum

  • indexGLuint

  • bufferGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glBindImageTexture(unit, texture, level, layered, layer, access, format)
Parameters
  • unitGLuint

  • textureGLuint

  • levelGLint

  • layeredGLboolean

  • layerGLint

  • accessGLenum

  • formatGLenum

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glBindProgramPipeline(pipeline)
Parameters

pipelineGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glBindSampler(unit, sampler)
Parameters
  • unitGLuint

  • samplerGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glBindTransformFeedback(target, id)
Parameters
  • targetGLenum

  • idGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glBindVertexArray(array)
Parameters

arrayGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glBlendBarrier()

Convenience function that calls .

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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glBlendEquationSeparatei(buf, modeRGB, modeAlpha)
Parameters
  • bufGLuint

  • modeRGBGLenum

  • modeAlphaGLenum

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glBlendEquationi(buf, mode)
Parameters
  • bufGLuint

  • modeGLenum

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha)
Parameters
  • bufGLuint

  • srcRGBGLenum

  • dstRGBGLenum

  • srcAlphaGLenum

  • dstAlphaGLenum

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glBlendFunci(buf, src, dst)
Parameters
  • bufGLuint

  • srcGLenum

  • dstGLenum

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
Parameters
  • srcX0GLint

  • srcY0GLint

  • srcX1GLint

  • srcY1GLint

  • dstX0GLint

  • dstY0GLint

  • dstX1GLint

  • dstY1GLint

  • maskGLbitfield

  • filterGLenum

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glClearBufferfi(buffer, drawbuffer, depth, stencil)
Parameters
  • bufferGLenum

  • drawbufferGLint

  • depthGLfloat

  • stencilGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glClearBufferfv(buffer, drawbuffer, value)
Parameters
  • bufferGLenum

  • drawbufferGLint

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glClearBufferiv(buffer, drawbuffer, value)
Parameters
  • bufferGLenum

  • drawbufferGLint

  • valueGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glClearBufferuiv(buffer, drawbuffer, value)
Parameters
  • bufferGLenum

  • drawbufferGLint

  • valueGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glColorMaski(index, r, g, b, a)
Parameters
  • indexGLuint

  • rGLboolean

  • gGLboolean

  • bGLboolean

  • aGLboolean

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data)
Parameters
  • targetGLenum

  • levelGLint

  • internalformatGLenum

  • widthGLsizei

  • heightGLsizei

  • depthGLsizei

  • borderGLint

  • imageSizeGLsizei

  • datavoid

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data)
Parameters
  • targetGLenum

  • levelGLint

  • xoffsetGLint

  • yoffsetGLint

  • zoffsetGLint

  • widthGLsizei

  • heightGLsizei

  • depthGLsizei

  • formatGLenum

  • imageSizeGLsizei

  • datavoid

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glCopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth)
Parameters
  • srcNameGLuint

  • srcTargetGLenum

  • srcLevelGLint

  • srcXGLint

  • srcYGLint

  • srcZGLint

  • dstNameGLuint

  • dstTargetGLenum

  • dstLevelGLint

  • dstXGLint

  • dstYGLint

  • dstZGLint

  • srcWidthGLsizei

  • srcHeightGLsizei

  • srcDepthGLsizei

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
Parameters
  • targetGLenum

  • levelGLint

  • xoffsetGLint

  • yoffsetGLint

  • zoffsetGLint

  • xGLint

  • yGLint

  • widthGLsizei

  • heightGLsizei

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDebugMessageControl(source, type, severity, count, ids, enabled)
Parameters
  • sourceGLenum

  • typeGLenum

  • severityGLenum

  • countGLsizei

  • idsGLuint

  • enabledGLboolean

Convenience function that calls (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.2 documentation for glDebugMessageContro().

PySide2.QtGui.QOpenGLExtraFunctions.glDebugMessageInsert(source, type, id, severity, length, buf)
Parameters
  • sourceGLenum

  • typeGLenum

  • idGLuint

  • severityGLenum

  • lengthGLsizei

  • buf – str

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glDeleteProgramPipelines(n, pipelines)
Parameters
  • nGLsizei

  • pipelinesGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDeleteQueries(n, ids)
Parameters
  • nGLsizei

  • idsGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDeleteSamplers(count, samplers)
Parameters
  • countGLsizei

  • samplersGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDeleteTransformFeedbacks(n, ids)
Parameters
  • nGLsizei

  • idsGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDeleteVertexArrays(n, arrays)
Parameters
  • nGLsizei

  • arraysGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDisablei(target, index)
Parameters
  • targetGLenum

  • indexGLuint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glDispatchCompute(num_groups_x, num_groups_y, num_groups_z)
Parameters
  • num_groups_xGLuint

  • num_groups_yGLuint

  • num_groups_zGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDrawArraysIndirect(mode, indirect)
Parameters
  • modeGLenum

  • indirectvoid

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDrawArraysInstanced(mode, first, count, instancecount)
Parameters
  • modeGLenum

  • firstGLint

  • countGLsizei

  • instancecountGLsizei

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDrawBuffers(n, bufs)
Parameters
  • nGLsizei

  • bufsGLenum

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDrawElementsBaseVertex(mode, count, type, indices, basevertex)
Parameters
  • modeGLenum

  • countGLsizei

  • typeGLenum

  • indicesvoid

  • basevertexGLint

Convenience function that calls (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.2 documentation for glDrawElementsBaseVerte().

PySide2.QtGui.QOpenGLExtraFunctions.glDrawElementsIndirect(mode, type, indirect)
Parameters
  • modeGLenum

  • typeGLenum

  • indirectvoid

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDrawElementsInstanced(mode, count, type, indices, instancecount)
Parameters
  • modeGLenum

  • countGLsizei

  • typeGLenum

  • indicesvoid

  • instancecountGLsizei

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex)
Parameters
  • modeGLenum

  • countGLsizei

  • typeGLenum

  • indicesvoid

  • instancecountGLsizei

  • basevertexGLint

Convenience function that calls (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.2 documentation for glDrawElementsInstancedBaseVerte().

PySide2.QtGui.QOpenGLExtraFunctions.glDrawRangeElements(mode, start, end, count, type, indices)
Parameters
  • modeGLenum

  • startGLuint

  • endGLuint

  • countGLsizei

  • typeGLenum

  • indicesvoid

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex)
Parameters
  • modeGLenum

  • startGLuint

  • endGLuint

  • countGLsizei

  • typeGLenum

  • indicesvoid

  • basevertexGLint

Convenience function that calls (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.2 documentation for glDrawRangeElementsBaseVerte().

PySide2.QtGui.QOpenGLExtraFunctions.glEnablei(target, index)
Parameters
  • targetGLenum

  • indexGLuint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glEndQuery(target)
Parameters

targetGLenum

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glFramebufferParameteri(target, pname, param)
Parameters
  • targetGLenum

  • pnameGLenum

  • paramGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glFramebufferTexture(target, attachment, texture, level)
Parameters
  • targetGLenum

  • attachmentGLenum

  • textureGLuint

  • levelGLint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glFramebufferTextureLayer(target, attachment, texture, level, layer)
Parameters
  • targetGLenum

  • attachmentGLenum

  • textureGLuint

  • levelGLint

  • layerGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGenProgramPipelines(n, pipelines)
Parameters
  • nGLsizei

  • pipelinesGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGenQueries(n, ids)
Parameters
  • nGLsizei

  • idsGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGenSamplers(count, samplers)
Parameters
  • countGLsizei

  • samplersGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGenTransformFeedbacks(n, ids)
Parameters
  • nGLsizei

  • idsGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGenVertexArrays(n, arrays)
Parameters
  • nGLsizei

  • arraysGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params)
Parameters
  • programGLuint

  • uniformBlockIndexGLuint

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params)
Parameters
  • programGLuint

  • uniformCountGLsizei

  • uniformIndicesGLuint

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetFragDataLocation(program, name)
Parameters
  • programGLuint

  • name – str

Return type

GLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetFramebufferParameteriv(target, pname, params)
Parameters
  • targetGLenum

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetGraphicsResetStatus()
Return type

GLenum

Convenience function that calls .

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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glGetIntegeri_v(target, index, data)
Parameters
  • targetGLenum

  • indexGLuint

  • dataGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetInternalformativ(target, internalformat, pname, bufSize, params)
Parameters
  • targetGLenum

  • internalformatGLenum

  • pnameGLenum

  • bufSizeGLsizei

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetMultisamplefv(pname, index, val)
Parameters
  • pnameGLenum

  • indexGLuint

  • valGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetProgramBinary(program, bufSize, length, binaryFormat, binary)
Parameters
  • programGLuint

  • bufSizeGLsizei

  • lengthGLsizei

  • binaryFormatGLenum

  • binaryvoid

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

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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetProgramInterfaceiv(program, programInterface, pname, params)
Parameters
  • programGLuint

  • programInterfaceGLenum

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetProgramPipelineiv(pipeline, pname, params)
Parameters
  • pipelineGLuint

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetProgramResourceIndex(program, programInterface, name)
Parameters
  • programGLuint

  • programInterfaceGLenum

  • name – str

Return type

GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetProgramResourceLocation(program, programInterface, name)
Parameters
  • programGLuint

  • programInterfaceGLenum

  • name – str

Return type

GLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params)
Parameters
  • programGLuint

  • programInterfaceGLenum

  • indexGLuint

  • propCountGLsizei

  • propsGLenum

  • bufSizeGLsizei

  • lengthGLsizei

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetQueryObjectuiv(id, pname, params)
Parameters
  • idGLuint

  • pnameGLenum

  • paramsGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetQueryiv(target, pname, params)
Parameters
  • targetGLenum

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetSamplerParameterIiv(sampler, pname, params)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glGetSamplerParameterIuiv(sampler, pname, params)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramsGLuint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glGetSamplerParameterfv(sampler, pname, params)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramsGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetSamplerParameteriv(sampler, pname, params)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetStringi(name, index)
Parameters
  • nameGLenum

  • indexGLuint

Return type

GLubyte

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetTexLevelParameterfv(target, level, pname, params)
Parameters
  • targetGLenum

  • levelGLint

  • pnameGLenum

  • paramsGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetTexLevelParameteriv(target, level, pname, params)
Parameters
  • targetGLenum

  • levelGLint

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetTexParameterIiv(target, pname, params)
Parameters
  • targetGLenum

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glGetTexParameterIuiv(target, pname, params)
Parameters
  • targetGLenum

  • pnameGLenum

  • paramsGLuint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glGetUniformBlockIndex(program, uniformBlockName)
Parameters
  • programGLuint

  • uniformBlockName – str

Return type

GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetUniformuiv(program, location, params)
Parameters
  • programGLuint

  • locationGLint

  • paramsGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetVertexAttribIiv(index, pname, params)
Parameters
  • indexGLuint

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetVertexAttribIuiv(index, pname, params)
Parameters
  • indexGLuint

  • pnameGLenum

  • paramsGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glGetnUniformfv(program, location, bufSize, params)
Parameters
  • programGLuint

  • locationGLint

  • bufSizeGLsizei

  • paramsGLfloat

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glGetnUniformiv(program, location, bufSize, params)
Parameters
  • programGLuint

  • locationGLint

  • bufSizeGLsizei

  • paramsGLint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glGetnUniformuiv(program, location, bufSize, params)
Parameters
  • programGLuint

  • locationGLint

  • bufSizeGLsizei

  • paramsGLuint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glInvalidateFramebuffer(target, numAttachments, attachments)
Parameters
  • targetGLenum

  • numAttachmentsGLsizei

  • attachmentsGLenum

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height)
Parameters
  • targetGLenum

  • numAttachmentsGLsizei

  • attachmentsGLenum

  • xGLint

  • yGLint

  • widthGLsizei

  • heightGLsizei

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glIsEnabledi(target, index)
Parameters
  • targetGLenum

  • indexGLuint

Return type

GLboolean

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glIsProgramPipeline(pipeline)
Parameters

pipelineGLuint

Return type

GLboolean

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glIsQuery(id)
Parameters

idGLuint

Return type

GLboolean

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glIsSampler(sampler)
Parameters

samplerGLuint

Return type

GLboolean

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glIsTransformFeedback(id)
Parameters

idGLuint

Return type

GLboolean

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glIsVertexArray(array)
Parameters

arrayGLuint

Return type

GLboolean

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glMemoryBarrier(barriers)
Parameters

barriersGLbitfield

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glMemoryBarrierByRegion(barriers)
Parameters

barriersGLbitfield

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glMinSampleShading(value)
Parameters

valueGLfloat

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glObjectLabel(identifier, name, length, label)
Parameters
  • identifierGLenum

  • nameGLuint

  • lengthGLsizei

  • label – str

Convenience function that calls (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.2 documentation for glObjectLabe().

PySide2.QtGui.QOpenGLExtraFunctions.glObjectPtrLabel(ptr, length, label)
Parameters
  • ptrvoid

  • lengthGLsizei

  • label – str

Convenience function that calls (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.2 documentation for glObjectPtrLabe().

PySide2.QtGui.QOpenGLExtraFunctions.glPatchParameteri(pname, value)
Parameters
  • pnameGLenum

  • valueGLint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glPopDebugGroup()

Convenience function that calls .

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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glPrimitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW)
Parameters
  • minXGLfloat

  • minYGLfloat

  • minZGLfloat

  • minWGLfloat

  • maxXGLfloat

  • maxYGLfloat

  • maxZGLfloat

  • maxWGLfloat

Convenience function that calls (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.2 documentation for glPrimitiveBoundingBo().

PySide2.QtGui.QOpenGLExtraFunctions.glProgramBinary(program, binaryFormat, binary, length)
Parameters
  • programGLuint

  • binaryFormatGLenum

  • binaryvoid

  • lengthGLsizei

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramParameteri(program, pname, value)
Parameters
  • programGLuint

  • pnameGLenum

  • valueGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform1f(program, location, v0)
Parameters
  • programGLuint

  • locationGLint

  • v0GLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform1fv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform1i(program, location, v0)
Parameters
  • programGLuint

  • locationGLint

  • v0GLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform1iv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform1ui(program, location, v0)
Parameters
  • programGLuint

  • locationGLint

  • v0GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform1uiv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform2f(program, location, v0, v1)
Parameters
  • programGLuint

  • locationGLint

  • v0GLfloat

  • v1GLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform2fv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform2i(program, location, v0, v1)
Parameters
  • programGLuint

  • locationGLint

  • v0GLint

  • v1GLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform2iv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform2ui(program, location, v0, v1)
Parameters
  • programGLuint

  • locationGLint

  • v0GLuint

  • v1GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform2uiv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform3f(program, location, v0, v1, v2)
Parameters
  • programGLuint

  • locationGLint

  • v0GLfloat

  • v1GLfloat

  • v2GLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform3fv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform3i(program, location, v0, v1, v2)
Parameters
  • programGLuint

  • locationGLint

  • v0GLint

  • v1GLint

  • v2GLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform3iv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform3ui(program, location, v0, v1, v2)
Parameters
  • programGLuint

  • locationGLint

  • v0GLuint

  • v1GLuint

  • v2GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform3uiv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform4f(program, location, v0, v1, v2, v3)
Parameters
  • programGLuint

  • locationGLint

  • v0GLfloat

  • v1GLfloat

  • v2GLfloat

  • v3GLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform4fv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform4i(program, location, v0, v1, v2, v3)
Parameters
  • programGLuint

  • locationGLint

  • v0GLint

  • v1GLint

  • v2GLint

  • v3GLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform4iv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform4ui(program, location, v0, v1, v2, v3)
Parameters
  • programGLuint

  • locationGLint

  • v0GLuint

  • v1GLuint

  • v2GLuint

  • v3GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniform4uiv(program, location, count, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • valueGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix2fv(program, location, count, transpose, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix2x3fv(program, location, count, transpose, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix2x4fv(program, location, count, transpose, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix3fv(program, location, count, transpose, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix3x2fv(program, location, count, transpose, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix3x4fv(program, location, count, transpose, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix4fv(program, location, count, transpose, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix4x2fv(program, location, count, transpose, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glProgramUniformMatrix4x3fv(program, location, count, transpose, value)
Parameters
  • programGLuint

  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glPushDebugGroup(source, id, length, message)
Parameters
  • sourceGLenum

  • idGLuint

  • lengthGLsizei

  • message – str

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glReadBuffer(mode)
Parameters

modeGLenum

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glReadnPixels(x, y, width, height, format, type, bufSize, data)
Parameters
  • xGLint

  • yGLint

  • widthGLsizei

  • heightGLsizei

  • formatGLenum

  • typeGLenum

  • bufSizeGLsizei

  • datavoid

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
Parameters
  • targetGLenum

  • samplesGLsizei

  • internalformatGLenum

  • widthGLsizei

  • heightGLsizei

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glSampleMaski(maskNumber, mask)
Parameters
  • maskNumberGLuint

  • maskGLbitfield

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glSamplerParameterIiv(sampler, pname, param)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramGLint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glSamplerParameterIuiv(sampler, pname, param)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramGLuint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glSamplerParameterf(sampler, pname, param)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glSamplerParameterfv(sampler, pname, param)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glSamplerParameteri(sampler, pname, param)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glSamplerParameteriv(sampler, pname, param)
Parameters
  • samplerGLuint

  • pnameGLenum

  • paramGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glTexBuffer(target, internalformat, buffer)
Parameters
  • targetGLenum

  • internalformatGLenum

  • bufferGLuint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels)
Parameters
  • targetGLenum

  • levelGLint

  • internalformatGLint

  • widthGLsizei

  • heightGLsizei

  • depthGLsizei

  • borderGLint

  • formatGLenum

  • typeGLenum

  • pixelsvoid

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glTexParameterIiv(target, pname, params)
Parameters
  • targetGLenum

  • pnameGLenum

  • paramsGLint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glTexParameterIuiv(target, pname, params)
Parameters
  • targetGLenum

  • pnameGLenum

  • paramsGLuint

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glTexStorage2D(target, levels, internalformat, width, height)
Parameters
  • targetGLenum

  • levelsGLsizei

  • internalformatGLenum

  • widthGLsizei

  • heightGLsizei

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations)
Parameters
  • targetGLenum

  • samplesGLsizei

  • internalformatGLenum

  • widthGLsizei

  • heightGLsizei

  • fixedsamplelocationsGLboolean

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glTexStorage3D(target, levels, internalformat, width, height, depth)
Parameters
  • targetGLenum

  • levelsGLsizei

  • internalformatGLenum

  • widthGLsizei

  • heightGLsizei

  • depthGLsizei

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations)
Parameters
  • targetGLenum

  • samplesGLsizei

  • internalformatGLenum

  • widthGLsizei

  • heightGLsizei

  • depthGLsizei

  • fixedsamplelocationsGLboolean

Convenience function that calls (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.2 documentation for .

PySide2.QtGui.QOpenGLExtraFunctions.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels)
Parameters
  • targetGLenum

  • levelGLint

  • xoffsetGLint

  • yoffsetGLint

  • zoffsetGLint

  • widthGLsizei

  • heightGLsizei

  • depthGLsizei

  • formatGLenum

  • typeGLenum

  • pixelsvoid

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniform1ui(location, v0)
Parameters
  • locationGLint

  • v0GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniform1uiv(location, count, value)
Parameters
  • locationGLint

  • countGLsizei

  • valueGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniform2ui(location, v0, v1)
Parameters
  • locationGLint

  • v0GLuint

  • v1GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniform2uiv(location, count, value)
Parameters
  • locationGLint

  • countGLsizei

  • valueGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniform3ui(location, v0, v1, v2)
Parameters
  • locationGLint

  • v0GLuint

  • v1GLuint

  • v2GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniform3uiv(location, count, value)
Parameters
  • locationGLint

  • countGLsizei

  • valueGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniform4ui(location, v0, v1, v2, v3)
Parameters
  • locationGLint

  • v0GLuint

  • v1GLuint

  • v2GLuint

  • v3GLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniform4uiv(location, count, value)
Parameters
  • locationGLint

  • countGLsizei

  • valueGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding)
Parameters
  • programGLuint

  • uniformBlockIndexGLuint

  • uniformBlockBindingGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniformMatrix2x3fv(location, count, transpose, value)
Parameters
  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniformMatrix2x4fv(location, count, transpose, value)
Parameters
  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniformMatrix3x2fv(location, count, transpose, value)
Parameters
  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniformMatrix3x4fv(location, count, transpose, value)
Parameters
  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniformMatrix4x2fv(location, count, transpose, value)
Parameters
  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUniformMatrix4x3fv(location, count, transpose, value)
Parameters
  • locationGLint

  • countGLsizei

  • transposeGLboolean

  • valueGLfloat

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUnmapBuffer(target)
Parameters

targetGLenum

Return type

GLboolean

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glUseProgramStages(pipeline, stages, program)
Parameters
  • pipelineGLuint

  • stagesGLbitfield

  • programGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glValidateProgramPipeline(pipeline)
Parameters

pipelineGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexAttribBinding(attribindex, bindingindex)
Parameters
  • attribindexGLuint

  • bindingindexGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexAttribDivisor(index, divisor)
Parameters
  • indexGLuint

  • divisorGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset)
Parameters
  • attribindexGLuint

  • sizeGLint

  • typeGLenum

  • normalizedGLboolean

  • relativeoffsetGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexAttribI4i(index, x, y, z, w)
Parameters
  • indexGLuint

  • xGLint

  • yGLint

  • zGLint

  • wGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexAttribI4iv(index, v)
Parameters
  • indexGLuint

  • vGLint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexAttribI4ui(index, x, y, z, w)
Parameters
  • indexGLuint

  • xGLuint

  • yGLuint

  • zGLuint

  • wGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexAttribI4uiv(index, v)
Parameters
  • indexGLuint

  • vGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexAttribIFormat(attribindex, size, type, relativeoffset)
Parameters
  • attribindexGLuint

  • sizeGLint

  • typeGLenum

  • relativeoffsetGLuint

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexAttribIPointer(index, size, type, stride, pointer)
Parameters
  • indexGLuint

  • sizeGLint

  • typeGLenum

  • strideGLsizei

  • pointervoid

Convenience function that calls (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 .

PySide2.QtGui.QOpenGLExtraFunctions.glVertexBindingDivisor(bindingindex, divisor)
Parameters
  • bindingindexGLuint

  • divisorGLuint

Convenience function that calls (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 .