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 / IBM / cull_vertex.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  971 b   |  28 lines

  1. '''OpenGL extension IBM.cull_vertex
  2.  
  3. Overview (from the spec)
  4.     
  5.     IBM_cull_vertex provides a subset of the vertex culling functionality
  6.     found in EXT_cull_vertex without providing a guarantee that faces will
  7.     be culled because of it.  EXT_cull_vertex is a technically superior
  8.     solution, but the vertex culling aspect of IBM_cull_vertex provides
  9.     generally useful function cheaply (without imposing the mandated
  10.     culling found in EXT_cull_vertex).
  11.  
  12. The official definition of this extension is available here:
  13.     http://oss.sgi.com/projects/ogl-sample/registry/IBM/cull_vertex.txt
  14.  
  15. Automatically generated by the get_gl_extensions script, do not edit!
  16. '''
  17. from OpenGL import platform, constants, constant, arrays
  18. from OpenGL import extensions
  19. from OpenGL.GL import glget
  20. import ctypes
  21. EXTENSION_NAME = 'GL_IBM_cull_vertex'
  22.  
  23.  
  24.  
  25. def glInitCullVertexIBM():
  26.     '''Return boolean indicating whether this extension is available'''
  27.     return extensions.hasGLExtension( EXTENSION_NAME )
  28.