'''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_ARB_point_parameters'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_ARB_point_parameters',False)
_p.unpack_constants( """GL_POINT_SIZE_MIN_ARB 0x8126
GL_POINT_SIZE_MAX_ARB 0x8127
GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129""", globals())
glget.addGLGetConstant( GL_POINT_SIZE_MIN_ARB, (1,) )
glget.addGLGetConstant( GL_POINT_SIZE_MAX_ARB, (1,) )
glget.addGLGetConstant( GL_POINT_FADE_THRESHOLD_SIZE_ARB, (1,) )
glget.addGLGetConstant( GL_POINT_DISTANCE_ATTENUATION_ARB, (3,) )
@_f
@_p.types(None,_cs.GLenum,_cs.GLfloat)
def glPointParameterfARB( pname,param ):pass
@_f
@_p.types(None,_cs.GLenum,arrays.GLfloatArray)
def glPointParameterfvARB( pname,params ):pass


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