Skip to content

PythonQt.QtOpenGL.QGLFunctions · declarations 003

Back to PythonQt.QtOpenGL.QGLFunctions

glUniform1fv

glUniform1fv(location: Any, count: Any, v: Any) -> Any

X.glUniform1fv(location, count, v)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform1fv(GLint location, GLsizei count, const GLfloat *v)

Convenience function that calls glUniform1fv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform1fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform1fv

glUniform1i

glUniform1i(location: Any, x: Any) -> Any

X.glUniform1i(location, x)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform1i(GLint location, GLint x)

Convenience function that calls glUniform1i(location, x).

For more information, see the OpenGL ES 2.0 documentation for glUniform1i().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform1i

glUniform1iv

glUniform1iv(location: Any, count: Any, v: Any) -> Any

X.glUniform1iv(location, count, v)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform1iv(GLint location, GLsizei count, const GLint *v)

Convenience function that calls glUniform1iv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform1iv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform1iv

glUniform2f

glUniform2f(location: Any, x: Any, y: Any) -> Any

X.glUniform2f(location, x, y)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform2f(GLint location, GLfloat x, GLfloat y)

Convenience function that calls glUniform2f(location, x, y).

For more information, see the OpenGL ES 2.0 documentation for glUniform2f().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform2f

glUniform2fv

glUniform2fv(location: Any, count: Any, v: Any) -> Any

X.glUniform2fv(location, count, v)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform2fv(GLint location, GLsizei count, const GLfloat *v)

Convenience function that calls glUniform2fv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform2fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform2fv

glUniform2i

glUniform2i(location: Any, x: Any, y: Any) -> Any

X.glUniform2i(location, x, y)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform2i(GLint location, GLint x, GLint y)

Convenience function that calls glUniform2i(location, x, y).

For more information, see the OpenGL ES 2.0 documentation for glUniform2i().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform2i

glUniform2iv

glUniform2iv(location: Any, count: Any, v: Any) -> Any

X.glUniform2iv(location, count, v)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform2iv(GLint location, GLsizei count, const GLint *v)

Convenience function that calls glUniform2iv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform2iv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform2iv

glUniform3f

glUniform3f(location: Any, x: Any, y: Any, z: Any) -> Any

X.glUniform3f(location, x, y, z)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z)

Convenience function that calls glUniform3f(location, x, y, z).

For more information, see the OpenGL ES 2.0 documentation for glUniform3f().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform3f

glUniform3fv

glUniform3fv(location: Any, count: Any, v: Any) -> Any

X.glUniform3fv(location, count, v)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform3fv(GLint location, GLsizei count, const GLfloat *v)

Convenience function that calls glUniform3fv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform3fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform3fv

glUniform3i

glUniform3i(location: Any, x: Any, y: Any, z: Any) -> Any

X.glUniform3i(location, x, y, z)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform3i(GLint location, GLint x, GLint y, GLint z)

Convenience function that calls glUniform3i(location, x, y, z).

For more information, see the OpenGL ES 2.0 documentation for glUniform3i().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform3i

glUniform3iv

glUniform3iv(location: Any, count: Any, v: Any) -> Any

X.glUniform3iv(location, count, v)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform3iv(GLint location, GLsizei count, const GLint *v)

Convenience function that calls glUniform3iv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform3iv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform3iv

glUniform4f

glUniform4f(location: Any, x: Any, y: Any, z: Any, w: Any) -> Any

X.glUniform4f(location, x, y, z, w)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w)

Convenience function that calls glUniform4f(location, x, y, z, w).

For more information, see the OpenGL ES 2.0 documentation for glUniform4f().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform4f

glUniform4fv

glUniform4fv(location: Any, count: Any, v: Any) -> Any

X.glUniform4fv(location, count, v)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform4fv(GLint location, GLsizei count, const GLfloat *v)

Convenience function that calls glUniform4fv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform4fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform4fv

glUniform4i

glUniform4i(location: Any, x: Any, y: Any, z: Any, w: Any) -> Any

X.glUniform4i(location, x, y, z, w)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w)

Convenience function that calls glUniform4i(location, x, y, z, w).

For more information, see the OpenGL ES 2.0 documentation for glUniform4i().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform4i

glUniform4iv

glUniform4iv(location: Any, count: Any, v: Any) -> Any

X.glUniform4iv(location, count, v)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniform4iv(GLint location, GLsizei count, const GLint *v)

Convenience function that calls glUniform4iv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform4iv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniform4iv

glUniformMatrix2fv

glUniformMatrix2fv(location: Any, count: Any, transpose: Any, value: Any) -> Any

X.glUniformMatrix2fv(location, count, transpose, value)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)

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

For more information, see the OpenGL ES 2.0 documentation for glUniformMatrix2fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniformMatrix2fv

glUniformMatrix3fv

glUniformMatrix3fv(location: Any, count: Any, transpose: Any, value: Any) -> Any

X.glUniformMatrix3fv(location, count, transpose, value)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)

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

For more information, see the OpenGL ES 2.0 documentation for glUniformMatrix3fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniformMatrix3fv

glUniformMatrix4fv

glUniformMatrix4fv(location: Any, count: Any, transpose: Any, value: Any) -> Any

X.glUniformMatrix4fv(location, count, transpose, value)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)

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

For more information, see the OpenGL ES 2.0 documentation for glUniformMatrix4fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUniformMatrix4fv

glUseProgram

glUseProgram(program: Any) -> Any

X.glUseProgram(program)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glUseProgram(GLuint program)

Convenience function that calls glUseProgram(program).

For more information, see the OpenGL ES 2.0 documentation for glUseProgram().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glUseProgram

glValidateProgram

glValidateProgram(program: Any) -> Any

X.glValidateProgram(program)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glValidateProgram(GLuint program)

Convenience function that calls glValidateProgram(program).

For more information, see the OpenGL ES 2.0 documentation for glValidateProgram().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glValidateProgram

glVertexAttrib1f

glVertexAttrib1f(indx: Any, x: Any) -> Any

X.glVertexAttrib1f(indx, x)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glVertexAttrib1f(GLuint indx, GLfloat x)

Convenience function that calls glVertexAttrib1f(indx, x).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib1f().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glVertexAttrib1f

glVertexAttrib1fv

glVertexAttrib1fv(indx: Any, values: Any) -> Any

X.glVertexAttrib1fv(indx, values)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glVertexAttrib1fv(GLuint indx, const GLfloat *values)

Convenience function that calls glVertexAttrib1fv(indx, values).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib1fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glVertexAttrib1fv

glVertexAttrib2f

glVertexAttrib2f(indx: Any, x: Any, y: Any) -> Any

X.glVertexAttrib2f(indx, x, y)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y)

Convenience function that calls glVertexAttrib2f(indx, x, y).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib2f().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glVertexAttrib2f

glVertexAttrib2fv

glVertexAttrib2fv(indx: Any, values: Any) -> Any

X.glVertexAttrib2fv(indx, values)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glVertexAttrib2fv(GLuint indx, const GLfloat *values)

Convenience function that calls glVertexAttrib2fv(indx, values).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib2fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glVertexAttrib2fv

glVertexAttrib3f

glVertexAttrib3f(indx: Any, x: Any, y: Any, z: Any) -> Any

X.glVertexAttrib3f(indx, x, y, z)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z)

Convenience function that calls glVertexAttrib3f(indx, x, y, z).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib3f().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glVertexAttrib3f

glVertexAttrib3fv

glVertexAttrib3fv(indx: Any, values: Any) -> Any

X.glVertexAttrib3fv(indx, values)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glVertexAttrib3fv(GLuint indx, const GLfloat *values)

Convenience function that calls glVertexAttrib3fv(indx, values).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib3fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glVertexAttrib3fv

glVertexAttrib4f

glVertexAttrib4f(indx: Any, x: Any, y: Any, z: Any, w: Any) -> Any

X.glVertexAttrib4f(indx, x, y, z, w)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)

Convenience function that calls glVertexAttrib4f(indx, x, y, z, w).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib4f().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glVertexAttrib4f

glVertexAttrib4fv

glVertexAttrib4fv(indx: Any, values: Any) -> Any

X.glVertexAttrib4fv(indx, values)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glVertexAttrib4fv(GLuint indx, const GLfloat *values)

Convenience function that calls glVertexAttrib4fv(indx, values).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib4fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glVertexAttrib4fv

glVertexAttribPointer

glVertexAttribPointer(indx: Any, size: Any, type: Any, normalized: Any, stride: Any, ptr: Any) -> Any

X.glVertexAttribPointer(indx, size, type, normalized, stride, ptr)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *ptr)

Convenience function that calls glVertexAttribPointer(indx, size, type, normalized, stride, ptr).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttribPointer().

This convenience function will do nothing on OpenGL ES 1.x systems.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#glVertexAttribPointer

hasOpenGLFeature

hasOpenGLFeature(feature: Any) -> bool

X.hasOpenGLFeature(feature) -> bool

Supplemental documentation: Qt 5 reference:

bool QGLFunctions::hasOpenGLFeature(QGLFunctions::OpenGLFeature feature) const

Returns true if feature is present on this system's OpenGL implementation; false otherwise.

It is assumed that the QGLContext associated with this function resolver is current.

See also openGLFeatures().

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#hasOpenGLFeature

initializeGLFunctions

initializeGLFunctions(context: Any) -> Any

X.initializeGLFunctions(context)

Supplemental documentation: Qt 5 reference:

void QGLFunctions::initializeGLFunctions(const QGLContext *context \= nullptr)

Initializes GL function resolution for context. If context is nullptr, then the current QGLContext will be used.

After calling this function, the QGLFunctions object can only be used with context and other contexts that share with it. Call initializeGLFunctions() again to change the object's context association.

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#initializeGLFunctions

openGLFeatures

openGLFeatures() -> Any

X.openGLFeatures()

Supplemental documentation: Qt 5 reference:

QGLFunctions::OpenGLFeatures QGLFunctions::openGLFeatures() const

Returns the set of features that are present on this system's OpenGL implementation.

It is assumed that the QGLContext associated with this function resolver is current.

See also hasOpenGLFeature().

Source: https://doc.qt.io/archives/qt-5.15/qglfunctions.html#openGLFeatures