'''OpenGL extension ARB.internalformat_query

Automatically generated by the get_gl_extensions script, do not edit!
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_ARB_internalformat_query'
_DEPRECATED = False
GL_NUM_SAMPLE_COUNTS = constant.Constant( 'GL_NUM_SAMPLE_COUNTS', 0x9380 )
glGetInternalformativ = platform.createExtensionFunction( 
'glGetInternalformativ',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLenum,constants.GLenum,constants.GLsizei,arrays.GLintArray,),
doc='glGetInternalformativ(GLenum(target), GLenum(internalformat), GLenum(pname), GLsizei(bufSize), GLintArray(params)) -> None',
argNames=('target','internalformat','pname','bufSize','params',),
deprecated=_DEPRECATED,
)


def glInitInternalformatQueryARB():
    '''Return boolean indicating whether this extension is available'''
    return extensions.hasGLExtension( EXTENSION_NAME )
