'''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_APPLE_vertex_array_range'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_APPLE_vertex_array_range',False)
_p.unpack_constants( """GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
GL_STORAGE_CLIENT_APPLE 0x85B4
GL_STORAGE_CACHED_APPLE 0x85BE
GL_STORAGE_SHARED_APPLE 0x85BF""", globals())
glget.addGLGetConstant( GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE, (1,) )
@_f
@_p.types(None,_cs.GLsizei,ctypes.c_void_p)
def glVertexArrayRangeAPPLE(length,pointer):pass
@_f
@_p.types(None,_cs.GLsizei,ctypes.c_void_p)
def glFlushVertexArrayRangeAPPLE(length,pointer):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLint)
def glVertexArrayParameteriAPPLE(pname,param):pass


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