PythonQt.QtOpenGL.QGLFunctions · declarations 001
Back to PythonQt.QtOpenGL.QGLFunctions
BlendColor
instance-attribute
BlendColor: Any
BlendEquation
instance-attribute
BlendEquation: Any
BlendEquationSeparate
instance-attribute
BlendEquationSeparate: Any
BlendFuncSeparate
instance-attribute
BlendFuncSeparate: Any
BlendSubtract
instance-attribute
BlendSubtract: Any
Buffers
instance-attribute
Buffers: Any
CompressedTextures
instance-attribute
CompressedTextures: Any
Framebuffers
instance-attribute
Framebuffers: Any
Multisample
instance-attribute
Multisample: Any
Multitexture
instance-attribute
Multitexture: Any
OpenGLFeature
instance-attribute
OpenGLFeature: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
OpenGLFeatures
instance-attribute
OpenGLFeatures: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
Shaders
instance-attribute
Shaders: Any
StencilSeparate
instance-attribute
StencilSeparate: Any
glActiveTexture
glActiveTexture(texture: Any) -> Any
X.glActiveTexture(texture)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glActiveTexture(GLenum texture)
Convenience function that calls glActiveTexture(texture).
For more information, see the OpenGL ES 2.0 documentation for glActiveTexture().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glActiveTexture
glAttachShader
glAttachShader(program: Any, shader: Any) -> Any
X.glAttachShader(program, shader)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glAttachShader(GLuint program, GLuint shader)
Convenience function that calls glAttachShader(program, shader).
For more information, see the OpenGL ES 2.0 documentation for glAttachShader().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glAttachShader
glBindAttribLocation
glBindAttribLocation(program: Any, index: Any, name: Any) -> Any
X.glBindAttribLocation(program, index, name)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glBindAttribLocation(GLuint program, GLuint index, const char *name)
Convenience function that calls glBindAttribLocation(program, index, name).
For more information, see the OpenGL ES 2.0 documentation for glBindAttribLocation().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glBindAttribLocation
glBindBuffer
glBindBuffer(target: Any, buffer: Any) -> Any
X.glBindBuffer(target, buffer)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glBindBuffer(GLenum target, GLuint buffer)
Convenience function that calls glBindBuffer(target, buffer).
For more information, see the OpenGL ES 2.0 documentation for glBindBuffer().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glBindBuffer
glBindFramebuffer
glBindFramebuffer(target: Any, framebuffer: Any) -> Any
X.glBindFramebuffer(target, framebuffer)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glBindFramebuffer(GLenum target, GLuint framebuffer)
Convenience function that calls glBindFramebuffer(target, framebuffer).
Note that Qt will translate a framebuffer argument of 0 to the currently bound QOpenGLContext's defaultFramebufferObject().
For more information, see the OpenGL ES 2.0 documentation for glBindFramebuffer().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glBindFramebuffer
glBindRenderbuffer
glBindRenderbuffer(target: Any, renderbuffer: Any) -> Any
X.glBindRenderbuffer(target, renderbuffer)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glBindRenderbuffer(GLenum target, GLuint renderbuffer)
Convenience function that calls glBindRenderbuffer(target, renderbuffer).
For more information, see the OpenGL ES 2.0 documentation for glBindRenderbuffer().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glBindRenderbuffer
glBlendColor
glBlendColor(red: Any, green: Any, blue: Any, alpha: Any) -> Any
X.glBlendColor(red, green, blue, alpha)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
Convenience function that calls glBlendColor(red, green, blue, alpha).
For more information, see the OpenGL ES 2.0 documentation for glBlendColor().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glBlendColor
glBlendEquation
glBlendEquation(mode: Any) -> Any
X.glBlendEquation(mode)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glBlendEquation(GLenum mode)
Convenience function that calls glBlendEquation(mode).
For more information, see the OpenGL ES 2.0 documentation for glBlendEquation().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glBlendEquation
glBlendEquationSeparate
glBlendEquationSeparate(modeRGB: Any, modeAlpha: Any) -> Any
X.glBlendEquationSeparate(modeRGB, modeAlpha)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
Convenience function that calls glBlendEquationSeparate(modeRGB, modeAlpha).
For more information, see the OpenGL ES 2.0 documentation for glBlendEquationSeparate().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glBlendEquationSeparate
glBlendFuncSeparate
glBlendFuncSeparate(srcRGB: Any, dstRGB: Any, srcAlpha: Any, dstAlpha: Any) -> Any
X.glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
Convenience function that calls glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha).
For more information, see the OpenGL ES 2.0 documentation for glBlendFuncSeparate().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glBlendFuncSeparate
glCheckFramebufferStatus
glCheckFramebufferStatus(target: Any) -> int
X.glCheckFramebufferStatus(target) -> int
Supplemental documentation: Qt 5 reference:
GLenum QGLFunctions::glCheckFramebufferStatus(GLenum target)
Convenience function that calls glCheckFramebufferStatus(target).
For more information, see the OpenGL ES 2.0 documentation for glCheckFramebufferStatus().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glCheckFramebufferStatus
glClearDepthf
glClearDepthf(depth: Any) -> Any
X.glClearDepthf(depth)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glClearDepthf(GLclampf depth)
Convenience function that calls glClearDepth(depth) on desktop OpenGL systems and glClearDepthf(depth) on embedded OpenGL ES systems.
For more information, see the OpenGL ES 2.0 documentation for glClearDepthf().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glClearDepthf
glCompileShader
glCompileShader(shader: Any) -> Any
X.glCompileShader(shader)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glCompileShader(GLuint shader)
Convenience function that calls glCompileShader(shader).
For more information, see the OpenGL ES 2.0 documentation for glCompileShader().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glCompileShader
glCompressedTexImage2D
glCompressedTexImage2D(target: Any, level: Any, internalformat: Any, width: Any, height: Any, border: Any, imageSize: Any, data: Any) -> Any
X.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data)
Convenience function that calls glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data).
For more information, see the OpenGL ES 2.0 documentation for glCompressedTexImage2D().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glCompressedTexImage2D
glCompressedTexSubImage2D
glCompressedTexSubImage2D(target: Any, level: Any, xoffset: Any, yoffset: Any, width: Any, height: Any, format: Any, imageSize: Any, data: Any) -> Any
X.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data)
Convenience function that calls glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data).
For more information, see the OpenGL ES 2.0 documentation for glCompressedTexSubImage2D().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glCompressedTexSubImage2D
glCreateProgram
glCreateProgram() -> int
X.glCreateProgram() -> int
Supplemental documentation: Qt 5 reference:
GLuint QGLFunctions::glCreateProgram()
Convenience function that calls glCreateProgram().
For more information, see the OpenGL ES 2.0 documentation for glCreateProgram().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glCreateProgram
glCreateShader
glCreateShader(type: Any) -> int
X.glCreateShader(type) -> int
Supplemental documentation: Qt 5 reference:
GLuint QGLFunctions::glCreateShader(GLenum type)
Convenience function that calls glCreateShader(type).
For more information, see the OpenGL ES 2.0 documentation for glCreateShader().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glCreateShader
glDeleteBuffers
glDeleteBuffers(n: Any, buffers: Any) -> Any
X.glDeleteBuffers(n, buffers)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glDeleteBuffers(GLsizei n, const GLuint *buffers)
Convenience function that calls glDeleteBuffers(n, buffers).
For more information, see the OpenGL ES 2.0 documentation for glDeleteBuffers().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glDeleteBuffers
glDeleteFramebuffers
glDeleteFramebuffers(n: Any, framebuffers: Any) -> Any
X.glDeleteFramebuffers(n, framebuffers)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers)
Convenience function that calls glDeleteFramebuffers(n, framebuffers).
For more information, see the OpenGL ES 2.0 documentation for glDeleteFramebuffers().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glDeleteFramebuffers
glDeleteProgram
glDeleteProgram(program: Any) -> Any
X.glDeleteProgram(program)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glDeleteProgram(GLuint program)
Convenience function that calls glDeleteProgram(program).
For more information, see the OpenGL ES 2.0 documentation for glDeleteProgram().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glDeleteProgram
glDeleteRenderbuffers
glDeleteRenderbuffers(n: Any, renderbuffers: Any) -> Any
X.glDeleteRenderbuffers(n, renderbuffers)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers)
Convenience function that calls glDeleteRenderbuffers(n, renderbuffers).
For more information, see the OpenGL ES 2.0 documentation for glDeleteRenderbuffers().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glDeleteRenderbuffers
glDeleteShader
glDeleteShader(shader: Any) -> Any
X.glDeleteShader(shader)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glDeleteShader(GLuint shader)
Convenience function that calls glDeleteShader(shader).
For more information, see the OpenGL ES 2.0 documentation for glDeleteShader().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glDeleteShader
glDepthRangef
glDepthRangef(zNear: Any, zFar: Any) -> Any
X.glDepthRangef(zNear, zFar)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glDepthRangef(GLclampf zNear, GLclampf zFar)
Convenience function that calls glDepthRange(zNear, zFar) on desktop OpenGL systems and glDepthRangef(zNear, zFar) on embedded OpenGL ES systems.
For more information, see the OpenGL ES 2.0 documentation for glDepthRangef().
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glDepthRangef
glDetachShader
glDetachShader(program: Any, shader: Any) -> Any
X.glDetachShader(program, shader)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glDetachShader(GLuint program, GLuint shader)
Convenience function that calls glDetachShader(program, shader).
For more information, see the OpenGL ES 2.0 documentation for glDetachShader().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glDetachShader
glDisableVertexAttribArray
glDisableVertexAttribArray(index: Any) -> Any
X.glDisableVertexAttribArray(index)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glDisableVertexAttribArray(GLuint index)
Convenience function that calls glDisableVertexAttribArray(index).
For more information, see the OpenGL ES 2.0 documentation for glDisableVertexAttribArray().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glDisableVertexAttribArray
glEnableVertexAttribArray
glEnableVertexAttribArray(index: Any) -> Any
X.glEnableVertexAttribArray(index)
Supplemental documentation: Qt 5 reference:
void QGLFunctions::glEnableVertexAttribArray(GLuint index)
Convenience function that calls glEnableVertexAttribArray(index).
For more information, see the OpenGL ES 2.0 documentation for glEnableVertexAttribArray().
This convenience function will do nothing on OpenGL ES 1.x systems.
Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glEnableVertexAttribArray