Exemple #1
0
def clear_buffers(buffers):
    flags = 0x0000
    for buffer in buffers:
        flags |= buffer.attachment
    _gl.glClear(flags)
Exemple #2
0
 def clear(self):
     _gl.glClear(self.attachment)
Exemple #3
0
def clear_buffers(buffers):
    flags = 0x0000
    for buffer in buffers:
        flags |= buffer.attachment
    _gl.glClear(flags)
Exemple #4
0
 def clear(self):
     _gl.glClear(self.attachment)