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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
'''OpenGL extension EXT.fog_coord
Automatically generated by the get_gl_extensions script, do not edit!
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_EXT_fog_coord'
_DEPRECATED = False
GL_FOG_COORDINATE_SOURCE_EXT = constant.Constant( 'GL_FOG_COORDINATE_SOURCE_EXT', 0x8450 )
GL_FOG_COORDINATE_EXT = constant.Constant( 'GL_FOG_COORDINATE_EXT', 0x8451 )
GL_FRAGMENT_DEPTH_EXT = constant.Constant( 'GL_FRAGMENT_DEPTH_EXT', 0x8452 )
GL_CURRENT_FOG_COORDINATE_EXT = constant.Constant( 'GL_CURRENT_FOG_COORDINATE_EXT', 0x8453 )
glget.addGLGetConstant( GL_CURRENT_FOG_COORDINATE_EXT, (1,) )
GL_FOG_COORDINATE_ARRAY_TYPE_EXT = constant.Constant( 'GL_FOG_COORDINATE_ARRAY_TYPE_EXT', 0x8454 )
glget.addGLGetConstant( GL_FOG_COORDINATE_ARRAY_TYPE_EXT, (1,) )
GL_FOG_COORDINATE_ARRAY_STRIDE_EXT = constant.Constant( 'GL_FOG_COORDINATE_ARRAY_STRIDE_EXT', 0x8455 )
glget.addGLGetConstant( GL_FOG_COORDINATE_ARRAY_STRIDE_EXT, (1,) )
GL_FOG_COORDINATE_ARRAY_POINTER_EXT = constant.Constant( 'GL_FOG_COORDINATE_ARRAY_POINTER_EXT', 0x8456 )
GL_FOG_COORDINATE_ARRAY_EXT = constant.Constant( 'GL_FOG_COORDINATE_ARRAY_EXT', 0x8457 )
glFogCoordfEXT = platform.createExtensionFunction(
'glFogCoordfEXT',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLfloat,),
doc='glFogCoordfEXT(GLfloat(coord)) -> None',
argNames=('coord',),
deprecated=_DEPRECATED,
)
glFogCoordfvEXT = platform.createExtensionFunction(
'glFogCoordfvEXT',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLfloatArray,),
doc='glFogCoordfvEXT(GLfloatArray(coord)) -> None',
argNames=('coord',),
deprecated=_DEPRECATED,
)
glFogCoorddEXT = platform.createExtensionFunction(
'glFogCoorddEXT',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLdouble,),
doc='glFogCoorddEXT(GLdouble(coord)) -> None',
argNames=('coord',),
deprecated=_DEPRECATED,
)
glFogCoorddvEXT = platform.createExtensionFunction(
'glFogCoorddvEXT',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLdoubleArray,),
doc='glFogCoorddvEXT(GLdoubleArray(coord)) -> None',
argNames=('coord',),
deprecated=_DEPRECATED,
)
glFogCoordPointerEXT = platform.createExtensionFunction(
'glFogCoordPointerEXT',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum,constants.GLsizei,ctypes.c_void_p,),
doc='glFogCoordPointerEXT(GLenum(type), GLsizei(stride), c_void_p(pointer)) -> None',
argNames=('type','stride','pointer',),
deprecated=_DEPRECATED,
)
def glInitFogCoordEXT():
'''Return boolean indicating whether this extension is available'''
return extensions.hasGLExtension( EXTENSION_NAME )
|