-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgl3.0.txt
275 lines (275 loc) · 6.38 KB
/
gl3.0.txt
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
MAX LIGHTS Z+ GetIntegerv 8
Maximum number of lights
2.19.1 –
MAX CLIP PLANES Z+ GetIntegerv 6
Maximum number of user clipping
planes
2.17 –
MAX COLOR MATRIX STACK DEPTH Z+ GetIntegerv 2
Maximum color matrix stack depth
3.7.3 –
MAX MODELVIEW STACK DEPTH Z+ GetIntegerv 32
Maximum model-view stack depth
2.12.2 –
MAX PROJECTION STACK DEPTH Z+ GetIntegerv 2
Maximum projection matrix stack
depth
2.12.2 –
MAX TEXTURE STACK DEPTH Z+ GetIntegerv 2
Maximum number depth of texture
matrix stack
2.12.2 –
SUBPIXEL BITS Z+ GetIntegerv 4
Number of bits of subpixel precision
in screen xw and yw
3 –
MAX 3D TEXTURE SIZE Z+ GetIntegerv 256
Maximum 3D texture image dimension
3.9.1 –
MAX TEXTURE SIZE Z+ GetIntegerv 1024
Maximum 2D/1D texture image dimension
3.9.1 –
MAX ARRAY TEXTURE LAYERS Z+ GetIntegerv 256
Maximum number of layers for texture
arrays
3.9.1 –
MAX TEXTURE LOD BIAS R+ GetFloatv 2.0
Maximum absolute texture level of
detail bias
3.9.7 –
MAX CUBE MAP TEXTURE SIZE Z+ GetIntegerv 1024
Maximum cube map texture image
dimension
3.9.1 –
MAX RENDERBUFFER SIZE Z+ GetIntegerv 1024
Maximum width and height of renderbuffers
4.4.2 –
MAX PIXEL MAP TABLE Z+ GetIntegerv 32
Maximum size of a PixelMap
translation table
3.7.3 –
MAX NAME STACK DEPTH Z+ GetIntegerv 64
Maximum selection name
stack depth
5.2 –
MAX LIST NESTING Z+ GetIntegerv 64
Maximum display list call
nesting
5.4 –
MAX EVAL ORDER Z+ GetIntegerv 8
Maximum evaluator polynomial
order
5.1 –
MAX VIEWPORT DIMS 2 Z+ GetIntegerv see 2.12.1
Maximum viewport
dimensions
2.12.1 –
MAX ATTRIB STACK DEPTH Z+ GetIntegerv 16
Maximum depth of the
server attribute stack
6 –
MAX CLIENT ATTRIB STACK DEPTH Z+ GetIntegerv 16
Maximum depth of the
client attribute stack
6 –
– 3 Z+ - 32
Max. size of a color table
3.7.3 –
– Z+ - 32
Max. size of the histogram
table
3.7.3 –
ALIASED POINT SIZE RANGE 2 R+ GetFloatv 1,1
Range (lo to hi) of aliased
point sizes
3.4 –
SMOOTH POINT SIZE RANGE (v1.1: POINT SIZE RANGE) 2 R+ GetFloatv 1,1
Range (lo to hi) of antialiased
point sizes
3.4 –
SMOOTH POINT SIZE GRANULARITY (v1.1: POINT SIZE GRANULARITY) R+ GetFloatv –
Antialiased point size
granularity
3.4 –
ALIASED LINE WIDTH RANGE 2 R+ GetFloatv 1,1
Range (lo to hi) of aliased
line widths
3.5 –
SMOOTH LINE WIDTH RANGE (v1.1: LINE WIDTH RANGE) 2 R+ GetFloatv 1,1
Range (lo to hi) of antialiased
line widths
3.5 –
SMOOTH LINE WIDTH GRANULARITY (v1.1: LINE WIDTH GRANULARITY) R+ GetFloatv –
Antialiased line width
granularity
3.5 –
MAX CONVOLUTION WIDTH 3 Z+ GetConvolutionParameteriv 3
Maximum width of convolution
filter
4.3 –
MAX CONVOLUTION HEIGHT 2 Z+ GetConvolutionParameteriv 3
Maximum height of convolution
filter
4.3 –
MAX ELEMENTS INDICES Z+ GetIntegerv –
Recommended
max. number of
DrawRangeElements
indices
2.8 –
MAX ELEMENTS VERTICES Z+ GetIntegerv –
Recommended
max. number of
DrawRangeElements
vertices
2.8 –
COMPRESSED TEXTURE FORMATS 0 Z GetIntegerv -
Enumerated compressed
texture formats
3.9.3 –
NUM COMPRESSED TEXTURE FORMATS Z GetIntegerv 0
Number of compressed
texture formats
3.9.3 –
QUERY COUNTER BITS 2 Z+ GetQueryiv see 6.1.12
Asynchronous query
counter bits
6.1.12 –
EXTENSIONS 0 S GetStringi –
Supported individual extension
names
6.1.11 –
NUM EXTENSIONS Z+ GetIntegerv –
Number of individual extension
names
6.1.11 –
MAJOR VERSION Z+ GetIntegerv –
Major version number
supported
6.1.11 –
MINOR VERSION Z+ GetIntegerv –
Minor version number
supported
6.1.11 –
CONTEXT FLAGS Z+ GetIntegerv –
Context full/forwardcompatible
flag
6.1.11 –
EXTENSIONS S GetString –
Supported extension
names
6.1.11 –
RENDERER S GetString –
Renderer string
6.1.11 –
SHADING LANGUAGE VERSION S GetString –
Shading Language version
supported
6.1.11 –
VENDOR S GetString –
Vendor string
6.1.11 –
VERSION S GetString –
OpenGL version supported
6.1.11 –
MAX TEXTURE UNITS Z+ GetIntegerv 2
Number of fixedfunction
texture units
2.6 –
MAX VERTEX ATTRIBS Z+ GetIntegerv 16
Number of active vertex
attributes
2.7 –
MAX VERTEX UNIFORM COMPONENTS Z+ GetIntegerv 1024
Number of components
for vertex shader uniform
variables
2.20.3 –
MAX VARYING COMPONENTS Z+ GetIntegerv 64
Number of components
for varying variables
2.20.3 –
MAX COMBINED TEXTURE IMAGE UNITS Z+ GetIntegerv 16
Total number of texture
units accessible by the
GL
2.20.4 –
MAX VERTEX TEXTURE IMAGE UNITS Z+ GetIntegerv 16
Number of texture image
units accessible by a vertex
shader
2.20.4 –
MAX TEXTURE IMAGE UNITS Z+ GetIntegerv 16
Number of texture image
units accessible by fragment
processing
2.20.4 –
MAX TEXTURE COORDS Z+ GetIntegerv 8
Number of texture coordinate
sets
2.7 –
MAX FRAGMENT UNIFORM COMPONENTS Z+ GetIntegerv 1024
Number of components
for frag. shader uniform
variables
3.12.1 –
MIN PROGRAM TEXEL OFFSET Z GetIntegerv -8
Manimum texel offset allowed
in lookup
2.20.4 –
MAX PROGRAM TEXEL OFFSET Z GetIntegerv 7
Maximum texel offset allowed
in lookup
2.20.4 –
AUX BUFFERS Z+ GetIntegerv 0
Number of auxiliary buffers
4.2.1 –
MAX DRAW BUFFERS Z+ GetIntegerv 8*
Maximum number of active draw
buffers
4.2.1 –
RGBA MODE B GetBooleanv –
True if color buffers store RGBA
2.7 –
INDEX MODE B GetBooleanv –
True if color buffers store indexes
2.7 –
DOUBLEBUFFER B GetBooleanv –
True if front & back buffers exist
4.2.1 –
STEREO B GetBooleanv –
True if left & right buffers exist
6 –
SAMPLE BUFFERS Z+ GetIntegerv 0
Number of multisample buffers
3.3.1 –
SAMPLES Z+ GetIntegerv 0
Coverage mask size
3.3.1 –
MAX COLOR ATTACHMENTS Z+ GetIntegerv 8
Maximum number of FBO attachment
points for color buffers
4.4.2 –
MAX SAMPLES Z+ GetIntegerv 4
Maximum number of samples supported
for multisampling
4.4.2 –
RED BITS Z+ GetIntegerv -
GREEN BITS Z+ GetIntegerv -
BLUE BITS Z+ GetIntegerv -
ALPHA BITS Z+ GetIntegerv -
4 –
DEPTH BITS Z+ GetIntegerv -
Number of depth buffer planes
4 –
STENCIL BITS Z+ GetIntegerv -
Number of stencil planes
4 –
ACCUM RED BITS Z+ GetIntegerv -
ACCUM GREEN BITS Z+ GetIntegerv -
ACCUM BLUE BITS Z+ GetIntegerv -
ACCUM ALPHA BITS Z+ GetIntegerv -
Number of bits in x accumulation
buffer component (x is RED,
GREEN, BLUE, or ALPHA
4 –