firestryker's picture
download
raw
694 Bytes
from OpenGL.arrays import vbo
from OpenGL.GL.VERSION import GL_1_5, GL_3_0, GL_3_1
class Implementation( vbo.Implementation ):
"""OpenGL-based implementation of VBO interfaces"""
def __init__( self ):
for name in self.EXPORTED_NAMES:
found = False
for source in (GL_1_5,GL_3_0, GL_3_1):
try:
setattr( self, name, getattr( source, name ))
except AttributeError as err:
pass
else:
found = True
break
assert found, name
if GL_1_5.glBufferData:
self.available = True
Implementation.register()

Xet Storage Details

Size:
694 Bytes
·
Xet hash:
98899e018c5c7f3f506e2454da8634bc2ad18d362179280d93e7867a5a9f52fe

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.