(buffer, ndim)
Bind a texture buffer.
Bind a texture buffer.
Bind a texture buffer .
def bind(buffer, ndim):
        """Bind a texture buffer."""
        textype = getattr(gl, "GL_TEXTURE_%dD" % ndim)
        gl.glBindTexture(textype, buffer)
def bind ( buffer , ndim ) : textype = getattr ( gl , "GL_TEXTURE_%dD" % ndim ) gl . glBindTexture ( textype , buffer )