예제 #1
0
 def unbind(self):
     glUseProgram(0)
     self._bound = False
예제 #2
0
 def unbind(self):
     glUseProgram(0)
     self._bound = False
예제 #3
0
 def bind(self):
     self.next_tex_slot = 0
     glUseProgram(self._handle)
     self._bound = True
예제 #4
0
 def bind(self):
     self.next_tex_slot = 0
     glUseProgram(self._handle)
     self._bound = True