'''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_EXT_index_material'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_EXT_index_material',False)
_p.unpack_constants( """GL_INDEX_MATERIAL_EXT 0x81B8
GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
GL_INDEX_MATERIAL_FACE_EXT 0x81BA""", globals())
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum)
def glIndexMaterialEXT( face,mode ):pass


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