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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456
|
'''OpenGL extension VERSION.GL_1_4
The official definition of this extension is available here:
http://oss.sgi.com/projects/ogl-sample/registry/VERSION/GL_1_4.txt
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_VERSION_GL_1_4'
GL_BLEND_DST_RGB = constant.Constant( 'GL_BLEND_DST_RGB', 0x80C8 )
GL_BLEND_SRC_RGB = constant.Constant( 'GL_BLEND_SRC_RGB', 0x80C9 )
GL_BLEND_DST_ALPHA = constant.Constant( 'GL_BLEND_DST_ALPHA', 0x80CA )
GL_BLEND_SRC_ALPHA = constant.Constant( 'GL_BLEND_SRC_ALPHA', 0x80CB )
GL_POINT_SIZE_MIN = constant.Constant( 'GL_POINT_SIZE_MIN', 0x8126 )
GL_POINT_SIZE_MAX = constant.Constant( 'GL_POINT_SIZE_MAX', 0x8127 )
GL_POINT_FADE_THRESHOLD_SIZE = constant.Constant( 'GL_POINT_FADE_THRESHOLD_SIZE', 0x8128 )
GL_POINT_DISTANCE_ATTENUATION = constant.Constant( 'GL_POINT_DISTANCE_ATTENUATION', 0x8129 )
GL_GENERATE_MIPMAP = constant.Constant( 'GL_GENERATE_MIPMAP', 0x8191 )
GL_GENERATE_MIPMAP_HINT = constant.Constant( 'GL_GENERATE_MIPMAP_HINT', 0x8192 )
GL_DEPTH_COMPONENT16 = constant.Constant( 'GL_DEPTH_COMPONENT16', 0x81A5 )
GL_DEPTH_COMPONENT24 = constant.Constant( 'GL_DEPTH_COMPONENT24', 0x81A6 )
GL_DEPTH_COMPONENT32 = constant.Constant( 'GL_DEPTH_COMPONENT32', 0x81A7 )
GL_MIRRORED_REPEAT = constant.Constant( 'GL_MIRRORED_REPEAT', 0x8370 )
GL_FOG_COORDINATE_SOURCE = constant.Constant( 'GL_FOG_COORDINATE_SOURCE', 0x8450 )
GL_FOG_COORDINATE = constant.Constant( 'GL_FOG_COORDINATE', 0x8451 )
GL_FRAGMENT_DEPTH = constant.Constant( 'GL_FRAGMENT_DEPTH', 0x8452 )
GL_CURRENT_FOG_COORDINATE = constant.Constant( 'GL_CURRENT_FOG_COORDINATE', 0x8453 )
GL_FOG_COORDINATE_ARRAY_TYPE = constant.Constant( 'GL_FOG_COORDINATE_ARRAY_TYPE', 0x8454 )
GL_FOG_COORDINATE_ARRAY_STRIDE = constant.Constant( 'GL_FOG_COORDINATE_ARRAY_STRIDE', 0x8455 )
GL_FOG_COORDINATE_ARRAY_POINTER = constant.Constant( 'GL_FOG_COORDINATE_ARRAY_POINTER', 0x8456 )
GL_FOG_COORDINATE_ARRAY = constant.Constant( 'GL_FOG_COORDINATE_ARRAY', 0x8457 )
GL_COLOR_SUM = constant.Constant( 'GL_COLOR_SUM', 0x8458 )
GL_CURRENT_SECONDARY_COLOR = constant.Constant( 'GL_CURRENT_SECONDARY_COLOR', 0x8459 )
GL_SECONDARY_COLOR_ARRAY_SIZE = constant.Constant( 'GL_SECONDARY_COLOR_ARRAY_SIZE', 0x845A )
GL_SECONDARY_COLOR_ARRAY_TYPE = constant.Constant( 'GL_SECONDARY_COLOR_ARRAY_TYPE', 0x845B )
GL_SECONDARY_COLOR_ARRAY_STRIDE = constant.Constant( 'GL_SECONDARY_COLOR_ARRAY_STRIDE', 0x845C )
GL_SECONDARY_COLOR_ARRAY_POINTER = constant.Constant( 'GL_SECONDARY_COLOR_ARRAY_POINTER', 0x845D )
GL_SECONDARY_COLOR_ARRAY = constant.Constant( 'GL_SECONDARY_COLOR_ARRAY', 0x845E )
GL_MAX_TEXTURE_LOD_BIAS = constant.Constant( 'GL_MAX_TEXTURE_LOD_BIAS', 0x84FD )
GL_TEXTURE_FILTER_CONTROL = constant.Constant( 'GL_TEXTURE_FILTER_CONTROL', 0x8500 )
GL_TEXTURE_LOD_BIAS = constant.Constant( 'GL_TEXTURE_LOD_BIAS', 0x8501 )
GL_INCR_WRAP = constant.Constant( 'GL_INCR_WRAP', 0x8507 )
GL_DECR_WRAP = constant.Constant( 'GL_DECR_WRAP', 0x8508 )
GL_TEXTURE_DEPTH_SIZE = constant.Constant( 'GL_TEXTURE_DEPTH_SIZE', 0x884A )
GL_DEPTH_TEXTURE_MODE = constant.Constant( 'GL_DEPTH_TEXTURE_MODE', 0x884B )
GL_TEXTURE_COMPARE_MODE = constant.Constant( 'GL_TEXTURE_COMPARE_MODE', 0x884C )
GL_TEXTURE_COMPARE_FUNC = constant.Constant( 'GL_TEXTURE_COMPARE_FUNC', 0x884D )
GL_COMPARE_R_TO_TEXTURE = constant.Constant( 'GL_COMPARE_R_TO_TEXTURE', 0x884E )
glBlendFuncSeparate = platform.createExtensionFunction(
'glBlendFuncSeparate', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum, constants.GLenum, constants.GLenum, constants.GLenum,),
doc = 'glBlendFuncSeparate( GLenum(sfactorRGB), GLenum(dfactorRGB), GLenum(sfactorAlpha), GLenum(dfactorAlpha) ) -> None',
argNames = ('sfactorRGB', 'dfactorRGB', 'sfactorAlpha', 'dfactorAlpha',),
)
glFogCoordf = platform.createExtensionFunction(
'glFogCoordf', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLfloat,),
doc = 'glFogCoordf( GLfloat(coord) ) -> None',
argNames = ('coord',),
)
glFogCoordfv = platform.createExtensionFunction(
'glFogCoordfv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLfloatArray,),
doc = 'glFogCoordfv( GLfloatArray(coord) ) -> None',
argNames = ('coord',),
)
glFogCoordd = platform.createExtensionFunction(
'glFogCoordd', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLdouble,),
doc = 'glFogCoordd( GLdouble(coord) ) -> None',
argNames = ('coord',),
)
glFogCoorddv = platform.createExtensionFunction(
'glFogCoorddv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLdoubleArray,),
doc = 'glFogCoorddv( GLdoubleArray(coord) ) -> None',
argNames = ('coord',),
)
glFogCoordPointer = platform.createExtensionFunction(
'glFogCoordPointer', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum, constants.GLsizei, ctypes.c_void_p,),
doc = 'glFogCoordPointer( GLenum(type), GLsizei(stride), c_void_p(pointer) ) -> None',
argNames = ('type', 'stride', 'pointer',),
)
glMultiDrawArrays = platform.createExtensionFunction(
'glMultiDrawArrays', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum, arrays.GLintArray, arrays.GLsizeiArray, constants.GLsizei,),
doc = 'glMultiDrawArrays( GLenum(mode), GLintArray(first), GLsizeiArray(count), GLsizei(primcount) ) -> None',
argNames = ('mode', 'first', 'count', 'primcount',),
)
glMultiDrawElements = platform.createExtensionFunction(
'glMultiDrawElements', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum, arrays.GLsizeiArray, constants.GLenum, ctypes.POINTER(ctypes.c_void_p), constants.GLsizei,),
doc = 'glMultiDrawElements( GLenum(mode), GLsizeiArray(count), GLenum(type), POINTER(ctypes.c_void_p)(indices), GLsizei(primcount) ) -> None',
argNames = ('mode', 'count', 'type', 'indices', 'primcount',),
)
glPointParameterf = platform.createExtensionFunction(
'glPointParameterf', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum, constants.GLfloat,),
doc = 'glPointParameterf( GLenum(pname), GLfloat(param) ) -> None',
argNames = ('pname', 'param',),
)
glPointParameterfv = platform.createExtensionFunction(
'glPointParameterfv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum, arrays.GLfloatArray,),
doc = 'glPointParameterfv( GLenum(pname), GLfloatArray(params) ) -> None',
argNames = ('pname', 'params',),
)
glPointParameteri = platform.createExtensionFunction(
'glPointParameteri', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum, constants.GLint,),
doc = 'glPointParameteri( GLenum(pname), GLint(param) ) -> None',
argNames = ('pname', 'param',),
)
glPointParameteriv = platform.createExtensionFunction(
'glPointParameteriv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLenum, arrays.GLintArray,),
doc = 'glPointParameteriv( GLenum(pname), GLintArray(params) ) -> None',
argNames = ('pname', 'params',),
)
glSecondaryColor3b = platform.createExtensionFunction(
'glSecondaryColor3b', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLbyte, constants.GLbyte, constants.GLbyte,),
doc = 'glSecondaryColor3b( GLbyte(red), GLbyte(green), GLbyte(blue) ) -> None',
argNames = ('red', 'green', 'blue',),
)
glSecondaryColor3bv = platform.createExtensionFunction(
'glSecondaryColor3bv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLbyteArray,),
doc = 'glSecondaryColor3bv( GLbyteArray(v) ) -> None',
argNames = ('v',),
)
glSecondaryColor3d = platform.createExtensionFunction(
'glSecondaryColor3d', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLdouble, constants.GLdouble, constants.GLdouble,),
doc = 'glSecondaryColor3d( GLdouble(red), GLdouble(green), GLdouble(blue) ) -> None',
argNames = ('red', 'green', 'blue',),
)
glSecondaryColor3dv = platform.createExtensionFunction(
'glSecondaryColor3dv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLdoubleArray,),
doc = 'glSecondaryColor3dv( GLdoubleArray(v) ) -> None',
argNames = ('v',),
)
glSecondaryColor3f = platform.createExtensionFunction(
'glSecondaryColor3f', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLfloat, constants.GLfloat, constants.GLfloat,),
doc = 'glSecondaryColor3f( GLfloat(red), GLfloat(green), GLfloat(blue) ) -> None',
argNames = ('red', 'green', 'blue',),
)
glSecondaryColor3fv = platform.createExtensionFunction(
'glSecondaryColor3fv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLfloatArray,),
doc = 'glSecondaryColor3fv( GLfloatArray(v) ) -> None',
argNames = ('v',),
)
glSecondaryColor3i = platform.createExtensionFunction(
'glSecondaryColor3i', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint, constants.GLint, constants.GLint,),
doc = 'glSecondaryColor3i( GLint(red), GLint(green), GLint(blue) ) -> None',
argNames = ('red', 'green', 'blue',),
)
glSecondaryColor3iv = platform.createExtensionFunction(
'glSecondaryColor3iv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLintArray,),
doc = 'glSecondaryColor3iv( GLintArray(v) ) -> None',
argNames = ('v',),
)
glSecondaryColor3s = platform.createExtensionFunction(
'glSecondaryColor3s', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLshort, constants.GLshort, constants.GLshort,),
doc = 'glSecondaryColor3s( GLshort(red), GLshort(green), GLshort(blue) ) -> None',
argNames = ('red', 'green', 'blue',),
)
glSecondaryColor3sv = platform.createExtensionFunction(
'glSecondaryColor3sv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLshortArray,),
doc = 'glSecondaryColor3sv( GLshortArray(v) ) -> None',
argNames = ('v',),
)
glSecondaryColor3ub = platform.createExtensionFunction(
'glSecondaryColor3ub', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLubyte, constants.GLubyte, constants.GLubyte,),
doc = 'glSecondaryColor3ub( GLubyte(red), GLubyte(green), GLubyte(blue) ) -> None',
argNames = ('red', 'green', 'blue',),
)
glSecondaryColor3ubv = platform.createExtensionFunction(
'glSecondaryColor3ubv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLubyteArray,),
doc = 'glSecondaryColor3ubv( GLubyteArray(v) ) -> None',
argNames = ('v',),
)
glSecondaryColor3ui = platform.createExtensionFunction(
'glSecondaryColor3ui', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint, constants.GLuint, constants.GLuint,),
doc = 'glSecondaryColor3ui( GLuint(red), GLuint(green), GLuint(blue) ) -> None',
argNames = ('red', 'green', 'blue',),
)
glSecondaryColor3uiv = platform.createExtensionFunction(
'glSecondaryColor3uiv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLuintArray,),
doc = 'glSecondaryColor3uiv( GLuintArray(v) ) -> None',
argNames = ('v',),
)
glSecondaryColor3us = platform.createExtensionFunction(
'glSecondaryColor3us', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLushort, constants.GLushort, constants.GLushort,),
doc = 'glSecondaryColor3us( GLushort(red), GLushort(green), GLushort(blue) ) -> None',
argNames = ('red', 'green', 'blue',),
)
glSecondaryColor3usv = platform.createExtensionFunction(
'glSecondaryColor3usv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLushortArray,),
doc = 'glSecondaryColor3usv( GLushortArray(v) ) -> None',
argNames = ('v',),
)
glSecondaryColorPointer = platform.createExtensionFunction(
'glSecondaryColorPointer', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint, constants.GLenum, constants.GLsizei, ctypes.c_void_p,),
doc = 'glSecondaryColorPointer( GLint(size), GLenum(type), GLsizei(stride), c_void_p(pointer) ) -> None',
argNames = ('size', 'type', 'stride', 'pointer',),
)
glWindowPos2d = platform.createExtensionFunction(
'glWindowPos2d', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLdouble, constants.GLdouble,),
doc = 'glWindowPos2d( GLdouble(x), GLdouble(y) ) -> None',
argNames = ('x', 'y',),
)
glWindowPos2dv = platform.createExtensionFunction(
'glWindowPos2dv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLdoubleArray,),
doc = 'glWindowPos2dv( GLdoubleArray(v) ) -> None',
argNames = ('v',),
)
glWindowPos2f = platform.createExtensionFunction(
'glWindowPos2f', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLfloat, constants.GLfloat,),
doc = 'glWindowPos2f( GLfloat(x), GLfloat(y) ) -> None',
argNames = ('x', 'y',),
)
glWindowPos2fv = platform.createExtensionFunction(
'glWindowPos2fv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLfloatArray,),
doc = 'glWindowPos2fv( GLfloatArray(v) ) -> None',
argNames = ('v',),
)
glWindowPos2i = platform.createExtensionFunction(
'glWindowPos2i', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint, constants.GLint,),
doc = 'glWindowPos2i( GLint(x), GLint(y) ) -> None',
argNames = ('x', 'y',),
)
glWindowPos2iv = platform.createExtensionFunction(
'glWindowPos2iv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLintArray,),
doc = 'glWindowPos2iv( GLintArray(v) ) -> None',
argNames = ('v',),
)
glWindowPos2s = platform.createExtensionFunction(
'glWindowPos2s', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLshort, constants.GLshort,),
doc = 'glWindowPos2s( GLshort(x), GLshort(y) ) -> None',
argNames = ('x', 'y',),
)
glWindowPos2sv = platform.createExtensionFunction(
'glWindowPos2sv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLshortArray,),
doc = 'glWindowPos2sv( GLshortArray(v) ) -> None',
argNames = ('v',),
)
glWindowPos3d = platform.createExtensionFunction(
'glWindowPos3d', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLdouble, constants.GLdouble, constants.GLdouble,),
doc = 'glWindowPos3d( GLdouble(x), GLdouble(y), GLdouble(z) ) -> None',
argNames = ('x', 'y', 'z',),
)
glWindowPos3dv = platform.createExtensionFunction(
'glWindowPos3dv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLdoubleArray,),
doc = 'glWindowPos3dv( GLdoubleArray(v) ) -> None',
argNames = ('v',),
)
glWindowPos3f = platform.createExtensionFunction(
'glWindowPos3f', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLfloat, constants.GLfloat, constants.GLfloat,),
doc = 'glWindowPos3f( GLfloat(x), GLfloat(y), GLfloat(z) ) -> None',
argNames = ('x', 'y', 'z',),
)
glWindowPos3fv = platform.createExtensionFunction(
'glWindowPos3fv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLfloatArray,),
doc = 'glWindowPos3fv( GLfloatArray(v) ) -> None',
argNames = ('v',),
)
glWindowPos3i = platform.createExtensionFunction(
'glWindowPos3i', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLint, constants.GLint, constants.GLint,),
doc = 'glWindowPos3i( GLint(x), GLint(y), GLint(z) ) -> None',
argNames = ('x', 'y', 'z',),
)
glWindowPos3iv = platform.createExtensionFunction(
'glWindowPos3iv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLintArray,),
doc = 'glWindowPos3iv( GLintArray(v) ) -> None',
argNames = ('v',),
)
glWindowPos3s = platform.createExtensionFunction(
'glWindowPos3s', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLshort, constants.GLshort, constants.GLshort,),
doc = 'glWindowPos3s( GLshort(x), GLshort(y), GLshort(z) ) -> None',
argNames = ('x', 'y', 'z',),
)
glWindowPos3sv = platform.createExtensionFunction(
'glWindowPos3sv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(arrays.GLshortArray,),
doc = 'glWindowPos3sv( GLshortArray(v) ) -> None',
argNames = ('v',),
)
|