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 / SGIX / polynomial_ffd.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  3.0 KB  |  57 lines

  1. '''OpenGL extension SGIX.polynomial_ffd
  2.  
  3. The official definition of this extension is available here:
  4.     http://oss.sgi.com/projects/ogl-sample/registry/SGIX/polynomial_ffd.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_SGIX_polynomial_ffd'
  13. GL_GEOMETRY_DEFORMATION_SGIX = constant.Constant( 'GL_GEOMETRY_DEFORMATION_SGIX', 0x8194 )
  14. GL_TEXTURE_DEFORMATION_SGIX = constant.Constant( 'GL_TEXTURE_DEFORMATION_SGIX', 0x8195 )
  15. GL_DEFORMATIONS_MASK_SGIX = constant.Constant( 'GL_DEFORMATIONS_MASK_SGIX', 0x8196 )
  16. GL_MAX_DEFORMATION_ORDER_SGIX = constant.Constant( 'GL_MAX_DEFORMATION_ORDER_SGIX', 0x8197 )
  17. glDeformationMap3dSGIX = platform.createExtensionFunction( 
  18.     'glDeformationMap3dSGIX', dll=platform.GL,
  19.     extension=EXTENSION_NAME,
  20.     resultType=None, 
  21.     argTypes=(constants.GLenum, constants.GLdouble, constants.GLdouble, constants.GLint, constants.GLint, constants.GLdouble, constants.GLdouble, constants.GLint, constants.GLint, constants.GLdouble, constants.GLdouble, constants.GLint, constants.GLint, arrays.GLdoubleArray,),
  22.     doc = 'glDeformationMap3dSGIX( GLenum(target), GLdouble(u1), GLdouble(u2), GLint(ustride), GLint(uorder), GLdouble(v1), GLdouble(v2), GLint(vstride), GLint(vorder), GLdouble(w1), GLdouble(w2), GLint(wstride), GLint(worder), GLdoubleArray(points) ) -> None',
  23.     argNames = ('target', 'u1', 'u2', 'ustride', 'uorder', 'v1', 'v2', 'vstride', 'vorder', 'w1', 'w2', 'wstride', 'worder', 'points',),
  24. )
  25.  
  26. glDeformationMap3fSGIX = platform.createExtensionFunction( 
  27.     'glDeformationMap3fSGIX', dll=platform.GL,
  28.     extension=EXTENSION_NAME,
  29.     resultType=None, 
  30.     argTypes=(constants.GLenum, constants.GLfloat, constants.GLfloat, constants.GLint, constants.GLint, constants.GLfloat, constants.GLfloat, constants.GLint, constants.GLint, constants.GLfloat, constants.GLfloat, constants.GLint, constants.GLint, arrays.GLfloatArray,),
  31.     doc = 'glDeformationMap3fSGIX( GLenum(target), GLfloat(u1), GLfloat(u2), GLint(ustride), GLint(uorder), GLfloat(v1), GLfloat(v2), GLint(vstride), GLint(vorder), GLfloat(w1), GLfloat(w2), GLint(wstride), GLint(worder), GLfloatArray(points) ) -> None',
  32.     argNames = ('target', 'u1', 'u2', 'ustride', 'uorder', 'v1', 'v2', 'vstride', 'vorder', 'w1', 'w2', 'wstride', 'worder', 'points',),
  33. )
  34.  
  35. glDeformSGIX = platform.createExtensionFunction( 
  36.     'glDeformSGIX', dll=platform.GL,
  37.     extension=EXTENSION_NAME,
  38.     resultType=None, 
  39.     argTypes=(constants.GLbitfield,),
  40.     doc = 'glDeformSGIX( GLbitfield(mask) ) -> None',
  41.     argNames = ('mask',),
  42. )
  43.  
  44. glLoadIdentityDeformationMapSGIX = platform.createExtensionFunction( 
  45.     'glLoadIdentityDeformationMapSGIX', dll=platform.GL,
  46.     extension=EXTENSION_NAME,
  47.     resultType=None, 
  48.     argTypes=(constants.GLbitfield,),
  49.     doc = 'glLoadIdentityDeformationMapSGIX( GLbitfield(mask) ) -> None',
  50.     argNames = ('mask',),
  51. )
  52.  
  53.  
  54. def glInitPolynomialFfdSGIX():
  55.     '''Return boolean indicating whether this extension is available'''
  56.     return extensions.hasGLExtension( EXTENSION_NAME )
  57.