'''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_draw_indirect'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_ARB_draw_indirect',False)
_p.unpack_constants( """GL_DRAW_INDIRECT_BUFFER 0x8F3F
GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43""", globals())
@_f
@_p.types(None,_cs.GLenum,ctypes.c_void_p)
def glDrawArraysIndirect( mode,indirect ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,ctypes.c_void_p)
def glDrawElementsIndirect( mode,type,indirect ):pass


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