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 / ARB / instanced_arrays.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  888 b   |  27 lines

  1. '''OpenGL extension ARB.instanced_arrays
  2.  
  3. The official definition of this extension is available here:
  4.     http://oss.sgi.com/projects/ogl-sample/registry/ARB/instanced_arrays.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_ARB_instanced_arrays'
  13.  
  14. glVertexAttribDivisor = platform.createExtensionFunction( 
  15.     'glVertexAttribDivisor', dll=platform.GL,
  16.     extension=EXTENSION_NAME,
  17.     resultType=None, 
  18.     argTypes=(constants.GLuint, constants.GLuint,),
  19.     doc = 'glVertexAttribDivisor( GLuint(index), GLuint(divisor) ) -> None',
  20.     argNames = ('index', 'divisor',),
  21. )
  22.  
  23.  
  24. def glInitInstancedArraysARB():
  25.     '''Return boolean indicating whether this extension is available'''
  26.     return extensions.hasGLExtension( EXTENSION_NAME )
  27.