内容表

上一话题

QOpenGLDebugMessage

下一话题

QOpenGLFramebufferObject

QOpenGLExtraFunctions

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

Inheritance diagram of PySide2.QtGui.QOpenGLExtraFunctions

New in version 5.6.

概要

函数

详细描述

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.

注意

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 None , then the resolver will be created for the current QOpenGLContext .

The context or another context in the group must be current.

An object constructed in this way can only be used with context and other contexts that share with it. Use initializeOpenGLFunctions() to change the object’s context association.

PySide2.QtGui.QOpenGLExtraFunctions. glActiveShaderProgram ( pipeline , program )
参数
  • pipeline GLuint

  • program GLuint

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 glActiveShaderProgram() .

PySide2.QtGui.QOpenGLExtraFunctions. glBeginQuery ( target , id )
参数
  • target GLenum

  • id GLuint

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 glBeginQuery() .

PySide2.QtGui.QOpenGLExtraFunctions. glBeginTransformFeedback ( primitiveMode )
参数

primitiveMode GLenum

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 glBeginTransformFeedback() .

PySide2.QtGui.QOpenGLExtraFunctions. glBindBufferBase ( target , index , buffer )
参数
  • target GLenum

  • index GLuint

  • buffer GLuint

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 glBindBufferBase() .

PySide2.QtGui.QOpenGLExtraFunctions. glBindImageTexture ( unit , texture , level , layered , layer , access , format )
参数
  • unit GLuint

  • texture GLuint

  • level GLint

  • layered GLboolean

  • layer GLint

  • access GLenum

  • format GLenum

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 glBindImageTexture() .

PySide2.QtGui.QOpenGLExtraFunctions. glBindProgramPipeline ( pipeline )
参数

pipeline GLuint

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 glBindProgramPipeline() .

PySide2.QtGui.QOpenGLExtraFunctions. glBindSampler ( unit , sampler )
参数
  • unit GLuint

  • sampler GLuint

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 glBindSampler() .

PySide2.QtGui.QOpenGLExtraFunctions. glBindTransformFeedback ( target , id )
参数
  • target GLenum

  • id GLuint

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 glBindTransformFeedback() .

PySide2.QtGui.QOpenGLExtraFunctions. glBindVertexArray ( array )
参数

array GLuint

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 glBindVertexArray() .

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 glBlendBarrier() .

PySide2.QtGui.QOpenGLExtraFunctions. glBlendEquationSeparatei ( buf , modeRGB , modeAlpha )
参数
  • buf GLuint

  • modeRGB GLenum

  • modeAlpha GLenum

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 glBlendEquationSeparatei() .

PySide2.QtGui.QOpenGLExtraFunctions. glBlendEquationi ( buf , mode )
参数
  • buf GLuint

  • mode GLenum

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 glBlendEquationi() .

PySide2.QtGui.QOpenGLExtraFunctions. glBlendFuncSeparatei ( buf , srcRGB , dstRGB , srcAlpha , dstAlpha )
参数
  • buf GLuint

  • srcRGB GLenum

  • dstRGB GLenum

  • srcAlpha GLenum

  • dstAlpha GLenum

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 glBlendFuncSeparatei() .

PySide2.QtGui.QOpenGLExtraFunctions. glBlendFunci ( buf , src , dst )
参数
  • buf GLuint

  • src GLenum

  • dst GLenum

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 glBlendFunci() .

PySide2.QtGui.QOpenGLExtraFunctions. glBlitFramebuffer ( srcX0 , srcY0 , srcX1 , srcY1 , dstX0 , dstY0 , dstX1 , dstY1 , mask , filter )
参数
  • srcX0 GLint

  • srcY0 GLint

  • srcX1 GLint

  • srcY1 GLint

  • dstX0 GLint

  • dstY0 GLint

  • dstX1 GLint

  • dstY1 GLint

  • mask GLbitfield

  • filter GLenum

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 glBlitFramebuffer() .

PySide2.QtGui.QOpenGLExtraFunctions. glClearBufferfi ( buffer , drawbuffer , depth , stencil )
参数
  • buffer GLenum

  • drawbuffer GLint

  • depth GLfloat

  • stencil GLint

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 glClearBufferfi() .

PySide2.QtGui.QOpenGLExtraFunctions. glClearBufferfv ( buffer , drawbuffer , value )
参数
  • buffer GLenum

  • drawbuffer GLint

  • value GLfloat

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 glClearBufferfv() .

PySide2.QtGui.QOpenGLExtraFunctions. glClearBufferiv ( buffer , drawbuffer , value )
参数
  • buffer GLenum

  • drawbuffer GLint

  • value GLint

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 glClearBufferiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glClearBufferuiv ( buffer , drawbuffer , value )
参数
  • buffer GLenum

  • drawbuffer GLint

  • value GLuint

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 glClearBufferuiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glColorMaski ( index , r , g , b , a )
参数
  • index GLuint

  • r GLboolean

  • g GLboolean

  • b GLboolean

  • a GLboolean

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 glColorMaski() .

PySide2.QtGui.QOpenGLExtraFunctions. glCompressedTexImage3D ( target , level , internalformat , width , height , depth , border , imageSize , data )
参数
  • target GLenum

  • level GLint

  • internalformat GLenum

  • width GLsizei

  • height GLsizei

  • depth GLsizei

  • border GLint

  • imageSize GLsizei

  • data void

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 glCompressedTexImage3D() .

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

  • level GLint

  • xoffset GLint

  • yoffset GLint

  • zoffset GLint

  • width GLsizei

  • height GLsizei

  • depth GLsizei

  • format GLenum

  • imageSize GLsizei

  • data void

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 glCompressedTexSubImage3D() .

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

  • srcTarget GLenum

  • srcLevel GLint

  • srcX GLint

  • srcY GLint

  • srcZ GLint

  • dstName GLuint

  • dstTarget GLenum

  • dstLevel GLint

  • dstX GLint

  • dstY GLint

  • dstZ GLint

  • srcWidth GLsizei

  • srcHeight GLsizei

  • srcDepth GLsizei

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 glCopyImageSubData() .

PySide2.QtGui.QOpenGLExtraFunctions. glCopyTexSubImage3D ( target , level , xoffset , yoffset , zoffset , x , y , width , height )
参数
  • target GLenum

  • level GLint

  • xoffset GLint

  • yoffset GLint

  • zoffset GLint

  • x GLint

  • y GLint

  • width GLsizei

  • height GLsizei

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 glCopyTexSubImage3D() .

PySide2.QtGui.QOpenGLExtraFunctions. glDebugMessageControl ( source , type , severity , count , ids , enabled )
参数
  • source GLenum

  • type GLenum

  • severity GLenum

  • count GLsizei

  • ids GLuint

  • enabled GLboolean

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 )
参数
  • source GLenum

  • type GLenum

  • id GLuint

  • severity GLenum

  • length GLsizei

  • 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 glDebugMessageInsert() .

PySide2.QtGui.QOpenGLExtraFunctions. glDeleteProgramPipelines ( n , pipelines )
参数
  • n GLsizei

  • pipelines GLuint

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 glDeleteProgramPipelines() .

PySide2.QtGui.QOpenGLExtraFunctions. glDeleteQueries ( n , ids )
参数
  • n GLsizei

  • ids GLuint

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 glDeleteQueries() .

PySide2.QtGui.QOpenGLExtraFunctions. glDeleteSamplers ( count , samplers )
参数
  • count GLsizei

  • samplers GLuint

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 glDeleteSamplers() .

PySide2.QtGui.QOpenGLExtraFunctions. glDeleteTransformFeedbacks ( n , ids )
参数
  • n GLsizei

  • ids GLuint

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 glDeleteTransformFeedbacks() .

PySide2.QtGui.QOpenGLExtraFunctions. glDeleteVertexArrays ( n , arrays )
参数
  • n GLsizei

  • arrays GLuint

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 glDeleteVertexArrays() .

PySide2.QtGui.QOpenGLExtraFunctions. glDisablei ( target , index )
参数
  • target GLenum

  • index GLuint

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 glDisablei() .

PySide2.QtGui.QOpenGLExtraFunctions. glDispatchCompute ( num_groups_x , num_groups_y , num_groups_z )
参数
  • num_groups_x GLuint

  • num_groups_y GLuint

  • num_groups_z GLuint

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 glDispatchCompute() .

PySide2.QtGui.QOpenGLExtraFunctions. glDrawArraysIndirect ( mode , indirect )
参数
  • mode GLenum

  • indirect void

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 glDrawArraysIndirect() .

PySide2.QtGui.QOpenGLExtraFunctions. glDrawArraysInstanced ( mode , first , count , instancecount )
参数
  • mode GLenum

  • first GLint

  • count GLsizei

  • instancecount GLsizei

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 glDrawArraysInstanced() .

PySide2.QtGui.QOpenGLExtraFunctions. glDrawBuffers ( n , bufs )
参数
  • n GLsizei

  • bufs GLenum

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 glDrawBuffers() .

PySide2.QtGui.QOpenGLExtraFunctions. glDrawElementsBaseVertex ( mode , count , type , indices , basevertex )
参数
  • mode GLenum

  • count GLsizei

  • type GLenum

  • indices void

  • basevertex GLint

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 )
参数
  • mode GLenum

  • type GLenum

  • indirect void

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 glDrawElementsIndirect() .

PySide2.QtGui.QOpenGLExtraFunctions. glDrawElementsInstanced ( mode , count , type , indices , instancecount )
参数
  • mode GLenum

  • count GLsizei

  • type GLenum

  • indices void

  • instancecount GLsizei

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 glDrawElementsInstanced() .

PySide2.QtGui.QOpenGLExtraFunctions. glDrawElementsInstancedBaseVertex ( mode , count , type , indices , instancecount , basevertex )
参数
  • mode GLenum

  • count GLsizei

  • type GLenum

  • indices void

  • instancecount GLsizei

  • basevertex GLint

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 )
参数
  • mode GLenum

  • start GLuint

  • end GLuint

  • count GLsizei

  • type GLenum

  • indices void

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 glDrawRangeElements() .

PySide2.QtGui.QOpenGLExtraFunctions. glDrawRangeElementsBaseVertex ( mode , start , end , count , type , indices , basevertex )
参数
  • mode GLenum

  • start GLuint

  • end GLuint

  • count GLsizei

  • type GLenum

  • indices void

  • basevertex GLint

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 )
参数
  • target GLenum

  • index GLuint

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 glEnablei() .

PySide2.QtGui.QOpenGLExtraFunctions. glEndQuery ( target )
参数

target GLenum

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 glEndQuery() .

PySide2.QtGui.QOpenGLExtraFunctions. glFramebufferParameteri ( target , pname , param )
参数
  • target GLenum

  • pname GLenum

  • param GLint

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 glFramebufferParameteri() .

PySide2.QtGui.QOpenGLExtraFunctions. glFramebufferTexture ( target , attachment , texture , level )
参数
  • target GLenum

  • attachment GLenum

  • texture GLuint

  • level GLint

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 glFramebufferTexture() .

PySide2.QtGui.QOpenGLExtraFunctions. glFramebufferTextureLayer ( target , attachment , texture , level , layer )
参数
  • target GLenum

  • attachment GLenum

  • texture GLuint

  • level GLint

  • layer GLint

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 glFramebufferTextureLayer() .

PySide2.QtGui.QOpenGLExtraFunctions. glGenProgramPipelines ( n , pipelines )
参数
  • n GLsizei

  • pipelines GLuint

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 glGenProgramPipelines() .

PySide2.QtGui.QOpenGLExtraFunctions. glGenQueries ( n , ids )
参数
  • n GLsizei

  • ids GLuint

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 glGenQueries() .

PySide2.QtGui.QOpenGLExtraFunctions. glGenSamplers ( count , samplers )
参数
  • count GLsizei

  • samplers GLuint

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 glGenSamplers() .

PySide2.QtGui.QOpenGLExtraFunctions. glGenTransformFeedbacks ( n , ids )
参数
  • n GLsizei

  • ids GLuint

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 glGenTransformFeedbacks() .

PySide2.QtGui.QOpenGLExtraFunctions. glGenVertexArrays ( n , arrays )
参数
  • n GLsizei

  • arrays GLuint

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 glGenVertexArrays() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetActiveUniformBlockiv ( program , uniformBlockIndex , pname , params )
参数
  • program GLuint

  • uniformBlockIndex GLuint

  • pname GLenum

  • params GLint

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 glGetActiveUniformBlockiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetActiveUniformsiv ( program , uniformCount , uniformIndices , pname , params )
参数
  • program GLuint

  • uniformCount GLsizei

  • uniformIndices GLuint

  • pname GLenum

  • params GLint

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 glGetActiveUniformsiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetFragDataLocation ( program , name )
参数
  • program GLuint

  • name – str

返回类型

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 glGetFragDataLocation() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetFramebufferParameteriv ( target , pname , params )
参数
  • target GLenum

  • pname GLenum

  • params GLint

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 glGetFramebufferParameteriv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetGraphicsResetStatus ( )
返回类型

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 glGetGraphicsResetStatus() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetIntegeri_v ( target , index , data )
参数
  • target GLenum

  • index GLuint

  • data GLint

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 glGetIntegeri_v() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetInternalformativ ( target , internalformat , pname , bufSize , params )
参数
  • target GLenum

  • internalformat GLenum

  • pname GLenum

  • bufSize GLsizei

  • params GLint

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 glGetInternalformativ() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetMultisamplefv ( pname , index , val )
参数
  • pname GLenum

  • index GLuint

  • val GLfloat

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 glGetMultisamplefv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetProgramBinary ( program , bufSize , length , binaryFormat , binary )
参数
  • program GLuint

  • bufSize GLsizei

  • length GLsizei

  • binaryFormat GLenum

  • binary void

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 glGetProgramBinary() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetProgramInterfaceiv ( program , programInterface , pname , params )
参数
  • program GLuint

  • programInterface GLenum

  • pname GLenum

  • params GLint

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 glGetProgramInterfaceiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetProgramPipelineiv ( pipeline , pname , params )
参数
  • pipeline GLuint

  • pname GLenum

  • params GLint

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 glGetProgramPipelineiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetProgramResourceIndex ( program , programInterface , name )
参数
  • program GLuint

  • programInterface GLenum

  • name – str

返回类型

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 glGetProgramResourceIndex() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetProgramResourceLocation ( program , programInterface , name )
参数
  • program GLuint

  • programInterface GLenum

  • name – str

返回类型

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 glGetProgramResourceLocation() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetProgramResourceiv ( program , programInterface , index , propCount , props , bufSize , length , params )
参数
  • program GLuint

  • programInterface GLenum

  • index GLuint

  • propCount GLsizei

  • props GLenum

  • bufSize GLsizei

  • length GLsizei

  • params GLint

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 glGetProgramResourceiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetQueryObjectuiv ( id , pname , params )
参数
  • id GLuint

  • pname GLenum

  • params GLuint

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 glGetQueryObjectuiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetQueryiv ( target , pname , params )
参数
  • target GLenum

  • pname GLenum

  • params GLint

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 glGetQueryiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetSamplerParameterIiv ( sampler , pname , params )
参数
  • sampler GLuint

  • pname GLenum

  • params GLint

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 glGetSamplerParameterIiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetSamplerParameterIuiv ( sampler , pname , params )
参数
  • sampler GLuint

  • pname GLenum

  • params GLuint

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 glGetSamplerParameterIuiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetSamplerParameterfv ( sampler , pname , params )
参数
  • sampler GLuint

  • pname GLenum

  • params GLfloat

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 glGetSamplerParameterfv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetSamplerParameteriv ( sampler , pname , params )
参数
  • sampler GLuint

  • pname GLenum

  • params GLint

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 glGetSamplerParameteriv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetStringi ( name , index )
参数
  • name GLenum

  • index GLuint

返回类型

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 glGetStringi() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetTexLevelParameterfv ( target , level , pname , params )
参数
  • target GLenum

  • level GLint

  • pname GLenum

  • params GLfloat

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 glGetTexLevelParameterfv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetTexLevelParameteriv ( target , level , pname , params )
参数
  • target GLenum

  • level GLint

  • pname GLenum

  • params GLint

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 glGetTexLevelParameteriv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetTexParameterIiv ( target , pname , params )
参数
  • target GLenum

  • pname GLenum

  • params GLint

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 glGetTexParameterIiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetTexParameterIuiv ( target , pname , params )
参数
  • target GLenum

  • pname GLenum

  • params GLuint

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 glGetTexParameterIuiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetUniformBlockIndex ( program , uniformBlockName )
参数
  • program GLuint

  • uniformBlockName – str

返回类型

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 glGetUniformBlockIndex() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetUniformuiv ( program , location , params )
参数
  • program GLuint

  • location GLint

  • params GLuint

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 glGetUniformuiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetVertexAttribIiv ( index , pname , params )
参数
  • index GLuint

  • pname GLenum

  • params GLint

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 glGetVertexAttribIiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetVertexAttribIuiv ( index , pname , params )
参数
  • index GLuint

  • pname GLenum

  • params GLuint

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 glGetVertexAttribIuiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetnUniformfv ( program , location , bufSize , params )
参数
  • program GLuint

  • location GLint

  • bufSize GLsizei

  • params GLfloat

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 glGetnUniformfv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetnUniformiv ( program , location , bufSize , params )
参数
  • program GLuint

  • location GLint

  • bufSize GLsizei

  • params GLint

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 glGetnUniformiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glGetnUniformuiv ( program , location , bufSize , params )
参数
  • program GLuint

  • location GLint

  • bufSize GLsizei

  • params GLuint

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 glGetnUniformuiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glInvalidateFramebuffer ( target , numAttachments , attachments )
参数
  • target GLenum

  • numAttachments GLsizei

  • attachments GLenum

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 glInvalidateFramebuffer() .

PySide2.QtGui.QOpenGLExtraFunctions. glInvalidateSubFramebuffer ( target , numAttachments , attachments , x , y , width , height )
参数
  • target GLenum

  • numAttachments GLsizei

  • attachments GLenum

  • x GLint

  • y GLint

  • width GLsizei

  • height GLsizei

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 glInvalidateSubFramebuffer() .

PySide2.QtGui.QOpenGLExtraFunctions. glIsEnabledi ( target , index )
参数
  • target GLenum

  • index GLuint

返回类型

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 glIsEnabledi() .

PySide2.QtGui.QOpenGLExtraFunctions. glIsProgramPipeline ( pipeline )
参数

pipeline GLuint

返回类型

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 glIsProgramPipeline() .

PySide2.QtGui.QOpenGLExtraFunctions. glIsQuery ( id )
参数

id GLuint

返回类型

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 glIsQuery() .

PySide2.QtGui.QOpenGLExtraFunctions. glIsSampler ( sampler )
参数

sampler GLuint

返回类型

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 glIsSampler() .

PySide2.QtGui.QOpenGLExtraFunctions. glIsTransformFeedback ( id )
参数

id GLuint

返回类型

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 glIsTransformFeedback() .

PySide2.QtGui.QOpenGLExtraFunctions. glIsVertexArray ( array )
参数

array GLuint

返回类型

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 glIsVertexArray() .

PySide2.QtGui.QOpenGLExtraFunctions. glMemoryBarrier ( barriers )
参数

barriers GLbitfield

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 glMemoryBarrier() .

PySide2.QtGui.QOpenGLExtraFunctions. glMemoryBarrierByRegion ( barriers )
参数

barriers GLbitfield

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 glMemoryBarrierByRegion() .

PySide2.QtGui.QOpenGLExtraFunctions. glMinSampleShading ( value )
参数

value GLfloat

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 glMinSampleShading() .

PySide2.QtGui.QOpenGLExtraFunctions. glObjectLabel ( identifier , name , length , label )
参数
  • identifier GLenum

  • name GLuint

  • length GLsizei

  • 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 )
参数
  • ptr void

  • length GLsizei

  • 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 )
参数
  • pname GLenum

  • value GLint

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 glPatchParameteri() .

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 glPopDebugGroup() .

PySide2.QtGui.QOpenGLExtraFunctions. glPrimitiveBoundingBox ( minX , minY , minZ , minW , maxX , maxY , maxZ , maxW )
参数
  • minX GLfloat

  • minY GLfloat

  • minZ GLfloat

  • minW GLfloat

  • maxX GLfloat

  • maxY GLfloat

  • maxZ GLfloat

  • maxW GLfloat

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 )
参数
  • program GLuint

  • binaryFormat GLenum

  • binary void

  • length GLsizei

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 glProgramBinary() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramParameteri ( program , pname , value )
参数
  • program GLuint

  • pname GLenum

  • value GLint

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 glProgramParameteri() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform1f ( program , location , v0 )
参数
  • program GLuint

  • location GLint

  • v0 GLfloat

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 glProgramUniform1f() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform1fv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLfloat

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 glProgramUniform1fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform1i ( program , location , v0 )
参数
  • program GLuint

  • location GLint

  • v0 GLint

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 glProgramUniform1i() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform1iv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLint

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 glProgramUniform1iv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform1ui ( program , location , v0 )
参数
  • program GLuint

  • location GLint

  • v0 GLuint

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 glProgramUniform1ui() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform1uiv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLuint

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 glProgramUniform1uiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform2f ( program , location , v0 , v1 )
参数
  • program GLuint

  • location GLint

  • v0 GLfloat

  • v1 GLfloat

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 glProgramUniform2f() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform2fv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLfloat

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 glProgramUniform2fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform2i ( program , location , v0 , v1 )
参数
  • program GLuint

  • location GLint

  • v0 GLint

  • v1 GLint

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 glProgramUniform2i() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform2iv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLint

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 glProgramUniform2iv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform2ui ( program , location , v0 , v1 )
参数
  • program GLuint

  • location GLint

  • v0 GLuint

  • v1 GLuint

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 glProgramUniform2ui() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform2uiv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLuint

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 glProgramUniform2uiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform3f ( program , location , v0 , v1 , v2 )
参数
  • program GLuint

  • location GLint

  • v0 GLfloat

  • v1 GLfloat

  • v2 GLfloat

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 glProgramUniform3f() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform3fv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLfloat

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 glProgramUniform3fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform3i ( program , location , v0 , v1 , v2 )
参数
  • program GLuint

  • location GLint

  • v0 GLint

  • v1 GLint

  • v2 GLint

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 glProgramUniform3i() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform3iv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLint

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 glProgramUniform3iv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform3ui ( program , location , v0 , v1 , v2 )
参数
  • program GLuint

  • location GLint

  • v0 GLuint

  • v1 GLuint

  • v2 GLuint

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 glProgramUniform3ui() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform3uiv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLuint

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 glProgramUniform3uiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform4f ( program , location , v0 , v1 , v2 , v3 )
参数
  • program GLuint

  • location GLint

  • v0 GLfloat

  • v1 GLfloat

  • v2 GLfloat

  • v3 GLfloat

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 glProgramUniform4f() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform4fv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLfloat

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 glProgramUniform4fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform4i ( program , location , v0 , v1 , v2 , v3 )
参数
  • program GLuint

  • location GLint

  • v0 GLint

  • v1 GLint

  • v2 GLint

  • v3 GLint

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 glProgramUniform4i() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform4iv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLint

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 glProgramUniform4iv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform4ui ( program , location , v0 , v1 , v2 , v3 )
参数
  • program GLuint

  • location GLint

  • v0 GLuint

  • v1 GLuint

  • v2 GLuint

  • v3 GLuint

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 glProgramUniform4ui() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniform4uiv ( program , location , count , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • value GLuint

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 glProgramUniform4uiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniformMatrix2fv ( program , location , count , transpose , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glProgramUniformMatrix2fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniformMatrix2x3fv ( program , location , count , transpose , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glProgramUniformMatrix2x3fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniformMatrix2x4fv ( program , location , count , transpose , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glProgramUniformMatrix2x4fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniformMatrix3fv ( program , location , count , transpose , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glProgramUniformMatrix3fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniformMatrix3x2fv ( program , location , count , transpose , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glProgramUniformMatrix3x2fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniformMatrix3x4fv ( program , location , count , transpose , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glProgramUniformMatrix3x4fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniformMatrix4fv ( program , location , count , transpose , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glProgramUniformMatrix4fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniformMatrix4x2fv ( program , location , count , transpose , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glProgramUniformMatrix4x2fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glProgramUniformMatrix4x3fv ( program , location , count , transpose , value )
参数
  • program GLuint

  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glProgramUniformMatrix4x3fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glPushDebugGroup ( source , id , length , message )
参数
  • source GLenum

  • id GLuint

  • length GLsizei

  • 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 glPushDebugGroup() .

PySide2.QtGui.QOpenGLExtraFunctions. glReadBuffer ( mode )
参数

mode GLenum

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 glReadBuffer() .

PySide2.QtGui.QOpenGLExtraFunctions. glReadnPixels ( x , y , width , height , format , type , bufSize , data )
参数
  • x GLint

  • y GLint

  • width GLsizei

  • height GLsizei

  • format GLenum

  • type GLenum

  • bufSize GLsizei

  • data void

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 glReadnPixels() .

PySide2.QtGui.QOpenGLExtraFunctions. glRenderbufferStorageMultisample ( target , samples , internalformat , width , height )
参数
  • target GLenum

  • samples GLsizei

  • internalformat GLenum

  • width GLsizei

  • height GLsizei

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 glRenderbufferStorageMultisample() .

PySide2.QtGui.QOpenGLExtraFunctions. glSampleMaski ( maskNumber , mask )
参数
  • maskNumber GLuint

  • mask GLbitfield

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 glSampleMaski() .

PySide2.QtGui.QOpenGLExtraFunctions. glSamplerParameterIiv ( sampler , pname , param )
参数
  • sampler GLuint

  • pname GLenum

  • param GLint

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 glSamplerParameterIiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glSamplerParameterIuiv ( sampler , pname , param )
参数
  • sampler GLuint

  • pname GLenum

  • param GLuint

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 glSamplerParameterIuiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glSamplerParameterf ( sampler , pname , param )
参数
  • sampler GLuint

  • pname GLenum

  • param GLfloat

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 glSamplerParameterf() .

PySide2.QtGui.QOpenGLExtraFunctions. glSamplerParameterfv ( sampler , pname , param )
参数
  • sampler GLuint

  • pname GLenum

  • param GLfloat

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 glSamplerParameterfv() .

PySide2.QtGui.QOpenGLExtraFunctions. glSamplerParameteri ( sampler , pname , param )
参数
  • sampler GLuint

  • pname GLenum

  • param GLint

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 glSamplerParameteri() .

PySide2.QtGui.QOpenGLExtraFunctions. glSamplerParameteriv ( sampler , pname , param )
参数
  • sampler GLuint

  • pname GLenum

  • param GLint

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 glSamplerParameteriv() .

PySide2.QtGui.QOpenGLExtraFunctions. glTexBuffer ( target , internalformat , buffer )
参数
  • target GLenum

  • internalformat GLenum

  • buffer GLuint

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 glTexBuffer() .

PySide2.QtGui.QOpenGLExtraFunctions. glTexImage3D ( target , level , internalformat , width , height , depth , border , format , type , pixels )
参数
  • target GLenum

  • level GLint

  • internalformat GLint

  • width GLsizei

  • height GLsizei

  • depth GLsizei

  • border GLint

  • format GLenum

  • type GLenum

  • pixels void

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 glTexImage3D() .

PySide2.QtGui.QOpenGLExtraFunctions. glTexParameterIiv ( target , pname , params )
参数
  • target GLenum

  • pname GLenum

  • params GLint

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 glTexParameterIiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glTexParameterIuiv ( target , pname , params )
参数
  • target GLenum

  • pname GLenum

  • params GLuint

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 glTexParameterIuiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glTexStorage2D ( target , levels , internalformat , width , height )
参数
  • target GLenum

  • levels GLsizei

  • internalformat GLenum

  • width GLsizei

  • height GLsizei

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 glTexStorage2D() .

PySide2.QtGui.QOpenGLExtraFunctions. glTexStorage2DMultisample ( target , samples , internalformat , width , height , fixedsamplelocations )
参数
  • target GLenum

  • samples GLsizei

  • internalformat GLenum

  • width GLsizei

  • height GLsizei

  • fixedsamplelocations GLboolean

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 glTexStorage2DMultisample() .

PySide2.QtGui.QOpenGLExtraFunctions. glTexStorage3D ( target , levels , internalformat , width , height , depth )
参数
  • target GLenum

  • levels GLsizei

  • internalformat GLenum

  • width GLsizei

  • height GLsizei

  • depth GLsizei

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 glTexStorage3D() .

PySide2.QtGui.QOpenGLExtraFunctions. glTexStorage3DMultisample ( target , samples , internalformat , width , height , depth , fixedsamplelocations )
参数
  • target GLenum

  • samples GLsizei

  • internalformat GLenum

  • width GLsizei

  • height GLsizei

  • depth GLsizei

  • fixedsamplelocations GLboolean

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 glTexStorage3DMultisample() .

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

  • level GLint

  • xoffset GLint

  • yoffset GLint

  • zoffset GLint

  • width GLsizei

  • height GLsizei

  • depth GLsizei

  • format GLenum

  • type GLenum

  • pixels void

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 glTexSubImage3D() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniform1ui ( location , v0 )
参数
  • location GLint

  • v0 GLuint

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 glUniform1ui() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniform1uiv ( location , count , value )
参数
  • location GLint

  • count GLsizei

  • value GLuint

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 glUniform1uiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniform2ui ( location , v0 , v1 )
参数
  • location GLint

  • v0 GLuint

  • v1 GLuint

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 glUniform2ui() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniform2uiv ( location , count , value )
参数
  • location GLint

  • count GLsizei

  • value GLuint

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 glUniform2uiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniform3ui ( location , v0 , v1 , v2 )
参数
  • location GLint

  • v0 GLuint

  • v1 GLuint

  • v2 GLuint

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 glUniform3ui() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniform3uiv ( location , count , value )
参数
  • location GLint

  • count GLsizei

  • value GLuint

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 glUniform3uiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniform4ui ( location , v0 , v1 , v2 , v3 )
参数
  • location GLint

  • v0 GLuint

  • v1 GLuint

  • v2 GLuint

  • v3 GLuint

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 glUniform4ui() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniform4uiv ( location , count , value )
参数
  • location GLint

  • count GLsizei

  • value GLuint

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 glUniform4uiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniformBlockBinding ( program , uniformBlockIndex , uniformBlockBinding )
参数
  • program GLuint

  • uniformBlockIndex GLuint

  • uniformBlockBinding GLuint

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 glUniformBlockBinding() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniformMatrix2x3fv ( location , count , transpose , value )
参数
  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glUniformMatrix2x3fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniformMatrix2x4fv ( location , count , transpose , value )
参数
  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glUniformMatrix2x4fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniformMatrix3x2fv ( location , count , transpose , value )
参数
  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glUniformMatrix3x2fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniformMatrix3x4fv ( location , count , transpose , value )
参数
  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glUniformMatrix3x4fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniformMatrix4x2fv ( location , count , transpose , value )
参数
  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glUniformMatrix4x2fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUniformMatrix4x3fv ( location , count , transpose , value )
参数
  • location GLint

  • count GLsizei

  • transpose GLboolean

  • value GLfloat

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 glUniformMatrix4x3fv() .

PySide2.QtGui.QOpenGLExtraFunctions. glUnmapBuffer ( target )
参数

target GLenum

返回类型

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 glUnmapBuffer() .

PySide2.QtGui.QOpenGLExtraFunctions. glUseProgramStages ( pipeline , stages , program )
参数
  • pipeline GLuint

  • stages GLbitfield

  • program GLuint

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 glUseProgramStages() .

PySide2.QtGui.QOpenGLExtraFunctions. glValidateProgramPipeline ( pipeline )
参数

pipeline GLuint

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 glValidateProgramPipeline() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexAttribBinding ( attribindex , bindingindex )
参数
  • attribindex GLuint

  • bindingindex GLuint

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 glVertexAttribBinding() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexAttribDivisor ( index , divisor )
参数
  • index GLuint

  • divisor GLuint

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 glVertexAttribDivisor() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexAttribFormat ( attribindex , size , type , normalized , relativeoffset )
参数
  • attribindex GLuint

  • size GLint

  • type GLenum

  • normalized GLboolean

  • relativeoffset GLuint

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 glVertexAttribFormat() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexAttribI4i ( index , x , y , z , w )
参数
  • index GLuint

  • x GLint

  • y GLint

  • z GLint

  • w GLint

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 glVertexAttribI4i() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexAttribI4iv ( index , v )
参数
  • index GLuint

  • v GLint

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 glVertexAttribI4iv() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexAttribI4ui ( index , x , y , z , w )
参数
  • index GLuint

  • x GLuint

  • y GLuint

  • z GLuint

  • w GLuint

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 glVertexAttribI4ui() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexAttribI4uiv ( index , v )
参数
  • index GLuint

  • v GLuint

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 glVertexAttribI4uiv() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexAttribIFormat ( attribindex , size , type , relativeoffset )
参数
  • attribindex GLuint

  • size GLint

  • type GLenum

  • relativeoffset GLuint

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 glVertexAttribIFormat() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexAttribIPointer ( index , size , type , stride , pointer )
参数
  • index GLuint

  • size GLint

  • type GLenum

  • stride GLsizei

  • pointer void

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 glVertexAttribIPointer() .

PySide2.QtGui.QOpenGLExtraFunctions. glVertexBindingDivisor ( bindingindex , divisor )
参数
  • bindingindex GLuint

  • divisor GLuint

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 glVertexBindingDivisor() .