Bases: exceptions.Exception
Bases: object
Intended to cut boilerplate when doing simple shaders
name : string with program name vertex_code : None or string with the vertex shader code fragment_code : None or string with the fragment shader code
var : name of variable to write unit : texture unit target : target for glBindTexture tx : texture ID