'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_ARB_texture_buffer_range'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_ARB_texture_buffer_range',False)
_p.unpack_constants( """GL_TEXTURE_BUFFER_OFFSET 0x919D
GL_TEXTURE_BUFFER_SIZE 0x919E
GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F""", globals())
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr)
def glTexBufferRange( target,internalformat,buffer,offset,size ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLenum,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr)
def glTextureBufferRangeEXT( texture,target,internalformat,buffer,offset,size ):pass


def glInitTextureBufferRangeARB():
    '''Return boolean indicating whether this extension is available'''
    from OpenGL import extensions
    return extensions.hasGLExtension( EXTENSION_NAME )
