home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Multimedia / k3d-setup-0.7.11.0.exe / lib / site-packages / OpenGL / raw / GL / SGIS / point_parameters.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  1.5 KB  |  39 lines

  1. '''OpenGL extension SGIS.point_parameters
  2.  
  3. The official definition of this extension is available here:
  4.     http://oss.sgi.com/projects/ogl-sample/registry/SGIS/point_parameters.txt
  5.  
  6. Automatically generated by the get_gl_extensions script, do not edit!
  7. '''
  8. from OpenGL import platform, constants, constant, arrays
  9. from OpenGL import extensions
  10. from OpenGL.GL import glget
  11. import ctypes
  12. EXTENSION_NAME = 'GL_SGIS_point_parameters'
  13. GL_POINT_SIZE_MIN_SGIS = constant.Constant( 'GL_POINT_SIZE_MIN_SGIS', 0x8126 )
  14. GL_POINT_SIZE_MAX_SGIS = constant.Constant( 'GL_POINT_SIZE_MAX_SGIS', 0x8127 )
  15. GL_POINT_FADE_THRESHOLD_SIZE_SGIS = constant.Constant( 'GL_POINT_FADE_THRESHOLD_SIZE_SGIS', 0x8128 )
  16. GL_DISTANCE_ATTENUATION_SGIS = constant.Constant( 'GL_DISTANCE_ATTENUATION_SGIS', 0x8129 )
  17. glPointParameterfSGIS = platform.createExtensionFunction( 
  18.     'glPointParameterfSGIS', dll=platform.GL,
  19.     extension=EXTENSION_NAME,
  20.     resultType=None, 
  21.     argTypes=(constants.GLenum, constants.GLfloat,),
  22.     doc = 'glPointParameterfSGIS( GLenum(pname), GLfloat(param) ) -> None',
  23.     argNames = ('pname', 'param',),
  24. )
  25.  
  26. glPointParameterfvSGIS = platform.createExtensionFunction( 
  27.     'glPointParameterfvSGIS', dll=platform.GL,
  28.     extension=EXTENSION_NAME,
  29.     resultType=None, 
  30.     argTypes=(constants.GLenum, arrays.GLfloatArray,),
  31.     doc = 'glPointParameterfvSGIS( GLenum(pname), GLfloatArray(params) ) -> None',
  32.     argNames = ('pname', 'params',),
  33. )
  34.  
  35.  
  36. def glInitPointParametersSGIS():
  37.     '''Return boolean indicating whether this extension is available'''
  38.     return extensions.hasGLExtension( EXTENSION_NAME )
  39.