~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to raw/GL/EXT/provoking_vertex.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 EXT.provoking_vertex
 
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_EXT_provoking_vertex'
 
10
_DEPRECATED = False
 
11
GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT = constant.Constant( 'GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT', 0x8E4C )
 
12
glget.addGLGetConstant( GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT, (1,) )
 
13
GL_FIRST_VERTEX_CONVENTION_EXT = constant.Constant( 'GL_FIRST_VERTEX_CONVENTION_EXT', 0x8E4D )
 
14
GL_LAST_VERTEX_CONVENTION_EXT = constant.Constant( 'GL_LAST_VERTEX_CONVENTION_EXT', 0x8E4E )
 
15
GL_PROVOKING_VERTEX_EXT = constant.Constant( 'GL_PROVOKING_VERTEX_EXT', 0x8E4F )
 
16
glget.addGLGetConstant( GL_PROVOKING_VERTEX_EXT, (1,) )
 
17
glProvokingVertexEXT = platform.createExtensionFunction( 
 
18
'glProvokingVertexEXT',dll=platform.GL,
 
19
extension=EXTENSION_NAME,
 
20
resultType=None, 
 
21
argTypes=(constants.GLenum,),
 
22
doc='glProvokingVertexEXT(GLenum(mode)) -> None',
 
23
argNames=('mode',),
 
24
deprecated=_DEPRECATED,
 
25
)
 
26
 
 
27
 
 
28
def glInitProvokingVertexEXT():
 
29
    '''Return boolean indicating whether this extension is available'''
 
30
    return extensions.hasGLExtension( EXTENSION_NAME )