~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to raw/GL/ARB/texture_multisample.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 ARB.texture_multisample
 
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_ARB_texture_multisample'
 
10
_DEPRECATED = False
 
11
GL_SAMPLE_POSITION = constant.Constant( 'GL_SAMPLE_POSITION', 0x8E50 )
 
12
GL_SAMPLE_MASK = constant.Constant( 'GL_SAMPLE_MASK', 0x8E51 )
 
13
GL_SAMPLE_MASK_VALUE = constant.Constant( 'GL_SAMPLE_MASK_VALUE', 0x8E52 )
 
14
GL_MAX_SAMPLE_MASK_WORDS = constant.Constant( 'GL_MAX_SAMPLE_MASK_WORDS', 0x8E59 )
 
15
glget.addGLGetConstant( GL_MAX_SAMPLE_MASK_WORDS, (1,) )
 
16
GL_TEXTURE_2D_MULTISAMPLE = constant.Constant( 'GL_TEXTURE_2D_MULTISAMPLE', 0x9100 )
 
17
GL_PROXY_TEXTURE_2D_MULTISAMPLE = constant.Constant( 'GL_PROXY_TEXTURE_2D_MULTISAMPLE', 0x9101 )
 
18
GL_TEXTURE_2D_MULTISAMPLE_ARRAY = constant.Constant( 'GL_TEXTURE_2D_MULTISAMPLE_ARRAY', 0x9102 )
 
19
GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = constant.Constant( 'GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY', 0x9103 )
 
20
GL_TEXTURE_BINDING_2D_MULTISAMPLE = constant.Constant( 'GL_TEXTURE_BINDING_2D_MULTISAMPLE', 0x9104 )
 
21
glget.addGLGetConstant( GL_TEXTURE_BINDING_2D_MULTISAMPLE, (1,) )
 
22
GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = constant.Constant( 'GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY', 0x9105 )
 
23
glget.addGLGetConstant( GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY, (1,) )
 
24
GL_TEXTURE_SAMPLES = constant.Constant( 'GL_TEXTURE_SAMPLES', 0x9106 )
 
25
GL_TEXTURE_FIXED_SAMPLE_LOCATIONS = constant.Constant( 'GL_TEXTURE_FIXED_SAMPLE_LOCATIONS', 0x9107 )
 
26
GL_SAMPLER_2D_MULTISAMPLE = constant.Constant( 'GL_SAMPLER_2D_MULTISAMPLE', 0x9108 )
 
27
GL_INT_SAMPLER_2D_MULTISAMPLE = constant.Constant( 'GL_INT_SAMPLER_2D_MULTISAMPLE', 0x9109 )
 
28
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE', 0x910A )
 
29
GL_SAMPLER_2D_MULTISAMPLE_ARRAY = constant.Constant( 'GL_SAMPLER_2D_MULTISAMPLE_ARRAY', 0x910B )
 
30
GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = constant.Constant( 'GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY', 0x910C )
 
31
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY', 0x910D )
 
32
GL_MAX_COLOR_TEXTURE_SAMPLES = constant.Constant( 'GL_MAX_COLOR_TEXTURE_SAMPLES', 0x910E )
 
33
glget.addGLGetConstant( GL_MAX_COLOR_TEXTURE_SAMPLES, (1,) )
 
34
GL_MAX_DEPTH_TEXTURE_SAMPLES = constant.Constant( 'GL_MAX_DEPTH_TEXTURE_SAMPLES', 0x910F )
 
35
glget.addGLGetConstant( GL_MAX_DEPTH_TEXTURE_SAMPLES, (1,) )
 
36
GL_MAX_INTEGER_SAMPLES = constant.Constant( 'GL_MAX_INTEGER_SAMPLES', 0x9110 )
 
37
glget.addGLGetConstant( GL_MAX_INTEGER_SAMPLES, (1,) )
 
38
glTexImage2DMultisample = platform.createExtensionFunction( 
 
39
'glTexImage2DMultisample',dll=platform.GL,
 
40
extension=EXTENSION_NAME,
 
41
resultType=None, 
 
42
argTypes=(constants.GLenum,constants.GLsizei,constants.GLint,constants.GLsizei,constants.GLsizei,constants.GLboolean,),
 
43
doc='glTexImage2DMultisample(GLenum(target), GLsizei(samples), GLint(internalformat), GLsizei(width), GLsizei(height), GLboolean(fixedsamplelocations)) -> None',
 
44
argNames=('target','samples','internalformat','width','height','fixedsamplelocations',),
 
45
deprecated=_DEPRECATED,
 
46
)
 
47
 
 
48
glTexImage3DMultisample = platform.createExtensionFunction( 
 
49
'glTexImage3DMultisample',dll=platform.GL,
 
50
extension=EXTENSION_NAME,
 
51
resultType=None, 
 
52
argTypes=(constants.GLenum,constants.GLsizei,constants.GLint,constants.GLsizei,constants.GLsizei,constants.GLsizei,constants.GLboolean,),
 
53
doc='glTexImage3DMultisample(GLenum(target), GLsizei(samples), GLint(internalformat), GLsizei(width), GLsizei(height), GLsizei(depth), GLboolean(fixedsamplelocations)) -> None',
 
54
argNames=('target','samples','internalformat','width','height','depth','fixedsamplelocations',),
 
55
deprecated=_DEPRECATED,
 
56
)
 
57
 
 
58
glGetMultisamplefv = platform.createExtensionFunction( 
 
59
'glGetMultisamplefv',dll=platform.GL,
 
60
extension=EXTENSION_NAME,
 
61
resultType=None, 
 
62
argTypes=(constants.GLenum,constants.GLuint,arrays.GLfloatArray,),
 
63
doc='glGetMultisamplefv(GLenum(pname), GLuint(index), GLfloatArray(val)) -> None',
 
64
argNames=('pname','index','val',),
 
65
deprecated=_DEPRECATED,
 
66
)
 
67
 
 
68
glSampleMaski = platform.createExtensionFunction( 
 
69
'glSampleMaski',dll=platform.GL,
 
70
extension=EXTENSION_NAME,
 
71
resultType=None, 
 
72
argTypes=(constants.GLuint,constants.GLbitfield,),
 
73
doc='glSampleMaski(GLuint(index), GLbitfield(mask)) -> None',
 
74
argNames=('index','mask',),
 
75
deprecated=_DEPRECATED,
 
76
)
 
77
 
 
78
 
 
79
def glInitTextureMultisampleARB():
 
80
    '''Return boolean indicating whether this extension is available'''
 
81
    return extensions.hasGLExtension( EXTENSION_NAME )