def clear_buffers(buffers): flags = 0x0000 for buffer in buffers: flags |= buffer.attachment _gl.glClear(flags)
def clear(self): _gl.glClear(self.attachment)