Manages GLSL programs.
|
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
checkExtensions(self,
extensions)
Checks if all extensions in a list are present. |
source code
|
|
|
|
_checkOpenGLError(self)
Checks if there are OpenGL error messages. |
source code
|
|
|
|
reset(self)
Disables and removes all shader programs. |
source code
|
|
|
|
|
|
|
add_shader_text(self,
shaderType,
sourceString)
Loads a program from string and compiles it. |
source code
|
|
|
|
linkShaders(self)
Links compiled shader programs. |
source code
|
|
|
|
|
|
|
disable(self)
De-activates shader programs. |
source code
|
|
|
|
indexOfUniformVariable(self,
variableName)
Finds the index of a uniform variable. |
source code
|
|
|
|
indexOfVertexAttribute(self,
attributeName)
Finds the index of an attribute variable. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|