'''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_INTEL_map_texture'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_INTEL_map_texture',False)
_p.unpack_constants( """GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF""", globals())
@_f
@_p.types(None,_cs.GLuint)
def glSyncTextureINTEL(texture):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLint)
def glUnmapTexture2DINTEL(texture,level):pass
@_f
@_p.types(ctypes.c_void_p,_cs.GLuint,_cs.GLint,_cs.GLbitfield,arrays.GLintArray,arrays.GLuintArray)
def glMapTexture2DINTEL(texture,level,access,stride,layout):pass


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