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 / present_video.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  979 b   |  24 lines

  1. '''OpenGL extension NV.present_video
  2.  
  3. The official definition of this extension is available here:
  4.     http://oss.sgi.com/projects/ogl-sample/registry/NV/present_video.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_NV_present_video'
  13. GL_FRAME_NV = constant.Constant( 'GL_FRAME_NV', 0x8E26 )
  14. GL_FIELDS_NV = constant.Constant( 'GL_FIELDS_NV', 0x8E27 )
  15. GL_CURRENT_TIME_NV = constant.Constant( 'GL_CURRENT_TIME_NV', 0x8E28 )
  16. GL_NUM_FILL_STREAMS_NV = constant.Constant( 'GL_NUM_FILL_STREAMS_NV', 0x8E29 )
  17. GL_PRESENT_TIME_NV = constant.Constant( 'GL_PRESENT_TIME_NV', 0x8E2A )
  18. GL_PRESENT_DURATION_NV = constant.Constant( 'GL_PRESENT_DURATION_NV', 0x8E2B )
  19.  
  20.  
  21. def glInitPresentVideoNV():
  22.     '''Return boolean indicating whether this extension is available'''
  23.     return extensions.hasGLExtension( EXTENSION_NAME )
  24.