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 / NV / vertex_program3.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  1.3 KB  |  42 lines

  1. '''OpenGL extension NV.vertex_program3
  2.  
  3. Overview (from the spec)
  4.     
  5.     This extension, like the NV_vertex_program2_option extension,
  6.     provides additional vertex program functionality to extend the
  7.     standard ARB_vertex_program language and execution environment.
  8.     ARB programs wishing to use this added functionality need only add:
  9.     
  10.         OPTION NV_vertex_program3;
  11.     
  12.     to the beginning of their vertex programs.
  13.     
  14.     New functionality provided by this extension, above and beyond that
  15.     already provided by NV_vertex_program2_option extension, includes: 
  16.     
  17.         * texture lookups in vertex programs,
  18.     
  19.         * ability to push and pop address registers on the stack,
  20.     
  21.         * address register-relative addressing for vertex attribute and
  22.           result arrays, and
  23.     
  24.         * a second four-component condition code.
  25.  
  26. The official definition of this extension is available here:
  27.     http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_program3.txt
  28.  
  29. Automatically generated by the get_gl_extensions script, do not edit!
  30. '''
  31. from OpenGL import platform, constants, constant, arrays
  32. from OpenGL import extensions
  33. from OpenGL.GL import glget
  34. import ctypes
  35. EXTENSION_NAME = 'GL_NV_vertex_program3'
  36.  
  37.  
  38.  
  39. def glInitVertexProgram3NV():
  40.     '''Return boolean indicating whether this extension is available'''
  41.     return extensions.hasGLExtension( EXTENSION_NAME )
  42.