Shader
- class Shader[source]
Bases:
object
The shader used by the OpenGL view.
Methods
Bind the shader program.
Release (unbind) the shader program.
Store a uniform float in the shader program at a named location.
Store a uniform integer in the shader program at a named location.
Store a uniform list of 3 floats in the shader program at a named location.
Store a uniform 4x4 transformation matrix in the shader program at a named location.