Home · All Classes · Modules

QGLShader Class Reference
[QtOpenGL module]

Inherits QObject.

Types

Methods

Static Methods


Detailed Description


Type Documentation

QGLShader.ShaderTypeBit


Method Documentation

QGLShader.__init__ (self, ShaderType, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QGLShader.__init__ (self, ShaderType, QGLContext, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QGLShader.compileSourceCode (self, QByteArray)

bool QGLShader.compileSourceCode (self, QString)

bool QGLShader.compileSourceFile (self, QString)

bool QGLShader.hasOpenGLShaders (ShaderType type, QGLContext context = None)

bool QGLShader.isCompiled (self)

QString QGLShader.log (self)

int QGLShader.shaderId (self)

ShaderType QGLShader.shaderType (self)

QByteArray QGLShader.sourceCode (self)


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0