~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to raw/GL/SGIS/fog_function.py

  • Committer: matobet at gmail
  • Date: 2010-06-26 14:11:04 UTC
  • Revision ID: matobet@gmail.com-20100626141104-k011ofmltgiiu60g
Initial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''OpenGL extension SGIS.fog_function
 
2
 
 
3
Automatically generated by the get_gl_extensions script, do not edit!
 
4
'''
 
5
from OpenGL import platform, constants, constant, arrays
 
6
from OpenGL import extensions
 
7
from OpenGL.GL import glget
 
8
import ctypes
 
9
EXTENSION_NAME = 'GL_SGIS_fog_function'
 
10
_DEPRECATED = False
 
11
GL_FOG_FUNC_SGIS = constant.Constant( 'GL_FOG_FUNC_SGIS', 0x812A )
 
12
GL_FOG_FUNC_POINTS_SGIS = constant.Constant( 'GL_FOG_FUNC_POINTS_SGIS', 0x812B )
 
13
GL_MAX_FOG_FUNC_POINTS_SGIS = constant.Constant( 'GL_MAX_FOG_FUNC_POINTS_SGIS', 0x812C )
 
14
glFogFuncSGIS = platform.createExtensionFunction( 
 
15
'glFogFuncSGIS',dll=platform.GL,
 
16
extension=EXTENSION_NAME,
 
17
resultType=None, 
 
18
argTypes=(constants.GLsizei,arrays.GLfloatArray,),
 
19
doc='glFogFuncSGIS(GLsizei(n), GLfloatArray(points)) -> None',
 
20
argNames=('n','points',),
 
21
deprecated=_DEPRECATED,
 
22
)
 
23
 
 
24
glGetFogFuncSGIS = platform.createExtensionFunction( 
 
25
'glGetFogFuncSGIS',dll=platform.GL,
 
26
extension=EXTENSION_NAME,
 
27
resultType=None, 
 
28
argTypes=(arrays.GLfloatArray,),
 
29
doc='glGetFogFuncSGIS(GLfloatArray(points)) -> None',
 
30
argNames=('points',),
 
31
deprecated=_DEPRECATED,
 
32
)
 
33
 
 
34
 
 
35
def glInitFogFunctionSGIS():
 
36
    '''Return boolean indicating whether this extension is available'''
 
37
    return extensions.hasGLExtension( EXTENSION_NAME )