'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p
from OpenGL.GL import glget
EXTENSION_NAME = 'GL_NV_texture_rectangle'
_p.unpack_constants( """GL_TEXTURE_RECTANGLE_NV 0x84F5
GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8""", globals())
glget.addGLGetConstant( GL_TEXTURE_RECTANGLE_NV, (1,) )
glget.addGLGetConstant( GL_TEXTURE_BINDING_RECTANGLE_NV, (1,) )
glget.addGLGetConstant( GL_MAX_RECTANGLE_TEXTURE_SIZE_NV, (1,) )


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