1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_NV_depth_buffer_float'
def _f( function ):
return _p.createFunction( function,_p.GL,'GL_NV_depth_buffer_float',False)
_p.unpack_constants( """GL_DEPTH_COMPONENT32F_NV 0x8DAB
GL_DEPTH32F_STENCIL8_NV 0x8DAC
GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF""", globals())
@_f
@_p.types(None,_cs.GLdouble,_cs.GLdouble)
def glDepthRangedNV( zNear,zFar ):pass
@_f
@_p.types(None,_cs.GLdouble)
def glClearDepthdNV( depth ):pass
@_f
@_p.types(None,_cs.GLdouble,_cs.GLdouble)
def glDepthBoundsdNV( zmin,zmax ):pass
def glInitDepthBufferFloatNV():
'''Return boolean indicating whether this extension is available'''
from OpenGL import extensions
return extensions.hasGLExtension( EXTENSION_NAME )
|