def stop(self): global activeShader glew.glUseProgramObjectARB(0) activeShader = None
def use(self): global activeShader activeShader = self glew.glUseProgramObjectARB(self.programObject) self.setVars()
def DisableShaders(): global activeShader glew.glUseProgramObjectARB(0) activeShader = None