~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to raw/GL/APPLE/object_purgeable.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 APPLE.object_purgeable
 
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_APPLE_object_purgeable'
 
10
_DEPRECATED = False
 
11
GL_BUFFER_OBJECT_APPLE = constant.Constant( 'GL_BUFFER_OBJECT_APPLE', 0x85B3 )
 
12
GL_RELEASED_APPLE = constant.Constant( 'GL_RELEASED_APPLE', 0x8A19 )
 
13
GL_VOLATILE_APPLE = constant.Constant( 'GL_VOLATILE_APPLE', 0x8A1A )
 
14
GL_RETAINED_APPLE = constant.Constant( 'GL_RETAINED_APPLE', 0x8A1B )
 
15
GL_UNDEFINED_APPLE = constant.Constant( 'GL_UNDEFINED_APPLE', 0x8A1C )
 
16
GL_PURGEABLE_APPLE = constant.Constant( 'GL_PURGEABLE_APPLE', 0x8A1D )
 
17
glObjectPurgeableAPPLE = platform.createExtensionFunction( 
 
18
'glObjectPurgeableAPPLE',dll=platform.GL,
 
19
extension=EXTENSION_NAME,
 
20
resultType=constants.GLenum, 
 
21
argTypes=(constants.GLenum,constants.GLuint,constants.GLenum,),
 
22
doc='glObjectPurgeableAPPLE(GLenum(objectType), GLuint(name), GLenum(option)) -> constants.GLenum',
 
23
argNames=('objectType','name','option',),
 
24
deprecated=_DEPRECATED,
 
25
)
 
26
 
 
27
glObjectUnpurgeableAPPLE = platform.createExtensionFunction( 
 
28
'glObjectUnpurgeableAPPLE',dll=platform.GL,
 
29
extension=EXTENSION_NAME,
 
30
resultType=constants.GLenum, 
 
31
argTypes=(constants.GLenum,constants.GLuint,constants.GLenum,),
 
32
doc='glObjectUnpurgeableAPPLE(GLenum(objectType), GLuint(name), GLenum(option)) -> constants.GLenum',
 
33
argNames=('objectType','name','option',),
 
34
deprecated=_DEPRECATED,
 
35
)
 
36
 
 
37
glGetObjectParameterivAPPLE = platform.createExtensionFunction( 
 
38
'glGetObjectParameterivAPPLE',dll=platform.GL,
 
39
extension=EXTENSION_NAME,
 
40
resultType=None, 
 
41
argTypes=(constants.GLenum,constants.GLuint,constants.GLenum,arrays.GLintArray,),
 
42
doc='glGetObjectParameterivAPPLE(GLenum(objectType), GLuint(name), GLenum(pname), GLintArray(params)) -> None',
 
43
argNames=('objectType','name','pname','params',),
 
44
deprecated=_DEPRECATED,
 
45
)
 
46
 
 
47
 
 
48
def glInitObjectPurgeableAPPLE():
 
49
    '''Return boolean indicating whether this extension is available'''
 
50
    return extensions.hasGLExtension( EXTENSION_NAME )