'''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_texture3D'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_EXT_texture3D',False)
_p.unpack_constants( """GL_PACK_SKIP_IMAGES_EXT 0x806B
GL_PACK_IMAGE_HEIGHT_EXT 0x806C
GL_UNPACK_SKIP_IMAGES_EXT 0x806D
GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
GL_TEXTURE_3D_EXT 0x806F
GL_PROXY_TEXTURE_3D_EXT 0x8070
GL_TEXTURE_DEPTH_EXT 0x8071
GL_TEXTURE_WRAP_R_EXT 0x8072
GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073""", globals())
glget.addGLGetConstant( GL_PACK_SKIP_IMAGES_EXT, (1,) )
glget.addGLGetConstant( GL_PACK_IMAGE_HEIGHT_EXT, (1,) )
glget.addGLGetConstant( GL_UNPACK_SKIP_IMAGES_EXT, (1,) )
glget.addGLGetConstant( GL_UNPACK_IMAGE_HEIGHT_EXT, (1,) )
glget.addGLGetConstant( GL_TEXTURE_3D_EXT, (1,) )
glget.addGLGetConstant( GL_MAX_3D_TEXTURE_SIZE_EXT, (1,) )
@_f
@_p.types(None,_cs.GLenum,_cs.GLint,_cs.GLenum,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei,_cs.GLint,_cs.GLenum,_cs.GLenum,ctypes.c_void_p)
def glTexImage3DEXT(target,level,internalformat,width,height,depth,border,format,type,pixels):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei,_cs.GLenum,_cs.GLenum,ctypes.c_void_p)
def glTexSubImage3DEXT(target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels):pass


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