File: gpu_program4.py

package info (click to toggle)
pyopengl 3.0.0~b6-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 5,696 kB
  • ctags: 26,182
  • sloc: python: 34,233; ansic: 70; sh: 26; makefile: 15
file content (168 lines) | stat: -rw-r--r-- 7,954 bytes parent folder | download
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
'''OpenGL extension NV.gpu_program4

The official definition of this extension is available here:
	http://oss.sgi.com/projects/ogl-sample/registry/NV/gpu_program4.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_NV_gpu_program4'
GL_MIN_PROGRAM_TEXEL_OFFSET_NV = constant.Constant( 'GL_MIN_PROGRAM_TEXEL_OFFSET_NV', 0x8904 )
GL_MAX_PROGRAM_TEXEL_OFFSET_NV = constant.Constant( 'GL_MAX_PROGRAM_TEXEL_OFFSET_NV', 0x8905 )
GL_PROGRAM_ATTRIB_COMPONENTS_NV = constant.Constant( 'GL_PROGRAM_ATTRIB_COMPONENTS_NV', 0x8906 )
GL_PROGRAM_RESULT_COMPONENTS_NV = constant.Constant( 'GL_PROGRAM_RESULT_COMPONENTS_NV', 0x8907 )
GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV = constant.Constant( 'GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV', 0x8908 )
GL_MAX_PROGRAM_RESULT_COMPONENTS_NV = constant.Constant( 'GL_MAX_PROGRAM_RESULT_COMPONENTS_NV', 0x8909 )
GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV = constant.Constant( 'GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV', 0x8DA5 )
GL_MAX_PROGRAM_GENERIC_RESULTS_NV = constant.Constant( 'GL_MAX_PROGRAM_GENERIC_RESULTS_NV', 0x8DA6 )
glProgramLocalParameterI4iNV = platform.createExtensionFunction( 
	'glProgramLocalParameterI4iNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, constants.GLint, constants.GLint, constants.GLint, constants.GLint,),
	doc = 'glProgramLocalParameterI4iNV( GLenum(target), GLuint(index), GLint(x), GLint(y), GLint(z), GLint(w) ) -> None',
	argNames = ('target', 'index', 'x', 'y', 'z', 'w',),
)

glProgramLocalParameterI4ivNV = platform.createExtensionFunction( 
	'glProgramLocalParameterI4ivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, arrays.GLintArray,),
	doc = 'glProgramLocalParameterI4ivNV( GLenum(target), GLuint(index), GLintArray(params) ) -> None',
	argNames = ('target', 'index', 'params',),
)

glProgramLocalParametersI4ivNV = platform.createExtensionFunction( 
	'glProgramLocalParametersI4ivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, constants.GLsizei, arrays.GLintArray,),
	doc = 'glProgramLocalParametersI4ivNV( GLenum(target), GLuint(index), GLsizei(count), GLintArray(params) ) -> None',
	argNames = ('target', 'index', 'count', 'params',),
)

glProgramLocalParameterI4uiNV = platform.createExtensionFunction( 
	'glProgramLocalParameterI4uiNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, constants.GLuint, constants.GLuint, constants.GLuint, constants.GLuint,),
	doc = 'glProgramLocalParameterI4uiNV( GLenum(target), GLuint(index), GLuint(x), GLuint(y), GLuint(z), GLuint(w) ) -> None',
	argNames = ('target', 'index', 'x', 'y', 'z', 'w',),
)

glProgramLocalParameterI4uivNV = platform.createExtensionFunction( 
	'glProgramLocalParameterI4uivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, arrays.GLuintArray,),
	doc = 'glProgramLocalParameterI4uivNV( GLenum(target), GLuint(index), GLuintArray(params) ) -> None',
	argNames = ('target', 'index', 'params',),
)

glProgramLocalParametersI4uivNV = platform.createExtensionFunction( 
	'glProgramLocalParametersI4uivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, constants.GLsizei, arrays.GLuintArray,),
	doc = 'glProgramLocalParametersI4uivNV( GLenum(target), GLuint(index), GLsizei(count), GLuintArray(params) ) -> None',
	argNames = ('target', 'index', 'count', 'params',),
)

glProgramEnvParameterI4iNV = platform.createExtensionFunction( 
	'glProgramEnvParameterI4iNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, constants.GLint, constants.GLint, constants.GLint, constants.GLint,),
	doc = 'glProgramEnvParameterI4iNV( GLenum(target), GLuint(index), GLint(x), GLint(y), GLint(z), GLint(w) ) -> None',
	argNames = ('target', 'index', 'x', 'y', 'z', 'w',),
)

glProgramEnvParameterI4ivNV = platform.createExtensionFunction( 
	'glProgramEnvParameterI4ivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, arrays.GLintArray,),
	doc = 'glProgramEnvParameterI4ivNV( GLenum(target), GLuint(index), GLintArray(params) ) -> None',
	argNames = ('target', 'index', 'params',),
)

glProgramEnvParametersI4ivNV = platform.createExtensionFunction( 
	'glProgramEnvParametersI4ivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, constants.GLsizei, arrays.GLintArray,),
	doc = 'glProgramEnvParametersI4ivNV( GLenum(target), GLuint(index), GLsizei(count), GLintArray(params) ) -> None',
	argNames = ('target', 'index', 'count', 'params',),
)

glProgramEnvParameterI4uiNV = platform.createExtensionFunction( 
	'glProgramEnvParameterI4uiNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, constants.GLuint, constants.GLuint, constants.GLuint, constants.GLuint,),
	doc = 'glProgramEnvParameterI4uiNV( GLenum(target), GLuint(index), GLuint(x), GLuint(y), GLuint(z), GLuint(w) ) -> None',
	argNames = ('target', 'index', 'x', 'y', 'z', 'w',),
)

glProgramEnvParameterI4uivNV = platform.createExtensionFunction( 
	'glProgramEnvParameterI4uivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, arrays.GLuintArray,),
	doc = 'glProgramEnvParameterI4uivNV( GLenum(target), GLuint(index), GLuintArray(params) ) -> None',
	argNames = ('target', 'index', 'params',),
)

glProgramEnvParametersI4uivNV = platform.createExtensionFunction( 
	'glProgramEnvParametersI4uivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, constants.GLsizei, arrays.GLuintArray,),
	doc = 'glProgramEnvParametersI4uivNV( GLenum(target), GLuint(index), GLsizei(count), GLuintArray(params) ) -> None',
	argNames = ('target', 'index', 'count', 'params',),
)

glGetProgramLocalParameterIivNV = platform.createExtensionFunction( 
	'glGetProgramLocalParameterIivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, arrays.GLintArray,),
	doc = 'glGetProgramLocalParameterIivNV( GLenum(target), GLuint(index), GLintArray(params) ) -> None',
	argNames = ('target', 'index', 'params',),
)

glGetProgramLocalParameterIuivNV = platform.createExtensionFunction( 
	'glGetProgramLocalParameterIuivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, arrays.GLuintArray,),
	doc = 'glGetProgramLocalParameterIuivNV( GLenum(target), GLuint(index), GLuintArray(params) ) -> None',
	argNames = ('target', 'index', 'params',),
)

glGetProgramEnvParameterIivNV = platform.createExtensionFunction( 
	'glGetProgramEnvParameterIivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, arrays.GLintArray,),
	doc = 'glGetProgramEnvParameterIivNV( GLenum(target), GLuint(index), GLintArray(params) ) -> None',
	argNames = ('target', 'index', 'params',),
)

glGetProgramEnvParameterIuivNV = platform.createExtensionFunction( 
	'glGetProgramEnvParameterIuivNV', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum, constants.GLuint, arrays.GLuintArray,),
	doc = 'glGetProgramEnvParameterIuivNV( GLenum(target), GLuint(index), GLuintArray(params) ) -> None',
	argNames = ('target', 'index', 'params',),
)


def glInitGpuProgram4NV():
	'''Return boolean indicating whether this extension is available'''
	return extensions.hasGLExtension( EXTENSION_NAME )