@gtkx/gl 0.21.0 → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,15 @@
1
1
  /**
2
- * GENERATED FILE do not edit.
3
- *
4
- * Emitted by the `@gtkx/codegen` Khronos generator from the vendored
5
- * `registry/gl.xml` (gl 4.6 core profile). Regenerate with
6
- * `pnpm --filter @gtkx/codegen codegen:gl`.
2
+ * GENERATED FILE: do not edit.
7
3
  */
8
- import { t } from "@gtkx/ffi";
4
+ import {} from "./types.js";
5
+ import { t } from "@gtkx/runtime";
9
6
  /**
10
7
  * `void glActiveShaderProgram(GLuint pipeline, GLuint program)`
11
8
  *
12
9
  * Provided by `GL_VERSION_4_1`.
13
10
  *
14
- * @param pipeline - `GLuint`, object kind `program pipeline`
15
- * @param program - `GLuint`, object kind `program`
11
+ * @param pipeline - `GLuint`, object class `program pipeline`
12
+ * @param program - `GLuint`, object class `program`
16
13
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glActiveShaderProgram.xhtml
17
14
  */
18
15
  export function activeShaderProgram(pipeline, program) {
@@ -34,8 +31,8 @@ export function activeTexture(texture) {
34
31
  *
35
32
  * Provided by `GL_VERSION_2_0`.
36
33
  *
37
- * @param program - `GLuint`, object kind `program`
38
- * @param shader - `GLuint`, object kind `shader`
34
+ * @param program - `GLuint`, object class `program`
35
+ * @param shader - `GLuint`, object class `shader`
39
36
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glAttachShader.xhtml
40
37
  */
41
38
  export function attachShader(program, shader) {
@@ -59,7 +56,7 @@ export function beginConditionalRender(id, mode) {
59
56
  * Provided by `GL_VERSION_1_5`.
60
57
  *
61
58
  * @param target - `GLenum`, group `QueryTarget`
62
- * @param id - `GLuint`, object kind `query`
59
+ * @param id - `GLuint`, object class `query`
63
60
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBeginQuery.xhtml
64
61
  */
65
62
  export function beginQuery(target, id) {
@@ -72,7 +69,7 @@ export function beginQuery(target, id) {
72
69
  *
73
70
  * @param target - `GLenum`, group `QueryTarget`
74
71
  * @param index - `GLuint`
75
- * @param id - `GLuint`, object kind `query`
72
+ * @param id - `GLuint`, object class `query`
76
73
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBeginQueryIndexed.xhtml
77
74
  */
78
75
  export function beginQueryIndexed(target, index, id) {
@@ -94,7 +91,7 @@ export function beginTransformFeedback(primitiveMode) {
94
91
  *
95
92
  * Provided by `GL_VERSION_2_0`.
96
93
  *
97
- * @param program - `GLuint`, object kind `program`
94
+ * @param program - `GLuint`, object class `program`
98
95
  * @param index - `GLuint`
99
96
  * @param name - `const GLchar *`
100
97
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindAttribLocation.xhtml
@@ -108,7 +105,7 @@ export function bindAttribLocation(program, index, name) {
108
105
  * Provided by `GL_VERSION_1_5`.
109
106
  *
110
107
  * @param target - `GLenum`, group `BufferTargetARB`
111
- * @param buffer - `GLuint`, object kind `buffer`
108
+ * @param buffer - `GLuint`, object class `buffer`
112
109
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindBuffer.xhtml
113
110
  */
114
111
  export function bindBuffer(target, buffer) {
@@ -121,7 +118,7 @@ export function bindBuffer(target, buffer) {
121
118
  *
122
119
  * @param target - `GLenum`, group `BufferTargetARB`
123
120
  * @param index - `GLuint`
124
- * @param buffer - `GLuint`, object kind `buffer`
121
+ * @param buffer - `GLuint`, object class `buffer`
125
122
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindBufferBase.xhtml
126
123
  */
127
124
  export function bindBufferBase(target, index, buffer) {
@@ -134,7 +131,7 @@ export function bindBufferBase(target, index, buffer) {
134
131
  *
135
132
  * @param target - `GLenum`, group `BufferTargetARB`
136
133
  * @param index - `GLuint`
137
- * @param buffer - `GLuint`, object kind `buffer`
134
+ * @param buffer - `GLuint`, object class `buffer`
138
135
  * @param offset - `GLintptr`
139
136
  * @param size - `GLsizeiptr`
140
137
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindBufferRange.xhtml
@@ -150,7 +147,7 @@ export function bindBufferRange(target, index, buffer, offset, size) {
150
147
  * @param target - `GLenum`, group `BufferTargetARB`
151
148
  * @param first - `GLuint`
152
149
  * @param count - `GLsizei`
153
- * @param buffers - `const GLuint *`, length `count`, object kind `buffer`
150
+ * @param buffers - `const GLuint *`, length `count`, object class `buffer`
154
151
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindBuffersBase.xhtml
155
152
  */
156
153
  export function bindBuffersBase(target, first, count, buffers) {
@@ -164,7 +161,7 @@ export function bindBuffersBase(target, first, count, buffers) {
164
161
  * @param target - `GLenum`, group `BufferTargetARB`
165
162
  * @param first - `GLuint`
166
163
  * @param count - `GLsizei`
167
- * @param buffers - `const GLuint *`, length `count`, object kind `buffer`
164
+ * @param buffers - `const GLuint *`, length `count`, object class `buffer`
168
165
  * @param offsets - `const GLintptr *`, length `count`
169
166
  * @param sizes - `const GLsizeiptr *`, length `count`
170
167
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindBuffersRange.xhtml
@@ -177,7 +174,7 @@ export function bindBuffersRange(target, first, count, buffers, offsets, sizes)
177
174
  *
178
175
  * Provided by `GL_VERSION_3_0`.
179
176
  *
180
- * @param program - `GLuint`, object kind `program`
177
+ * @param program - `GLuint`, object class `program`
181
178
  * @param color - `GLuint`
182
179
  * @param name - `const GLchar *`, length `COMPSIZE(name)`
183
180
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindFragDataLocation.xhtml
@@ -190,7 +187,7 @@ export function bindFragDataLocation(program, color, name) {
190
187
  *
191
188
  * Provided by `GL_VERSION_3_3`.
192
189
  *
193
- * @param program - `GLuint`, object kind `program`
190
+ * @param program - `GLuint`, object class `program`
194
191
  * @param colorNumber - `GLuint`
195
192
  * @param index - `GLuint`
196
193
  * @param name - `const GLchar *`
@@ -205,7 +202,7 @@ export function bindFragDataLocationIndexed(program, colorNumber, index, name) {
205
202
  * Provided by `GL_VERSION_3_0`.
206
203
  *
207
204
  * @param target - `GLenum`, group `FramebufferTarget`
208
- * @param framebuffer - `GLuint`, object kind `framebuffer`
205
+ * @param framebuffer - `GLuint`, object class `framebuffer`
209
206
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindFramebuffer.xhtml
210
207
  */
211
208
  export function bindFramebuffer(target, framebuffer) {
@@ -217,7 +214,7 @@ export function bindFramebuffer(target, framebuffer) {
217
214
  * Provided by `GL_VERSION_4_2`.
218
215
  *
219
216
  * @param unit - `GLuint`
220
- * @param texture - `GLuint`, object kind `texture`
217
+ * @param texture - `GLuint`, object class `texture`
221
218
  * @param level - `GLint`
222
219
  * @param layered - `GLboolean`
223
220
  * @param layer - `GLint`
@@ -235,7 +232,7 @@ export function bindImageTexture(unit, texture, level, layered, layer, access, f
235
232
  *
236
233
  * @param first - `GLuint`
237
234
  * @param count - `GLsizei`
238
- * @param textures - `const GLuint *`, length `count`, object kind `texture`
235
+ * @param textures - `const GLuint *`, length `count`, object class `texture`
239
236
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindImageTextures.xhtml
240
237
  */
241
238
  export function bindImageTextures(first, count, textures) {
@@ -246,7 +243,7 @@ export function bindImageTextures(first, count, textures) {
246
243
  *
247
244
  * Provided by `GL_VERSION_4_1`.
248
245
  *
249
- * @param pipeline - `GLuint`, object kind `program pipeline`
246
+ * @param pipeline - `GLuint`, object class `program pipeline`
250
247
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindProgramPipeline.xhtml
251
248
  */
252
249
  export function bindProgramPipeline(pipeline) {
@@ -258,7 +255,7 @@ export function bindProgramPipeline(pipeline) {
258
255
  * Provided by `GL_VERSION_3_0`.
259
256
  *
260
257
  * @param target - `GLenum`, group `RenderbufferTarget`
261
- * @param renderbuffer - `GLuint`, object kind `renderbuffer`
258
+ * @param renderbuffer - `GLuint`, object class `renderbuffer`
262
259
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindRenderbuffer.xhtml
263
260
  */
264
261
  export function bindRenderbuffer(target, renderbuffer) {
@@ -270,7 +267,7 @@ export function bindRenderbuffer(target, renderbuffer) {
270
267
  * Provided by `GL_VERSION_3_3`.
271
268
  *
272
269
  * @param unit - `GLuint`
273
- * @param sampler - `GLuint`, object kind `sampler`
270
+ * @param sampler - `GLuint`, object class `sampler`
274
271
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindSampler.xhtml
275
272
  */
276
273
  export function bindSampler(unit, sampler) {
@@ -283,7 +280,7 @@ export function bindSampler(unit, sampler) {
283
280
  *
284
281
  * @param first - `GLuint`
285
282
  * @param count - `GLsizei`
286
- * @param samplers - `const GLuint *`, length `count`, object kind `sampler`
283
+ * @param samplers - `const GLuint *`, length `count`, object class `sampler`
287
284
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindSamplers.xhtml
288
285
  */
289
286
  export function bindSamplers(first, count, samplers) {
@@ -295,7 +292,7 @@ export function bindSamplers(first, count, samplers) {
295
292
  * Provided by `GL_VERSION_1_1`.
296
293
  *
297
294
  * @param target - `GLenum`, group `TextureTarget`
298
- * @param texture - `GLuint`, object kind `texture`
295
+ * @param texture - `GLuint`, object class `texture`
299
296
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindTexture.xhtml
300
297
  */
301
298
  export function bindTexture(target, texture) {
@@ -308,7 +305,7 @@ export function bindTexture(target, texture) {
308
305
  *
309
306
  * @param first - `GLuint`
310
307
  * @param count - `GLsizei`
311
- * @param textures - `const GLuint *`, length `count`, object kind `texture`
308
+ * @param textures - `const GLuint *`, length `count`, object class `texture`
312
309
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindTextures.xhtml
313
310
  */
314
311
  export function bindTextures(first, count, textures) {
@@ -320,7 +317,7 @@ export function bindTextures(first, count, textures) {
320
317
  * Provided by `GL_VERSION_4_5`.
321
318
  *
322
319
  * @param unit - `GLuint`
323
- * @param texture - `GLuint`, object kind `texture`
320
+ * @param texture - `GLuint`, object class `texture`
324
321
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindTextureUnit.xhtml
325
322
  */
326
323
  export function bindTextureUnit(unit, texture) {
@@ -332,7 +329,7 @@ export function bindTextureUnit(unit, texture) {
332
329
  * Provided by `GL_VERSION_4_0`.
333
330
  *
334
331
  * @param target - `GLenum`, group `BindTransformFeedbackTarget`
335
- * @param id - `GLuint`, object kind `transform feedback`
332
+ * @param id - `GLuint`, object class `transform feedback`
336
333
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindTransformFeedback.xhtml
337
334
  */
338
335
  export function bindTransformFeedback(target, id) {
@@ -343,7 +340,7 @@ export function bindTransformFeedback(target, id) {
343
340
  *
344
341
  * Provided by `GL_VERSION_3_0`.
345
342
  *
346
- * @param array - `GLuint`, object kind `vertex array`
343
+ * @param array - `GLuint`, object class `vertex array`
347
344
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindVertexArray.xhtml
348
345
  */
349
346
  export function bindVertexArray(array) {
@@ -355,7 +352,7 @@ export function bindVertexArray(array) {
355
352
  * Provided by `GL_VERSION_4_3`.
356
353
  *
357
354
  * @param bindingindex - `GLuint`
358
- * @param buffer - `GLuint`, object kind `buffer`
355
+ * @param buffer - `GLuint`, object class `buffer`
359
356
  * @param offset - `GLintptr`
360
357
  * @param stride - `GLsizei`
361
358
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindVertexBuffer.xhtml
@@ -370,7 +367,7 @@ export function bindVertexBuffer(bindingindex, buffer, offset, stride) {
370
367
  *
371
368
  * @param first - `GLuint`
372
369
  * @param count - `GLsizei`
373
- * @param buffers - `const GLuint *`, length `count`, object kind `buffer`
370
+ * @param buffers - `const GLuint *`, length `count`, object class `buffer`
374
371
  * @param offsets - `const GLintptr *`, length `count`
375
372
  * @param strides - `const GLsizei *`, length `count`
376
373
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindVertexBuffers.xhtml
@@ -519,8 +516,8 @@ export function blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1,
519
516
  *
520
517
  * Provided by `GL_VERSION_4_5`.
521
518
  *
522
- * @param readFramebuffer - `GLuint`, object kind `framebuffer`
523
- * @param drawFramebuffer - `GLuint`, object kind `framebuffer`
519
+ * @param readFramebuffer - `GLuint`, object class `framebuffer`
520
+ * @param drawFramebuffer - `GLuint`, object class `framebuffer`
524
521
  * @param srcX0 - `GLint`
525
522
  * @param srcY0 - `GLint`
526
523
  * @param srcX1 - `GLint`
@@ -595,7 +592,7 @@ export function checkFramebufferStatus(target) {
595
592
  *
596
593
  * Provided by `GL_VERSION_4_5`.
597
594
  *
598
- * @param framebuffer - `GLuint`, object kind `framebuffer`
595
+ * @param framebuffer - `GLuint`, object class `framebuffer`
599
596
  * @param target - `GLenum`, group `FramebufferTarget`
600
597
  * @returns `GLenum`
601
598
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glCheckNamedFramebufferStatus.xhtml
@@ -752,7 +749,7 @@ export function clearDepthf(d) {
752
749
  *
753
750
  * Provided by `GL_VERSION_4_5`.
754
751
  *
755
- * @param buffer - `GLuint`, object kind `buffer`
752
+ * @param buffer - `GLuint`, object class `buffer`
756
753
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
757
754
  * @param format - `GLenum`, group `PixelFormat`
758
755
  * @param type - `GLenum`, group `PixelType`
@@ -767,7 +764,7 @@ export function clearNamedBufferData(buffer, internalformat, format, type, data)
767
764
  *
768
765
  * Provided by `GL_VERSION_4_5`.
769
766
  *
770
- * @param buffer - `GLuint`, object kind `buffer`
767
+ * @param buffer - `GLuint`, object class `buffer`
771
768
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
772
769
  * @param offset - `GLintptr`
773
770
  * @param size - `GLsizeiptr`
@@ -784,7 +781,7 @@ export function clearNamedBufferSubData(buffer, internalformat, offset, size, fo
784
781
  *
785
782
  * Provided by `GL_VERSION_4_5`.
786
783
  *
787
- * @param framebuffer - `GLuint`, object kind `framebuffer`
784
+ * @param framebuffer - `GLuint`, object class `framebuffer`
788
785
  * @param buffer - `GLenum`, group `Buffer`
789
786
  * @param drawbuffer - `GLint`
790
787
  * @param depth - `GLfloat`
@@ -799,7 +796,7 @@ export function clearNamedFramebufferfi(framebuffer, buffer, drawbuffer, depth,
799
796
  *
800
797
  * Provided by `GL_VERSION_4_5`.
801
798
  *
802
- * @param framebuffer - `GLuint`, object kind `framebuffer`
799
+ * @param framebuffer - `GLuint`, object class `framebuffer`
803
800
  * @param buffer - `GLenum`, group `Buffer`
804
801
  * @param drawbuffer - `GLint`
805
802
  * @param value - `const GLfloat *`, length `COMPSIZE(buffer)`
@@ -813,7 +810,7 @@ export function clearNamedFramebufferfv(framebuffer, buffer, drawbuffer, value)
813
810
  *
814
811
  * Provided by `GL_VERSION_4_5`.
815
812
  *
816
- * @param framebuffer - `GLuint`, object kind `framebuffer`
813
+ * @param framebuffer - `GLuint`, object class `framebuffer`
817
814
  * @param buffer - `GLenum`, group `Buffer`
818
815
  * @param drawbuffer - `GLint`
819
816
  * @param value - `const GLint *`, length `COMPSIZE(buffer)`
@@ -827,7 +824,7 @@ export function clearNamedFramebufferiv(framebuffer, buffer, drawbuffer, value)
827
824
  *
828
825
  * Provided by `GL_VERSION_4_5`.
829
826
  *
830
- * @param framebuffer - `GLuint`, object kind `framebuffer`
827
+ * @param framebuffer - `GLuint`, object class `framebuffer`
831
828
  * @param buffer - `GLenum`, group `Buffer`
832
829
  * @param drawbuffer - `GLint`
833
830
  * @param value - `const GLuint *`, length `COMPSIZE(buffer)`
@@ -852,7 +849,7 @@ export function clearStencil(s) {
852
849
  *
853
850
  * Provided by `GL_VERSION_4_4`.
854
851
  *
855
- * @param texture - `GLuint`, object kind `texture`
852
+ * @param texture - `GLuint`, object class `texture`
856
853
  * @param level - `GLint`
857
854
  * @param format - `GLenum`, group `PixelFormat`
858
855
  * @param type - `GLenum`, group `PixelType`
@@ -867,7 +864,7 @@ export function clearTexImage(texture, level, format, type, data) {
867
864
  *
868
865
  * Provided by `GL_VERSION_4_4`.
869
866
  *
870
- * @param texture - `GLuint`, object kind `texture`
867
+ * @param texture - `GLuint`, object class `texture`
871
868
  * @param level - `GLint`
872
869
  * @param xoffset - `GLint`
873
870
  * @param yoffset - `GLint`
@@ -888,7 +885,7 @@ export function clearTexSubImage(texture, level, xoffset, yoffset, zoffset, widt
888
885
  *
889
886
  * Provided by `GL_VERSION_3_2`.
890
887
  *
891
- * @param sync - `GLsync`, object kind `sync`
888
+ * @param sync - `GLsync`, object class `sync`
892
889
  * @param flags - `GLbitfield`, group `SyncObjectMask`
893
890
  * @param timeout - `GLuint64`
894
891
  * @returns `GLenum`
@@ -943,7 +940,7 @@ export function colorMaski(index, r, g, b, a) {
943
940
  *
944
941
  * Provided by `GL_VERSION_2_0`.
945
942
  *
946
- * @param shader - `GLuint`, object kind `shader`
943
+ * @param shader - `GLuint`, object class `shader`
947
944
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glCompileShader.xhtml
948
945
  */
949
946
  export function compileShader(shader) {
@@ -1065,7 +1062,7 @@ export function compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset
1065
1062
  *
1066
1063
  * Provided by `GL_VERSION_4_5`.
1067
1064
  *
1068
- * @param texture - `GLuint`, object kind `texture`
1065
+ * @param texture - `GLuint`, object class `texture`
1069
1066
  * @param level - `GLint`
1070
1067
  * @param xoffset - `GLint`
1071
1068
  * @param width - `GLsizei`
@@ -1082,7 +1079,7 @@ export function compressedTextureSubImage1D(texture, level, xoffset, width, form
1082
1079
  *
1083
1080
  * Provided by `GL_VERSION_4_5`.
1084
1081
  *
1085
- * @param texture - `GLuint`, object kind `texture`
1082
+ * @param texture - `GLuint`, object class `texture`
1086
1083
  * @param level - `GLint`
1087
1084
  * @param xoffset - `GLint`
1088
1085
  * @param yoffset - `GLint`
@@ -1101,7 +1098,7 @@ export function compressedTextureSubImage2D(texture, level, xoffset, yoffset, wi
1101
1098
  *
1102
1099
  * Provided by `GL_VERSION_4_5`.
1103
1100
  *
1104
- * @param texture - `GLuint`, object kind `texture`
1101
+ * @param texture - `GLuint`, object class `texture`
1105
1102
  * @param level - `GLint`
1106
1103
  * @param xoffset - `GLint`
1107
1104
  * @param yoffset - `GLint`
@@ -1162,8 +1159,8 @@ export function copyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ,
1162
1159
  *
1163
1160
  * Provided by `GL_VERSION_4_5`.
1164
1161
  *
1165
- * @param readBuffer - `GLuint`, object kind `buffer`
1166
- * @param writeBuffer - `GLuint`, object kind `buffer`
1162
+ * @param readBuffer - `GLuint`, object class `buffer`
1163
+ * @param writeBuffer - `GLuint`, object class `buffer`
1167
1164
  * @param readOffset - `GLintptr`
1168
1165
  * @param writeOffset - `GLintptr`
1169
1166
  * @param size - `GLsizeiptr`
@@ -1265,7 +1262,7 @@ export function copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y
1265
1262
  *
1266
1263
  * Provided by `GL_VERSION_4_5`.
1267
1264
  *
1268
- * @param texture - `GLuint`, object kind `texture`
1265
+ * @param texture - `GLuint`, object class `texture`
1269
1266
  * @param level - `GLint`
1270
1267
  * @param xoffset - `GLint`
1271
1268
  * @param x - `GLint`
@@ -1281,7 +1278,7 @@ export function copyTextureSubImage1D(texture, level, xoffset, x, y, width) {
1281
1278
  *
1282
1279
  * Provided by `GL_VERSION_4_5`.
1283
1280
  *
1284
- * @param texture - `GLuint`, object kind `texture`
1281
+ * @param texture - `GLuint`, object class `texture`
1285
1282
  * @param level - `GLint`
1286
1283
  * @param xoffset - `GLint`
1287
1284
  * @param yoffset - `GLint`
@@ -1299,7 +1296,7 @@ export function copyTextureSubImage2D(texture, level, xoffset, yoffset, x, y, wi
1299
1296
  *
1300
1297
  * Provided by `GL_VERSION_4_5`.
1301
1298
  *
1302
- * @param texture - `GLuint`, object kind `texture`
1299
+ * @param texture - `GLuint`, object class `texture`
1303
1300
  * @param level - `GLint`
1304
1301
  * @param xoffset - `GLint`
1305
1302
  * @param yoffset - `GLint`
@@ -1526,7 +1523,7 @@ export function debugMessageInsert(source, type, id, severity, length, buf) {
1526
1523
  * Provided by `GL_VERSION_1_5`.
1527
1524
  *
1528
1525
  * @param n - `GLsizei`
1529
- * @param buffers - `const GLuint *`, length `n`, object kind `buffer`
1526
+ * @param buffers - `const GLuint *`, length `n`, object class `buffer`
1530
1527
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteBuffers.xhtml
1531
1528
  */
1532
1529
  export function deleteBuffers(n, buffers) {
@@ -1538,7 +1535,7 @@ export function deleteBuffers(n, buffers) {
1538
1535
  * Provided by `GL_VERSION_3_0`.
1539
1536
  *
1540
1537
  * @param n - `GLsizei`
1541
- * @param framebuffers - `const GLuint *`, length `n`, object kind `framebuffer`
1538
+ * @param framebuffers - `const GLuint *`, length `n`, object class `framebuffer`
1542
1539
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteFramebuffers.xhtml
1543
1540
  */
1544
1541
  export function deleteFramebuffers(n, framebuffers) {
@@ -1549,7 +1546,7 @@ export function deleteFramebuffers(n, framebuffers) {
1549
1546
  *
1550
1547
  * Provided by `GL_VERSION_2_0`.
1551
1548
  *
1552
- * @param program - `GLuint`, object kind `program`
1549
+ * @param program - `GLuint`, object class `program`
1553
1550
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteProgram.xhtml
1554
1551
  */
1555
1552
  export function deleteProgram(program) {
@@ -1561,7 +1558,7 @@ export function deleteProgram(program) {
1561
1558
  * Provided by `GL_VERSION_4_1`.
1562
1559
  *
1563
1560
  * @param n - `GLsizei`
1564
- * @param pipelines - `const GLuint *`, length `n`, object kind `program pipeline`
1561
+ * @param pipelines - `const GLuint *`, length `n`, object class `program pipeline`
1565
1562
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteProgramPipelines.xhtml
1566
1563
  */
1567
1564
  export function deleteProgramPipelines(n, pipelines) {
@@ -1573,7 +1570,7 @@ export function deleteProgramPipelines(n, pipelines) {
1573
1570
  * Provided by `GL_VERSION_1_5`.
1574
1571
  *
1575
1572
  * @param n - `GLsizei`
1576
- * @param ids - `const GLuint *`, length `n`, object kind `query`
1573
+ * @param ids - `const GLuint *`, length `n`, object class `query`
1577
1574
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteQueries.xhtml
1578
1575
  */
1579
1576
  export function deleteQueries(n, ids) {
@@ -1585,7 +1582,7 @@ export function deleteQueries(n, ids) {
1585
1582
  * Provided by `GL_VERSION_3_0`.
1586
1583
  *
1587
1584
  * @param n - `GLsizei`
1588
- * @param renderbuffers - `const GLuint *`, length `n`, object kind `renderbuffer`
1585
+ * @param renderbuffers - `const GLuint *`, length `n`, object class `renderbuffer`
1589
1586
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteRenderbuffers.xhtml
1590
1587
  */
1591
1588
  export function deleteRenderbuffers(n, renderbuffers) {
@@ -1597,7 +1594,7 @@ export function deleteRenderbuffers(n, renderbuffers) {
1597
1594
  * Provided by `GL_VERSION_3_3`.
1598
1595
  *
1599
1596
  * @param count - `GLsizei`
1600
- * @param samplers - `const GLuint *`, length `count`, object kind `sampler`
1597
+ * @param samplers - `const GLuint *`, length `count`, object class `sampler`
1601
1598
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteSamplers.xhtml
1602
1599
  */
1603
1600
  export function deleteSamplers(count, samplers) {
@@ -1608,7 +1605,7 @@ export function deleteSamplers(count, samplers) {
1608
1605
  *
1609
1606
  * Provided by `GL_VERSION_2_0`.
1610
1607
  *
1611
- * @param shader - `GLuint`, object kind `shader`
1608
+ * @param shader - `GLuint`, object class `shader`
1612
1609
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteShader.xhtml
1613
1610
  */
1614
1611
  export function deleteShader(shader) {
@@ -1619,7 +1616,7 @@ export function deleteShader(shader) {
1619
1616
  *
1620
1617
  * Provided by `GL_VERSION_3_2`.
1621
1618
  *
1622
- * @param sync - `GLsync`, object kind `sync`
1619
+ * @param sync - `GLsync`, object class `sync`
1623
1620
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteSync.xhtml
1624
1621
  */
1625
1622
  export function deleteSync(sync) {
@@ -1631,7 +1628,7 @@ export function deleteSync(sync) {
1631
1628
  * Provided by `GL_VERSION_1_1`.
1632
1629
  *
1633
1630
  * @param n - `GLsizei`
1634
- * @param textures - `const GLuint *`, length `n`, object kind `texture`
1631
+ * @param textures - `const GLuint *`, length `n`, object class `texture`
1635
1632
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteTextures.xhtml
1636
1633
  */
1637
1634
  export function deleteTextures(n, textures) {
@@ -1643,7 +1640,7 @@ export function deleteTextures(n, textures) {
1643
1640
  * Provided by `GL_VERSION_4_0`.
1644
1641
  *
1645
1642
  * @param n - `GLsizei`
1646
- * @param ids - `const GLuint *`, length `n`, object kind `transform feedback`
1643
+ * @param ids - `const GLuint *`, length `n`, object class `transform feedback`
1647
1644
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteTransformFeedbacks.xhtml
1648
1645
  */
1649
1646
  export function deleteTransformFeedbacks(n, ids) {
@@ -1655,7 +1652,7 @@ export function deleteTransformFeedbacks(n, ids) {
1655
1652
  * Provided by `GL_VERSION_3_0`.
1656
1653
  *
1657
1654
  * @param n - `GLsizei`
1658
- * @param arrays - `const GLuint *`, length `n`, object kind `vertex array`
1655
+ * @param arrays - `const GLuint *`, length `n`, object class `vertex array`
1659
1656
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDeleteVertexArrays.xhtml
1660
1657
  */
1661
1658
  export function deleteVertexArrays(n, arrays) {
@@ -1738,8 +1735,8 @@ export function depthRangeIndexed(index, n, f) {
1738
1735
  *
1739
1736
  * Provided by `GL_VERSION_2_0`.
1740
1737
  *
1741
- * @param program - `GLuint`, object kind `program`
1742
- * @param shader - `GLuint`, object kind `shader`
1738
+ * @param program - `GLuint`, object class `program`
1739
+ * @param shader - `GLuint`, object class `shader`
1743
1740
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDetachShader.xhtml
1744
1741
  */
1745
1742
  export function detachShader(program, shader) {
@@ -1773,7 +1770,7 @@ export function disablei(target, index) {
1773
1770
  *
1774
1771
  * Provided by `GL_VERSION_4_5`.
1775
1772
  *
1776
- * @param vaobj - `GLuint`, object kind `vertex array`
1773
+ * @param vaobj - `GLuint`, object class `vertex array`
1777
1774
  * @param index - `GLuint`
1778
1775
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDisableVertexArrayAttrib.xhtml
1779
1776
  */
@@ -2037,7 +2034,7 @@ export function drawRangeElementsBaseVertex(mode, start, end, count, type, indic
2037
2034
  * Provided by `GL_VERSION_4_0`.
2038
2035
  *
2039
2036
  * @param mode - `GLenum`, group `PrimitiveType`
2040
- * @param id - `GLuint`, object kind `transform feedback`
2037
+ * @param id - `GLuint`, object class `transform feedback`
2041
2038
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDrawTransformFeedback.xhtml
2042
2039
  */
2043
2040
  export function drawTransformFeedback(mode, id) {
@@ -2049,7 +2046,7 @@ export function drawTransformFeedback(mode, id) {
2049
2046
  * Provided by `GL_VERSION_4_2`.
2050
2047
  *
2051
2048
  * @param mode - `GLenum`, group `PrimitiveType`
2052
- * @param id - `GLuint`, object kind `transform feedback`
2049
+ * @param id - `GLuint`, object class `transform feedback`
2053
2050
  * @param instancecount - `GLsizei`
2054
2051
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDrawTransformFeedbackInstanced.xhtml
2055
2052
  */
@@ -2062,7 +2059,7 @@ export function drawTransformFeedbackInstanced(mode, id, instancecount) {
2062
2059
  * Provided by `GL_VERSION_4_0`.
2063
2060
  *
2064
2061
  * @param mode - `GLenum`, group `PrimitiveType`
2065
- * @param id - `GLuint`, object kind `transform feedback`
2062
+ * @param id - `GLuint`, object class `transform feedback`
2066
2063
  * @param stream - `GLuint`
2067
2064
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDrawTransformFeedbackStream.xhtml
2068
2065
  */
@@ -2075,7 +2072,7 @@ export function drawTransformFeedbackStream(mode, id, stream) {
2075
2072
  * Provided by `GL_VERSION_4_2`.
2076
2073
  *
2077
2074
  * @param mode - `GLenum`, group `PrimitiveType`
2078
- * @param id - `GLuint`, object kind `transform feedback`
2075
+ * @param id - `GLuint`, object class `transform feedback`
2079
2076
  * @param stream - `GLuint`
2080
2077
  * @param instancecount - `GLsizei`
2081
2078
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDrawTransformFeedbackStreamInstanced.xhtml
@@ -2111,7 +2108,7 @@ export function enablei(target, index) {
2111
2108
  *
2112
2109
  * Provided by `GL_VERSION_4_5`.
2113
2110
  *
2114
- * @param vaobj - `GLuint`, object kind `vertex array`
2111
+ * @param vaobj - `GLuint`, object class `vertex array`
2115
2112
  * @param index - `GLuint`
2116
2113
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glEnableVertexArrayAttrib.xhtml
2117
2114
  */
@@ -2219,7 +2216,7 @@ export function flushMappedBufferRange(target, offset, length) {
2219
2216
  *
2220
2217
  * Provided by `GL_VERSION_4_5`.
2221
2218
  *
2222
- * @param buffer - `GLuint`, object kind `buffer`
2219
+ * @param buffer - `GLuint`, object class `buffer`
2223
2220
  * @param offset - `GLintptr`
2224
2221
  * @param length - `GLsizeiptr`
2225
2222
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glFlushMappedNamedBufferRange.xhtml
@@ -2248,7 +2245,7 @@ export function framebufferParameteri(target, pname, param) {
2248
2245
  * @param target - `GLenum`, group `FramebufferTarget`
2249
2246
  * @param attachment - `GLenum`, group `FramebufferAttachment`
2250
2247
  * @param renderbuffertarget - `GLenum`, group `RenderbufferTarget`
2251
- * @param renderbuffer - `GLuint`, object kind `renderbuffer`
2248
+ * @param renderbuffer - `GLuint`, object class `renderbuffer`
2252
2249
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glFramebufferRenderbuffer.xhtml
2253
2250
  */
2254
2251
  export function framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) {
@@ -2261,7 +2258,7 @@ export function framebufferRenderbuffer(target, attachment, renderbuffertarget,
2261
2258
  *
2262
2259
  * @param target - `GLenum`, group `FramebufferTarget`
2263
2260
  * @param attachment - `GLenum`, group `FramebufferAttachment`
2264
- * @param texture - `GLuint`, object kind `texture`
2261
+ * @param texture - `GLuint`, object class `texture`
2265
2262
  * @param level - `GLint`
2266
2263
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glFramebufferTexture.xhtml
2267
2264
  */
@@ -2276,7 +2273,7 @@ export function framebufferTexture(target, attachment, texture, level) {
2276
2273
  * @param target - `GLenum`, group `FramebufferTarget`
2277
2274
  * @param attachment - `GLenum`, group `FramebufferAttachment`
2278
2275
  * @param textarget - `GLenum`, group `TextureTarget`
2279
- * @param texture - `GLuint`, object kind `texture`
2276
+ * @param texture - `GLuint`, object class `texture`
2280
2277
  * @param level - `GLint`
2281
2278
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glFramebufferTexture1D.xhtml
2282
2279
  */
@@ -2291,7 +2288,7 @@ export function framebufferTexture1D(target, attachment, textarget, texture, lev
2291
2288
  * @param target - `GLenum`, group `FramebufferTarget`
2292
2289
  * @param attachment - `GLenum`, group `FramebufferAttachment`
2293
2290
  * @param textarget - `GLenum`, group `TextureTarget`
2294
- * @param texture - `GLuint`, object kind `texture`
2291
+ * @param texture - `GLuint`, object class `texture`
2295
2292
  * @param level - `GLint`
2296
2293
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glFramebufferTexture2D.xhtml
2297
2294
  */
@@ -2306,7 +2303,7 @@ export function framebufferTexture2D(target, attachment, textarget, texture, lev
2306
2303
  * @param target - `GLenum`, group `FramebufferTarget`
2307
2304
  * @param attachment - `GLenum`, group `FramebufferAttachment`
2308
2305
  * @param textarget - `GLenum`, group `TextureTarget`
2309
- * @param texture - `GLuint`, object kind `texture`
2306
+ * @param texture - `GLuint`, object class `texture`
2310
2307
  * @param level - `GLint`
2311
2308
  * @param zoffset - `GLint`
2312
2309
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glFramebufferTexture3D.xhtml
@@ -2321,7 +2318,7 @@ export function framebufferTexture3D(target, attachment, textarget, texture, lev
2321
2318
  *
2322
2319
  * @param target - `GLenum`, group `FramebufferTarget`
2323
2320
  * @param attachment - `GLenum`, group `FramebufferAttachment`
2324
- * @param texture - `GLuint`, object kind `texture`
2321
+ * @param texture - `GLuint`, object class `texture`
2325
2322
  * @param level - `GLint`
2326
2323
  * @param layer - `GLint`
2327
2324
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glFramebufferTextureLayer.xhtml
@@ -2370,7 +2367,7 @@ export function generateMipmap(target) {
2370
2367
  *
2371
2368
  * Provided by `GL_VERSION_4_5`.
2372
2369
  *
2373
- * @param texture - `GLuint`, object kind `texture`
2370
+ * @param texture - `GLuint`, object class `texture`
2374
2371
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGenerateTextureMipmap.xhtml
2375
2372
  */
2376
2373
  export function generateTextureMipmap(texture) {
@@ -2493,7 +2490,7 @@ export function genVertexArrays(n) {
2493
2490
  *
2494
2491
  * Provided by `GL_VERSION_2_0`.
2495
2492
  *
2496
- * @param program - `GLuint`, object kind `program`
2493
+ * @param program - `GLuint`, object class `program`
2497
2494
  * @param index - `GLuint`
2498
2495
  * @param bufSize - `GLsizei`
2499
2496
  * @returns Tuple of `length` (`GLsizei *`), `size` (`GLint *`), `type` (`GLenum *`), `name` (`GLchar *`)
@@ -2504,15 +2501,7 @@ export function getActiveAttrib(program, index, bufSize) {
2504
2501
  const out1 = { value: 0 };
2505
2502
  const out2 = { value: 0 };
2506
2503
  const out3 = { value: "" };
2507
- const binding = t.bind(LIB, "glGetActiveAttrib", [
2508
- t.uint32,
2509
- t.uint32,
2510
- t.int32,
2511
- t.ref(t.int32),
2512
- t.ref(t.int32),
2513
- t.ref(t.uint32),
2514
- t.ref(t.string("borrowed", bufSize)),
2515
- ], t.void);
2504
+ const binding = t.bind(LIB, "glGetActiveAttrib", [t.uint32, t.uint32, t.int32, t.ref(t.int32), t.ref(t.int32), t.ref(t.uint32), t.ref(t.string("borrowed", bufSize))], t.void);
2516
2505
  binding(program, index, bufSize, out0, out1, out2, out3);
2517
2506
  return [out0.value, out1.value, out2.value, out3.value];
2518
2507
  }
@@ -2521,7 +2510,7 @@ export function getActiveAttrib(program, index, bufSize) {
2521
2510
  *
2522
2511
  * Provided by `GL_VERSION_4_0`.
2523
2512
  *
2524
- * @param program - `GLuint`, object kind `program`
2513
+ * @param program - `GLuint`, object class `program`
2525
2514
  * @param shadertype - `GLenum`, group `ShaderType`
2526
2515
  * @param index - `GLuint`
2527
2516
  * @param bufSize - `GLsizei`
@@ -2540,7 +2529,7 @@ export function getActiveSubroutineName(program, shadertype, index, bufSize) {
2540
2529
  *
2541
2530
  * Provided by `GL_VERSION_4_0`.
2542
2531
  *
2543
- * @param program - `GLuint`, object kind `program`
2532
+ * @param program - `GLuint`, object class `program`
2544
2533
  * @param shadertype - `GLenum`, group `ShaderType`
2545
2534
  * @param index - `GLuint`
2546
2535
  * @param bufSize - `GLsizei`
@@ -2559,7 +2548,7 @@ export function getActiveSubroutineUniformName(program, shadertype, index, bufSi
2559
2548
  *
2560
2549
  * Provided by `GL_VERSION_2_0`.
2561
2550
  *
2562
- * @param program - `GLuint`, object kind `program`
2551
+ * @param program - `GLuint`, object class `program`
2563
2552
  * @param index - `GLuint`
2564
2553
  * @param bufSize - `GLsizei`
2565
2554
  * @returns Tuple of `length` (`GLsizei *`), `size` (`GLint *`), `type` (`GLenum *`), `name` (`GLchar *`)
@@ -2570,15 +2559,7 @@ export function getActiveUniform(program, index, bufSize) {
2570
2559
  const out1 = { value: 0 };
2571
2560
  const out2 = { value: 0 };
2572
2561
  const out3 = { value: "" };
2573
- const binding = t.bind(LIB, "glGetActiveUniform", [
2574
- t.uint32,
2575
- t.uint32,
2576
- t.int32,
2577
- t.ref(t.int32),
2578
- t.ref(t.int32),
2579
- t.ref(t.uint32),
2580
- t.ref(t.string("borrowed", bufSize)),
2581
- ], t.void);
2562
+ const binding = t.bind(LIB, "glGetActiveUniform", [t.uint32, t.uint32, t.int32, t.ref(t.int32), t.ref(t.int32), t.ref(t.uint32), t.ref(t.string("borrowed", bufSize))], t.void);
2582
2563
  binding(program, index, bufSize, out0, out1, out2, out3);
2583
2564
  return [out0.value, out1.value, out2.value, out3.value];
2584
2565
  }
@@ -2587,7 +2568,7 @@ export function getActiveUniform(program, index, bufSize) {
2587
2568
  *
2588
2569
  * Provided by `GL_VERSION_3_1`.
2589
2570
  *
2590
- * @param program - `GLuint`, object kind `program`
2571
+ * @param program - `GLuint`, object class `program`
2591
2572
  * @param uniformBlockIndex - `GLuint`
2592
2573
  * @param bufSize - `GLsizei`
2593
2574
  * @returns Tuple of `length` (`GLsizei *`), `uniformBlockName` (`GLchar *`)
@@ -2605,7 +2586,7 @@ export function getActiveUniformBlockName(program, uniformBlockIndex, bufSize) {
2605
2586
  *
2606
2587
  * Provided by `GL_VERSION_3_1`.
2607
2588
  *
2608
- * @param program - `GLuint`, object kind `program`
2589
+ * @param program - `GLuint`, object class `program`
2609
2590
  * @param uniformIndex - `GLuint`
2610
2591
  * @param bufSize - `GLsizei`
2611
2592
  * @returns Tuple of `length` (`GLsizei *`), `uniformName` (`GLchar *`)
@@ -2623,7 +2604,7 @@ export function getActiveUniformName(program, uniformIndex, bufSize) {
2623
2604
  *
2624
2605
  * Provided by `GL_VERSION_2_0`.
2625
2606
  *
2626
- * @param program - `GLuint`, object kind `program`
2607
+ * @param program - `GLuint`, object class `program`
2627
2608
  * @param maxCount - `GLsizei`
2628
2609
  * @returns Tuple of `count` (`GLsizei *`), `shaders` (`GLuint *`)
2629
2610
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetAttachedShaders.xhtml
@@ -2639,7 +2620,7 @@ export function getAttachedShaders(program, maxCount) {
2639
2620
  *
2640
2621
  * Provided by `GL_VERSION_2_0`.
2641
2622
  *
2642
- * @param program - `GLuint`, object kind `program`
2623
+ * @param program - `GLuint`, object class `program`
2643
2624
  * @param name - `const GLchar *`
2644
2625
  * @returns `GLint`
2645
2626
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetAttribLocation.xhtml
@@ -2709,7 +2690,7 @@ export function getCompressedTexImage(target, level, img) {
2709
2690
  *
2710
2691
  * Provided by `GL_VERSION_4_5`.
2711
2692
  *
2712
- * @param texture - `GLuint`, object kind `texture`
2693
+ * @param texture - `GLuint`, object class `texture`
2713
2694
  * @param level - `GLint`
2714
2695
  * @param bufSize - `GLsizei`
2715
2696
  * @param pixels - `void *`, length `bufSize`
@@ -2723,7 +2704,7 @@ export function getCompressedTextureImage(texture, level, bufSize, pixels) {
2723
2704
  *
2724
2705
  * Provided by `GL_VERSION_4_5`.
2725
2706
  *
2726
- * @param texture - `GLuint`, object kind `texture`
2707
+ * @param texture - `GLuint`, object class `texture`
2727
2708
  * @param level - `GLint`
2728
2709
  * @param xoffset - `GLint`
2729
2710
  * @param yoffset - `GLint`
@@ -2755,16 +2736,7 @@ export function getDebugMessageLog(count, bufSize) {
2755
2736
  const out3 = { value: new Array(count).fill(0) };
2756
2737
  const out4 = { value: new Array(count).fill(0) };
2757
2738
  const out5 = { value: "" };
2758
- const binding = t.bind(LIB, "glGetDebugMessageLog", [
2759
- t.uint32,
2760
- t.int32,
2761
- t.ref(t.sizedArray(t.uint32, 0)),
2762
- t.ref(t.sizedArray(t.uint32, 0)),
2763
- t.ref(t.sizedArray(t.uint32, 0)),
2764
- t.ref(t.sizedArray(t.uint32, 0)),
2765
- t.ref(t.sizedArray(t.int32, 0)),
2766
- t.ref(t.string("borrowed", bufSize)),
2767
- ], t.uint32);
2739
+ const binding = t.bind(LIB, "glGetDebugMessageLog", [t.uint32, t.int32, t.ref(t.sizedArray(t.uint32, 0)), t.ref(t.sizedArray(t.uint32, 0)), t.ref(t.sizedArray(t.uint32, 0)), t.ref(t.sizedArray(t.uint32, 0)), t.ref(t.sizedArray(t.int32, 0)), t.ref(t.string("borrowed", bufSize))], t.uint32);
2768
2740
  const result = binding(count, bufSize, out0, out1, out2, out3, out4, out5);
2769
2741
  return [result, out0.value, out1.value, out2.value, out3.value, out4.value, out5.value];
2770
2742
  }
@@ -2783,7 +2755,7 @@ export function getError() {
2783
2755
  *
2784
2756
  * Provided by `GL_VERSION_3_3`.
2785
2757
  *
2786
- * @param program - `GLuint`, object kind `program`
2758
+ * @param program - `GLuint`, object class `program`
2787
2759
  * @param name - `const GLchar *`
2788
2760
  * @returns `GLint`
2789
2761
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetFragDataIndex.xhtml
@@ -2796,7 +2768,7 @@ export function getFragDataIndex(program, name) {
2796
2768
  *
2797
2769
  * Provided by `GL_VERSION_3_0`.
2798
2770
  *
2799
- * @param program - `GLuint`, object kind `program`
2771
+ * @param program - `GLuint`, object class `program`
2800
2772
  * @param name - `const GLchar *`, length `COMPSIZE(name)`
2801
2773
  * @returns `GLint`
2802
2774
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetFragDataLocation.xhtml
@@ -2884,7 +2856,7 @@ export function getInternalformativ(target, internalformat, pname, count) {
2884
2856
  *
2885
2857
  * Provided by `GL_VERSION_4_5`.
2886
2858
  *
2887
- * @param buffer - `GLuint`, object kind `buffer`
2859
+ * @param buffer - `GLuint`, object class `buffer`
2888
2860
  * @param pname - `GLenum`, group `BufferPNameARB`
2889
2861
  * @returns `params` (`GLint64 *`)
2890
2862
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetNamedBufferParameteri64v.xhtml
@@ -2899,7 +2871,7 @@ export function getNamedBufferParameteri64v(buffer, pname) {
2899
2871
  *
2900
2872
  * Provided by `GL_VERSION_4_5`.
2901
2873
  *
2902
- * @param buffer - `GLuint`, object kind `buffer`
2874
+ * @param buffer - `GLuint`, object class `buffer`
2903
2875
  * @param pname - `GLenum`, group `BufferPNameARB`
2904
2876
  * @returns `params` (`GLint *`)
2905
2877
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetNamedBufferParameteriv.xhtml
@@ -2914,7 +2886,7 @@ export function getNamedBufferParameteriv(buffer, pname) {
2914
2886
  *
2915
2887
  * Provided by `GL_VERSION_4_5`.
2916
2888
  *
2917
- * @param buffer - `GLuint`, object kind `buffer`
2889
+ * @param buffer - `GLuint`, object class `buffer`
2918
2890
  * @param offset - `GLintptr`
2919
2891
  * @param size - `GLsizeiptr`
2920
2892
  * @param data - `void *`, length `size`
@@ -2928,7 +2900,7 @@ export function getNamedBufferSubData(buffer, offset, size, data) {
2928
2900
  *
2929
2901
  * Provided by `GL_VERSION_4_5`.
2930
2902
  *
2931
- * @param framebuffer - `GLuint`, object kind `framebuffer`
2903
+ * @param framebuffer - `GLuint`, object class `framebuffer`
2932
2904
  * @param attachment - `GLenum`, group `FramebufferAttachment`
2933
2905
  * @param pname - `GLenum`, group `FramebufferAttachmentParameterName`
2934
2906
  * @returns `params` (`GLint *`)
@@ -2944,7 +2916,7 @@ export function getNamedFramebufferAttachmentParameteriv(framebuffer, attachment
2944
2916
  *
2945
2917
  * Provided by `GL_VERSION_4_5`.
2946
2918
  *
2947
- * @param framebuffer - `GLuint`, object kind `framebuffer`
2919
+ * @param framebuffer - `GLuint`, object class `framebuffer`
2948
2920
  * @param pname - `GLenum`, group `GetFramebufferParameter`
2949
2921
  * @returns `param` (`GLint *`)
2950
2922
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetNamedFramebufferParameteriv.xhtml
@@ -2959,7 +2931,7 @@ export function getNamedFramebufferParameteriv(framebuffer, pname) {
2959
2931
  *
2960
2932
  * Provided by `GL_VERSION_4_5`.
2961
2933
  *
2962
- * @param renderbuffer - `GLuint`, object kind `renderbuffer`
2934
+ * @param renderbuffer - `GLuint`, object class `renderbuffer`
2963
2935
  * @param pname - `GLenum`, group `RenderbufferParameterName`
2964
2936
  * @returns `params` (`GLint *`)
2965
2937
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetNamedRenderbufferParameteriv.xhtml
@@ -3030,7 +3002,7 @@ export function getObjectLabel(identifier, name, bufSize) {
3030
3002
  export function getObjectPtrLabel(ptr, bufSize) {
3031
3003
  const out0 = { value: 0 };
3032
3004
  const out1 = { value: "" };
3033
- const binding = t.bind(LIB, "glGetObjectPtrLabel", [t.blob, t.int32, t.ref(t.int32), t.ref(t.string("borrowed", bufSize))], t.void);
3005
+ const binding = t.bind(LIB, "glGetObjectPtrLabel", [t.buffer, t.int32, t.ref(t.int32), t.ref(t.string("borrowed", bufSize))], t.void);
3034
3006
  binding(ptr, bufSize, out0, out1);
3035
3007
  return [out0.value, out1.value];
3036
3008
  }
@@ -3039,7 +3011,7 @@ export function getObjectPtrLabel(ptr, bufSize) {
3039
3011
  *
3040
3012
  * Provided by `GL_VERSION_4_1`.
3041
3013
  *
3042
- * @param program - `GLuint`, object kind `program`
3014
+ * @param program - `GLuint`, object class `program`
3043
3015
  * @param bufSize - `GLsizei`
3044
3016
  * @param binary - `void *`, length `bufSize`
3045
3017
  * @returns Tuple of `length` (`GLsizei *`), `binaryFormat` (`GLenum *`)
@@ -3056,7 +3028,7 @@ export function getProgramBinary(program, bufSize, binary) {
3056
3028
  *
3057
3029
  * Provided by `GL_VERSION_2_0`.
3058
3030
  *
3059
- * @param program - `GLuint`, object kind `program`
3031
+ * @param program - `GLuint`, object class `program`
3060
3032
  * @param pname - `GLenum`, group `ProgramPropertyARB`
3061
3033
  * @returns `params` (`GLint *`)
3062
3034
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetProgramiv.xhtml
@@ -3071,7 +3043,7 @@ export function getProgramiv(program, pname) {
3071
3043
  *
3072
3044
  * Provided by `GL_VERSION_4_1`.
3073
3045
  *
3074
- * @param pipeline - `GLuint`, object kind `program pipeline`
3046
+ * @param pipeline - `GLuint`, object class `program pipeline`
3075
3047
  * @param pname - `GLenum`, group `PipelineParameterName`
3076
3048
  * @returns `params` (`GLint *`)
3077
3049
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetProgramPipelineiv.xhtml
@@ -3086,7 +3058,7 @@ export function getProgramPipelineiv(pipeline, pname) {
3086
3058
  *
3087
3059
  * Provided by `GL_VERSION_4_3`.
3088
3060
  *
3089
- * @param program - `GLuint`, object kind `program`
3061
+ * @param program - `GLuint`, object class `program`
3090
3062
  * @param programInterface - `GLenum`, group `ProgramInterface`
3091
3063
  * @param name - `const GLchar *`, length `COMPSIZE(name)`
3092
3064
  * @returns `GLuint`
@@ -3100,7 +3072,7 @@ export function getProgramResourceIndex(program, programInterface, name) {
3100
3072
  *
3101
3073
  * Provided by `GL_VERSION_4_3`.
3102
3074
  *
3103
- * @param program - `GLuint`, object kind `program`
3075
+ * @param program - `GLuint`, object class `program`
3104
3076
  * @param programInterface - `GLenum`, group `ProgramInterface`
3105
3077
  * @param index - `GLuint`
3106
3078
  * @param propCount - `GLsizei`
@@ -3120,7 +3092,7 @@ export function getProgramResourceiv(program, programInterface, index, propCount
3120
3092
  *
3121
3093
  * Provided by `GL_VERSION_4_3`.
3122
3094
  *
3123
- * @param program - `GLuint`, object kind `program`
3095
+ * @param program - `GLuint`, object class `program`
3124
3096
  * @param programInterface - `GLenum`, group `ProgramInterface`
3125
3097
  * @param name - `const GLchar *`, length `COMPSIZE(name)`
3126
3098
  * @returns `GLint`
@@ -3134,7 +3106,7 @@ export function getProgramResourceLocation(program, programInterface, name) {
3134
3106
  *
3135
3107
  * Provided by `GL_VERSION_4_3`.
3136
3108
  *
3137
- * @param program - `GLuint`, object kind `program`
3109
+ * @param program - `GLuint`, object class `program`
3138
3110
  * @param programInterface - `GLenum`, group `ProgramInterface`
3139
3111
  * @param name - `const GLchar *`, length `COMPSIZE(name)`
3140
3112
  * @returns `GLint`
@@ -3148,7 +3120,7 @@ export function getProgramResourceLocationIndex(program, programInterface, name)
3148
3120
  *
3149
3121
  * Provided by `GL_VERSION_4_3`.
3150
3122
  *
3151
- * @param program - `GLuint`, object kind `program`
3123
+ * @param program - `GLuint`, object class `program`
3152
3124
  * @param programInterface - `GLenum`, group `ProgramInterface`
3153
3125
  * @param index - `GLuint`
3154
3126
  * @param bufSize - `GLsizei`
@@ -3167,7 +3139,7 @@ export function getProgramResourceName(program, programInterface, index, bufSize
3167
3139
  *
3168
3140
  * Provided by `GL_VERSION_4_0`.
3169
3141
  *
3170
- * @param program - `GLuint`, object kind `program`
3142
+ * @param program - `GLuint`, object class `program`
3171
3143
  * @param shadertype - `GLenum`, group `ShaderType`
3172
3144
  * @param pname - `GLenum`, group `ProgramStagePName`
3173
3145
  * @returns `values` (`GLint *`)
@@ -3183,8 +3155,8 @@ export function getProgramStageiv(program, shadertype, pname) {
3183
3155
  *
3184
3156
  * Provided by `GL_VERSION_4_5`.
3185
3157
  *
3186
- * @param id - `GLuint`, object kind `query`
3187
- * @param buffer - `GLuint`, object kind `buffer`
3158
+ * @param id - `GLuint`, object class `query`
3159
+ * @param buffer - `GLuint`, object class `buffer`
3188
3160
  * @param pname - `GLenum`, group `QueryObjectParameterName`
3189
3161
  * @param offset - `GLintptr`
3190
3162
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetQueryBufferObjecti64v.xhtml
@@ -3197,8 +3169,8 @@ export function getQueryBufferObjecti64v(id, buffer, pname, offset) {
3197
3169
  *
3198
3170
  * Provided by `GL_VERSION_4_5`.
3199
3171
  *
3200
- * @param id - `GLuint`, object kind `query`
3201
- * @param buffer - `GLuint`, object kind `buffer`
3172
+ * @param id - `GLuint`, object class `query`
3173
+ * @param buffer - `GLuint`, object class `buffer`
3202
3174
  * @param pname - `GLenum`, group `QueryObjectParameterName`
3203
3175
  * @param offset - `GLintptr`
3204
3176
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetQueryBufferObjectiv.xhtml
@@ -3211,8 +3183,8 @@ export function getQueryBufferObjectiv(id, buffer, pname, offset) {
3211
3183
  *
3212
3184
  * Provided by `GL_VERSION_4_5`.
3213
3185
  *
3214
- * @param id - `GLuint`, object kind `query`
3215
- * @param buffer - `GLuint`, object kind `buffer`
3186
+ * @param id - `GLuint`, object class `query`
3187
+ * @param buffer - `GLuint`, object class `buffer`
3216
3188
  * @param pname - `GLenum`, group `QueryObjectParameterName`
3217
3189
  * @param offset - `GLintptr`
3218
3190
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetQueryBufferObjectui64v.xhtml
@@ -3225,8 +3197,8 @@ export function getQueryBufferObjectui64v(id, buffer, pname, offset) {
3225
3197
  *
3226
3198
  * Provided by `GL_VERSION_4_5`.
3227
3199
  *
3228
- * @param id - `GLuint`, object kind `query`
3229
- * @param buffer - `GLuint`, object kind `buffer`
3200
+ * @param id - `GLuint`, object class `query`
3201
+ * @param buffer - `GLuint`, object class `buffer`
3230
3202
  * @param pname - `GLenum`, group `QueryObjectParameterName`
3231
3203
  * @param offset - `GLintptr`
3232
3204
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetQueryBufferObjectuiv.xhtml
@@ -3254,7 +3226,7 @@ export function getQueryiv(target, pname) {
3254
3226
  *
3255
3227
  * Provided by `GL_VERSION_3_3`.
3256
3228
  *
3257
- * @param id - `GLuint`, object kind `query`
3229
+ * @param id - `GLuint`, object class `query`
3258
3230
  * @param pname - `GLenum`, group `QueryObjectParameterName`
3259
3231
  * @returns `params` (`GLint64 *`)
3260
3232
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetQueryObjecti64v.xhtml
@@ -3269,7 +3241,7 @@ export function getQueryObjecti64v(id, pname) {
3269
3241
  *
3270
3242
  * Provided by `GL_VERSION_1_5`.
3271
3243
  *
3272
- * @param id - `GLuint`, object kind `query`
3244
+ * @param id - `GLuint`, object class `query`
3273
3245
  * @param pname - `GLenum`, group `QueryObjectParameterName`
3274
3246
  * @returns `params` (`GLint *`)
3275
3247
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetQueryObjectiv.xhtml
@@ -3284,7 +3256,7 @@ export function getQueryObjectiv(id, pname) {
3284
3256
  *
3285
3257
  * Provided by `GL_VERSION_3_3`.
3286
3258
  *
3287
- * @param id - `GLuint`, object kind `query`
3259
+ * @param id - `GLuint`, object class `query`
3288
3260
  * @param pname - `GLenum`, group `QueryObjectParameterName`
3289
3261
  * @returns `params` (`GLuint64 *`)
3290
3262
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetQueryObjectui64v.xhtml
@@ -3299,7 +3271,7 @@ export function getQueryObjectui64v(id, pname) {
3299
3271
  *
3300
3272
  * Provided by `GL_VERSION_1_5`.
3301
3273
  *
3302
- * @param id - `GLuint`, object kind `query`
3274
+ * @param id - `GLuint`, object class `query`
3303
3275
  * @param pname - `GLenum`, group `QueryObjectParameterName`
3304
3276
  * @returns `params` (`GLuint *`)
3305
3277
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetQueryObjectuiv.xhtml
@@ -3329,7 +3301,7 @@ export function getRenderbufferParameteriv(target, pname) {
3329
3301
  *
3330
3302
  * Provided by `GL_VERSION_2_0`.
3331
3303
  *
3332
- * @param shader - `GLuint`, object kind `shader`
3304
+ * @param shader - `GLuint`, object class `shader`
3333
3305
  * @param pname - `GLenum`, group `ShaderParameterName`
3334
3306
  * @returns `params` (`GLint *`)
3335
3307
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetShaderiv.xhtml
@@ -3360,7 +3332,7 @@ export function getShaderPrecisionFormat(shadertype, precisiontype) {
3360
3332
  *
3361
3333
  * Provided by `GL_VERSION_2_0`.
3362
3334
  *
3363
- * @param shader - `GLuint`, object kind `shader`
3335
+ * @param shader - `GLuint`, object class `shader`
3364
3336
  * @param bufSize - `GLsizei`
3365
3337
  * @returns Tuple of `length` (`GLsizei *`), `source` (`GLchar *`)
3366
3338
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetShaderSource.xhtml
@@ -3402,7 +3374,7 @@ export function getStringi(name, index) {
3402
3374
  *
3403
3375
  * Provided by `GL_VERSION_4_0`.
3404
3376
  *
3405
- * @param program - `GLuint`, object kind `program`
3377
+ * @param program - `GLuint`, object class `program`
3406
3378
  * @param shadertype - `GLenum`, group `ShaderType`
3407
3379
  * @param name - `const GLchar *`
3408
3380
  * @returns `GLuint`
@@ -3416,7 +3388,7 @@ export function getSubroutineIndex(program, shadertype, name) {
3416
3388
  *
3417
3389
  * Provided by `GL_VERSION_4_0`.
3418
3390
  *
3419
- * @param program - `GLuint`, object kind `program`
3391
+ * @param program - `GLuint`, object class `program`
3420
3392
  * @param shadertype - `GLenum`, group `ShaderType`
3421
3393
  * @param name - `const GLchar *`
3422
3394
  * @returns `GLint`
@@ -3430,7 +3402,7 @@ export function getSubroutineUniformLocation(program, shadertype, name) {
3430
3402
  *
3431
3403
  * Provided by `GL_VERSION_3_2`.
3432
3404
  *
3433
- * @param sync - `GLsync`, object kind `sync`
3405
+ * @param sync - `GLsync`, object class `sync`
3434
3406
  * @param pname - `GLenum`, group `SyncParameterName`
3435
3407
  * @param count - `GLsizei`
3436
3408
  * @returns Tuple of `length` (`GLsizei *`), `values` (`GLint *`)
@@ -3462,7 +3434,7 @@ export function getTexImage(target, level, format, type, pixels) {
3462
3434
  *
3463
3435
  * Provided by `GL_VERSION_4_5`.
3464
3436
  *
3465
- * @param texture - `GLuint`, object kind `texture`
3437
+ * @param texture - `GLuint`, object class `texture`
3466
3438
  * @param level - `GLint`
3467
3439
  * @param format - `GLenum`, group `PixelFormat`
3468
3440
  * @param type - `GLenum`, group `PixelType`
@@ -3478,7 +3450,7 @@ export function getTextureImage(texture, level, format, type, bufSize, pixels) {
3478
3450
  *
3479
3451
  * Provided by `GL_VERSION_4_5`.
3480
3452
  *
3481
- * @param texture - `GLuint`, object kind `texture`
3453
+ * @param texture - `GLuint`, object class `texture`
3482
3454
  * @param level - `GLint`
3483
3455
  * @param pname - `GLenum`, group `GetTextureParameter`
3484
3456
  * @returns `params` (`GLfloat *`)
@@ -3494,7 +3466,7 @@ export function getTextureLevelParameterfv(texture, level, pname) {
3494
3466
  *
3495
3467
  * Provided by `GL_VERSION_4_5`.
3496
3468
  *
3497
- * @param texture - `GLuint`, object kind `texture`
3469
+ * @param texture - `GLuint`, object class `texture`
3498
3470
  * @param level - `GLint`
3499
3471
  * @param pname - `GLenum`, group `GetTextureParameter`
3500
3472
  * @returns `params` (`GLint *`)
@@ -3510,7 +3482,7 @@ export function getTextureLevelParameteriv(texture, level, pname) {
3510
3482
  *
3511
3483
  * Provided by `GL_VERSION_4_5`.
3512
3484
  *
3513
- * @param texture - `GLuint`, object kind `texture`
3485
+ * @param texture - `GLuint`, object class `texture`
3514
3486
  * @param pname - `GLenum`, group `GetTextureParameter`
3515
3487
  * @returns `params` (`GLfloat *`)
3516
3488
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetTextureParameterfv.xhtml
@@ -3525,7 +3497,7 @@ export function getTextureParameterfv(texture, pname) {
3525
3497
  *
3526
3498
  * Provided by `GL_VERSION_4_5`.
3527
3499
  *
3528
- * @param texture - `GLuint`, object kind `texture`
3500
+ * @param texture - `GLuint`, object class `texture`
3529
3501
  * @param pname - `GLenum`, group `GetTextureParameter`
3530
3502
  * @returns `params` (`GLint *`)
3531
3503
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetTextureParameterIiv.xhtml
@@ -3540,7 +3512,7 @@ export function getTextureParameterIiv(texture, pname) {
3540
3512
  *
3541
3513
  * Provided by `GL_VERSION_4_5`.
3542
3514
  *
3543
- * @param texture - `GLuint`, object kind `texture`
3515
+ * @param texture - `GLuint`, object class `texture`
3544
3516
  * @param pname - `GLenum`, group `GetTextureParameter`
3545
3517
  * @returns `params` (`GLuint *`)
3546
3518
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetTextureParameterIuiv.xhtml
@@ -3555,7 +3527,7 @@ export function getTextureParameterIuiv(texture, pname) {
3555
3527
  *
3556
3528
  * Provided by `GL_VERSION_4_5`.
3557
3529
  *
3558
- * @param texture - `GLuint`, object kind `texture`
3530
+ * @param texture - `GLuint`, object class `texture`
3559
3531
  * @param pname - `GLenum`, group `GetTextureParameter`
3560
3532
  * @returns `params` (`GLint *`)
3561
3533
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetTextureParameteriv.xhtml
@@ -3570,7 +3542,7 @@ export function getTextureParameteriv(texture, pname) {
3570
3542
  *
3571
3543
  * Provided by `GL_VERSION_4_5`.
3572
3544
  *
3573
- * @param texture - `GLuint`, object kind `texture`
3545
+ * @param texture - `GLuint`, object class `texture`
3574
3546
  * @param level - `GLint`
3575
3547
  * @param xoffset - `GLint`
3576
3548
  * @param yoffset - `GLint`
@@ -3592,7 +3564,7 @@ export function getTextureSubImage(texture, level, xoffset, yoffset, zoffset, wi
3592
3564
  *
3593
3565
  * Provided by `GL_VERSION_4_5`.
3594
3566
  *
3595
- * @param xfb - `GLuint`, object kind `transform feedback`
3567
+ * @param xfb - `GLuint`, object class `transform feedback`
3596
3568
  * @param pname - `GLenum`, group `TransformFeedbackPName`
3597
3569
  * @param index - `GLuint`
3598
3570
  * @returns `param` (`GLint *`)
@@ -3608,7 +3580,7 @@ export function getTransformFeedbackiV(xfb, pname, index) {
3608
3580
  *
3609
3581
  * Provided by `GL_VERSION_4_5`.
3610
3582
  *
3611
- * @param xfb - `GLuint`, object kind `transform feedback`
3583
+ * @param xfb - `GLuint`, object class `transform feedback`
3612
3584
  * @param pname - `GLenum`, group `TransformFeedbackPName`
3613
3585
  * @param index - `GLuint`
3614
3586
  * @returns `param` (`GLint64 *`)
@@ -3624,7 +3596,7 @@ export function getTransformFeedbacki64V(xfb, pname, index) {
3624
3596
  *
3625
3597
  * Provided by `GL_VERSION_4_5`.
3626
3598
  *
3627
- * @param xfb - `GLuint`, object kind `transform feedback`
3599
+ * @param xfb - `GLuint`, object class `transform feedback`
3628
3600
  * @param pname - `GLenum`, group `TransformFeedbackPName`
3629
3601
  * @returns `param` (`GLint *`)
3630
3602
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetTransformFeedbackiv.xhtml
@@ -3639,7 +3611,7 @@ export function getTransformFeedbackiv(xfb, pname) {
3639
3611
  *
3640
3612
  * Provided by `GL_VERSION_3_0`.
3641
3613
  *
3642
- * @param program - `GLuint`, object kind `program`
3614
+ * @param program - `GLuint`, object class `program`
3643
3615
  * @param index - `GLuint`
3644
3616
  * @param bufSize - `GLsizei`
3645
3617
  * @returns Tuple of `length` (`GLsizei *`), `size` (`GLsizei *`), `type` (`GLenum *`), `name` (`GLchar *`)
@@ -3650,15 +3622,7 @@ export function getTransformFeedbackVarying(program, index, bufSize) {
3650
3622
  const out1 = { value: 0 };
3651
3623
  const out2 = { value: 0 };
3652
3624
  const out3 = { value: "" };
3653
- const binding = t.bind(LIB, "glGetTransformFeedbackVarying", [
3654
- t.uint32,
3655
- t.uint32,
3656
- t.int32,
3657
- t.ref(t.int32),
3658
- t.ref(t.int32),
3659
- t.ref(t.uint32),
3660
- t.ref(t.string("borrowed", bufSize)),
3661
- ], t.void);
3625
+ const binding = t.bind(LIB, "glGetTransformFeedbackVarying", [t.uint32, t.uint32, t.int32, t.ref(t.int32), t.ref(t.int32), t.ref(t.uint32), t.ref(t.string("borrowed", bufSize))], t.void);
3662
3626
  binding(program, index, bufSize, out0, out1, out2, out3);
3663
3627
  return [out0.value, out1.value, out2.value, out3.value];
3664
3628
  }
@@ -3667,7 +3631,7 @@ export function getTransformFeedbackVarying(program, index, bufSize) {
3667
3631
  *
3668
3632
  * Provided by `GL_VERSION_3_1`.
3669
3633
  *
3670
- * @param program - `GLuint`, object kind `program`
3634
+ * @param program - `GLuint`, object class `program`
3671
3635
  * @param uniformBlockName - `const GLchar *`, length `COMPSIZE()`
3672
3636
  * @returns `GLuint`
3673
3637
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetUniformBlockIndex.xhtml
@@ -3680,7 +3644,7 @@ export function getUniformBlockIndex(program, uniformBlockName) {
3680
3644
  *
3681
3645
  * Provided by `GL_VERSION_2_0`.
3682
3646
  *
3683
- * @param program - `GLuint`, object kind `program`
3647
+ * @param program - `GLuint`, object class `program`
3684
3648
  * @param name - `const GLchar *`
3685
3649
  * @returns `GLint`
3686
3650
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetUniformLocation.xhtml
@@ -3708,7 +3672,7 @@ export function getUniformSubroutineuiv(shadertype, location) {
3708
3672
  *
3709
3673
  * Provided by `GL_VERSION_4_5`.
3710
3674
  *
3711
- * @param vaobj - `GLuint`, object kind `vertex array`
3675
+ * @param vaobj - `GLuint`, object class `vertex array`
3712
3676
  * @param index - `GLuint`
3713
3677
  * @param pname - `GLenum`, group `VertexArrayPName`
3714
3678
  * @returns `param` (`GLint64 *`)
@@ -3724,7 +3688,7 @@ export function getVertexArrayIndexed64iv(vaobj, index, pname) {
3724
3688
  *
3725
3689
  * Provided by `GL_VERSION_4_5`.
3726
3690
  *
3727
- * @param vaobj - `GLuint`, object kind `vertex array`
3691
+ * @param vaobj - `GLuint`, object class `vertex array`
3728
3692
  * @param index - `GLuint`
3729
3693
  * @param pname - `GLenum`, group `VertexArrayPName`
3730
3694
  * @returns `param` (`GLint *`)
@@ -3740,7 +3704,7 @@ export function getVertexArrayIndexediv(vaobj, index, pname) {
3740
3704
  *
3741
3705
  * Provided by `GL_VERSION_4_5`.
3742
3706
  *
3743
- * @param vaobj - `GLuint`, object kind `vertex array`
3707
+ * @param vaobj - `GLuint`, object class `vertex array`
3744
3708
  * @param pname - `GLenum`, group `VertexArrayPName`
3745
3709
  * @returns `param` (`GLint *`)
3746
3710
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetVertexArrayiv.xhtml
@@ -3842,7 +3806,7 @@ export function hint(target, mode) {
3842
3806
  *
3843
3807
  * Provided by `GL_VERSION_4_3`.
3844
3808
  *
3845
- * @param buffer - `GLuint`, object kind `buffer`
3809
+ * @param buffer - `GLuint`, object class `buffer`
3846
3810
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glInvalidateBufferData.xhtml
3847
3811
  */
3848
3812
  export function invalidateBufferData(buffer) {
@@ -3853,7 +3817,7 @@ export function invalidateBufferData(buffer) {
3853
3817
  *
3854
3818
  * Provided by `GL_VERSION_4_3`.
3855
3819
  *
3856
- * @param buffer - `GLuint`, object kind `buffer`
3820
+ * @param buffer - `GLuint`, object class `buffer`
3857
3821
  * @param offset - `GLintptr`
3858
3822
  * @param length - `GLsizeiptr`
3859
3823
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glInvalidateBufferSubData.xhtml
@@ -3879,7 +3843,7 @@ export function invalidateFramebuffer(target, numAttachments, attachments) {
3879
3843
  *
3880
3844
  * Provided by `GL_VERSION_4_5`.
3881
3845
  *
3882
- * @param framebuffer - `GLuint`, object kind `framebuffer`
3846
+ * @param framebuffer - `GLuint`, object class `framebuffer`
3883
3847
  * @param numAttachments - `GLsizei`
3884
3848
  * @param attachments - `const GLenum *`, group `FramebufferAttachment`, length `numAttachments`
3885
3849
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glInvalidateNamedFramebufferData.xhtml
@@ -3892,7 +3856,7 @@ export function invalidateNamedFramebufferData(framebuffer, numAttachments, atta
3892
3856
  *
3893
3857
  * Provided by `GL_VERSION_4_5`.
3894
3858
  *
3895
- * @param framebuffer - `GLuint`, object kind `framebuffer`
3859
+ * @param framebuffer - `GLuint`, object class `framebuffer`
3896
3860
  * @param numAttachments - `GLsizei`
3897
3861
  * @param attachments - `const GLenum *`, group `FramebufferAttachment`, length `numAttachments`
3898
3862
  * @param x - `GLint`
@@ -3926,7 +3890,7 @@ export function invalidateSubFramebuffer(target, numAttachments, attachments, x,
3926
3890
  *
3927
3891
  * Provided by `GL_VERSION_4_3`.
3928
3892
  *
3929
- * @param texture - `GLuint`, object kind `texture`
3893
+ * @param texture - `GLuint`, object class `texture`
3930
3894
  * @param level - `GLint`
3931
3895
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glInvalidateTexImage.xhtml
3932
3896
  */
@@ -3938,7 +3902,7 @@ export function invalidateTexImage(texture, level) {
3938
3902
  *
3939
3903
  * Provided by `GL_VERSION_4_3`.
3940
3904
  *
3941
- * @param texture - `GLuint`, object kind `texture`
3905
+ * @param texture - `GLuint`, object class `texture`
3942
3906
  * @param level - `GLint`
3943
3907
  * @param xoffset - `GLint`
3944
3908
  * @param yoffset - `GLint`
@@ -3956,7 +3920,7 @@ export function invalidateTexSubImage(texture, level, xoffset, yoffset, zoffset,
3956
3920
  *
3957
3921
  * Provided by `GL_VERSION_1_5`.
3958
3922
  *
3959
- * @param buffer - `GLuint`, object kind `buffer`
3923
+ * @param buffer - `GLuint`, object class `buffer`
3960
3924
  * @returns `GLboolean`
3961
3925
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsBuffer.xhtml
3962
3926
  */
@@ -3993,7 +3957,7 @@ export function isEnabledi(target, index) {
3993
3957
  *
3994
3958
  * Provided by `GL_VERSION_3_0`.
3995
3959
  *
3996
- * @param framebuffer - `GLuint`, object kind `framebuffer`
3960
+ * @param framebuffer - `GLuint`, object class `framebuffer`
3997
3961
  * @returns `GLboolean`
3998
3962
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsFramebuffer.xhtml
3999
3963
  */
@@ -4005,7 +3969,7 @@ export function isFramebuffer(framebuffer) {
4005
3969
  *
4006
3970
  * Provided by `GL_VERSION_2_0`.
4007
3971
  *
4008
- * @param program - `GLuint`, object kind `program`
3972
+ * @param program - `GLuint`, object class `program`
4009
3973
  * @returns `GLboolean`
4010
3974
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsProgram.xhtml
4011
3975
  */
@@ -4017,7 +3981,7 @@ export function isProgram(program) {
4017
3981
  *
4018
3982
  * Provided by `GL_VERSION_4_1`.
4019
3983
  *
4020
- * @param pipeline - `GLuint`, object kind `program pipeline`
3984
+ * @param pipeline - `GLuint`, object class `program pipeline`
4021
3985
  * @returns `GLboolean`
4022
3986
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsProgramPipeline.xhtml
4023
3987
  */
@@ -4029,7 +3993,7 @@ export function isProgramPipeline(pipeline) {
4029
3993
  *
4030
3994
  * Provided by `GL_VERSION_1_5`.
4031
3995
  *
4032
- * @param id - `GLuint`, object kind `query`
3996
+ * @param id - `GLuint`, object class `query`
4033
3997
  * @returns `GLboolean`
4034
3998
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsQuery.xhtml
4035
3999
  */
@@ -4041,7 +4005,7 @@ export function isQuery(id) {
4041
4005
  *
4042
4006
  * Provided by `GL_VERSION_3_0`.
4043
4007
  *
4044
- * @param renderbuffer - `GLuint`, object kind `renderbuffer`
4008
+ * @param renderbuffer - `GLuint`, object class `renderbuffer`
4045
4009
  * @returns `GLboolean`
4046
4010
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsRenderbuffer.xhtml
4047
4011
  */
@@ -4053,7 +4017,7 @@ export function isRenderbuffer(renderbuffer) {
4053
4017
  *
4054
4018
  * Provided by `GL_VERSION_3_3`.
4055
4019
  *
4056
- * @param sampler - `GLuint`, object kind `sampler`
4020
+ * @param sampler - `GLuint`, object class `sampler`
4057
4021
  * @returns `GLboolean`
4058
4022
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsSampler.xhtml
4059
4023
  */
@@ -4065,7 +4029,7 @@ export function isSampler(sampler) {
4065
4029
  *
4066
4030
  * Provided by `GL_VERSION_2_0`.
4067
4031
  *
4068
- * @param shader - `GLuint`, object kind `shader`
4032
+ * @param shader - `GLuint`, object class `shader`
4069
4033
  * @returns `GLboolean`
4070
4034
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsShader.xhtml
4071
4035
  */
@@ -4077,7 +4041,7 @@ export function isShader(shader) {
4077
4041
  *
4078
4042
  * Provided by `GL_VERSION_3_2`.
4079
4043
  *
4080
- * @param sync - `GLsync`, object kind `sync`
4044
+ * @param sync - `GLsync`, object class `sync`
4081
4045
  * @returns `GLboolean`
4082
4046
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsSync.xhtml
4083
4047
  */
@@ -4089,7 +4053,7 @@ export function isSync(sync) {
4089
4053
  *
4090
4054
  * Provided by `GL_VERSION_1_1`.
4091
4055
  *
4092
- * @param texture - `GLuint`, object kind `texture`
4056
+ * @param texture - `GLuint`, object class `texture`
4093
4057
  * @returns `GLboolean`
4094
4058
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsTexture.xhtml
4095
4059
  */
@@ -4101,7 +4065,7 @@ export function isTexture(texture) {
4101
4065
  *
4102
4066
  * Provided by `GL_VERSION_4_0`.
4103
4067
  *
4104
- * @param id - `GLuint`, object kind `transform feedback`
4068
+ * @param id - `GLuint`, object class `transform feedback`
4105
4069
  * @returns `GLboolean`
4106
4070
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsTransformFeedback.xhtml
4107
4071
  */
@@ -4113,7 +4077,7 @@ export function isTransformFeedback(id) {
4113
4077
  *
4114
4078
  * Provided by `GL_VERSION_3_0`.
4115
4079
  *
4116
- * @param array - `GLuint`, object kind `vertex array`
4080
+ * @param array - `GLuint`, object class `vertex array`
4117
4081
  * @returns `GLboolean`
4118
4082
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glIsVertexArray.xhtml
4119
4083
  */
@@ -4136,7 +4100,7 @@ export function lineWidth(width) {
4136
4100
  *
4137
4101
  * Provided by `GL_VERSION_2_0`.
4138
4102
  *
4139
- * @param program - `GLuint`, object kind `program`
4103
+ * @param program - `GLuint`, object class `program`
4140
4104
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glLinkProgram.xhtml
4141
4105
  */
4142
4106
  export function linkProgram(program) {
@@ -4186,7 +4150,7 @@ export function mapBufferRange(target, offset, length, access) {
4186
4150
  *
4187
4151
  * Provided by `GL_VERSION_4_5`.
4188
4152
  *
4189
- * @param buffer - `GLuint`, object kind `buffer`
4153
+ * @param buffer - `GLuint`, object class `buffer`
4190
4154
  * @param access - `GLenum`, group `BufferAccessARB`
4191
4155
  * @returns `void *`
4192
4156
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glMapNamedBuffer.xhtml
@@ -4199,7 +4163,7 @@ export function mapNamedBuffer(buffer, access) {
4199
4163
  *
4200
4164
  * Provided by `GL_VERSION_4_5`.
4201
4165
  *
4202
- * @param buffer - `GLuint`, object kind `buffer`
4166
+ * @param buffer - `GLuint`, object class `buffer`
4203
4167
  * @param offset - `GLintptr`
4204
4168
  * @param length - `GLsizeiptr`
4205
4169
  * @param access - `GLbitfield`, group `MapBufferAccessMask`
@@ -4352,7 +4316,7 @@ export function multiDrawElementsIndirectCount(mode, type, indirect, drawcount,
4352
4316
  *
4353
4317
  * Provided by `GL_VERSION_4_5`.
4354
4318
  *
4355
- * @param buffer - `GLuint`, object kind `buffer`
4319
+ * @param buffer - `GLuint`, object class `buffer`
4356
4320
  * @param size - `GLsizeiptr`
4357
4321
  * @param data - `const void *`, length `size`
4358
4322
  * @param usage - `GLenum`, group `BufferUsageARB`
@@ -4366,7 +4330,7 @@ export function namedBufferData(buffer, size, data, usage) {
4366
4330
  *
4367
4331
  * Provided by `GL_VERSION_4_5`.
4368
4332
  *
4369
- * @param buffer - `GLuint`, object kind `buffer`
4333
+ * @param buffer - `GLuint`, object class `buffer`
4370
4334
  * @param size - `GLsizeiptr`
4371
4335
  * @param data - `const void *`, length `size`
4372
4336
  * @param flags - `GLbitfield`, group `BufferStorageMask`
@@ -4380,7 +4344,7 @@ export function namedBufferStorage(buffer, size, data, flags) {
4380
4344
  *
4381
4345
  * Provided by `GL_VERSION_4_5`.
4382
4346
  *
4383
- * @param buffer - `GLuint`, object kind `buffer`
4347
+ * @param buffer - `GLuint`, object class `buffer`
4384
4348
  * @param offset - `GLintptr`
4385
4349
  * @param size - `GLsizeiptr`
4386
4350
  * @param data - `const void *`, length `size`
@@ -4394,7 +4358,7 @@ export function namedBufferSubData(buffer, offset, size, data) {
4394
4358
  *
4395
4359
  * Provided by `GL_VERSION_4_5`.
4396
4360
  *
4397
- * @param framebuffer - `GLuint`, object kind `framebuffer`
4361
+ * @param framebuffer - `GLuint`, object class `framebuffer`
4398
4362
  * @param buf - `GLenum`, group `ColorBuffer`
4399
4363
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glNamedFramebufferDrawBuffer.xhtml
4400
4364
  */
@@ -4406,7 +4370,7 @@ export function namedFramebufferDrawBuffer(framebuffer, buf) {
4406
4370
  *
4407
4371
  * Provided by `GL_VERSION_4_5`.
4408
4372
  *
4409
- * @param framebuffer - `GLuint`, object kind `framebuffer`
4373
+ * @param framebuffer - `GLuint`, object class `framebuffer`
4410
4374
  * @param n - `GLsizei`
4411
4375
  * @param bufs - `const GLenum *`, group `ColorBuffer`, length `n`
4412
4376
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glNamedFramebufferDrawBuffers.xhtml
@@ -4419,7 +4383,7 @@ export function namedFramebufferDrawBuffers(framebuffer, n, bufs) {
4419
4383
  *
4420
4384
  * Provided by `GL_VERSION_4_5`.
4421
4385
  *
4422
- * @param framebuffer - `GLuint`, object kind `framebuffer`
4386
+ * @param framebuffer - `GLuint`, object class `framebuffer`
4423
4387
  * @param pname - `GLenum`, group `FramebufferParameterName`
4424
4388
  * @param param - `GLint`
4425
4389
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glNamedFramebufferParameteri.xhtml
@@ -4432,7 +4396,7 @@ export function namedFramebufferParameteri(framebuffer, pname, param) {
4432
4396
  *
4433
4397
  * Provided by `GL_VERSION_4_5`.
4434
4398
  *
4435
- * @param framebuffer - `GLuint`, object kind `framebuffer`
4399
+ * @param framebuffer - `GLuint`, object class `framebuffer`
4436
4400
  * @param src - `GLenum`, group `ColorBuffer`
4437
4401
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glNamedFramebufferReadBuffer.xhtml
4438
4402
  */
@@ -4444,10 +4408,10 @@ export function namedFramebufferReadBuffer(framebuffer, src) {
4444
4408
  *
4445
4409
  * Provided by `GL_VERSION_4_5`.
4446
4410
  *
4447
- * @param framebuffer - `GLuint`, object kind `framebuffer`
4411
+ * @param framebuffer - `GLuint`, object class `framebuffer`
4448
4412
  * @param attachment - `GLenum`, group `FramebufferAttachment`
4449
4413
  * @param renderbuffertarget - `GLenum`, group `RenderbufferTarget`
4450
- * @param renderbuffer - `GLuint`, object kind `renderbuffer`
4414
+ * @param renderbuffer - `GLuint`, object class `renderbuffer`
4451
4415
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glNamedFramebufferRenderbuffer.xhtml
4452
4416
  */
4453
4417
  export function namedFramebufferRenderbuffer(framebuffer, attachment, renderbuffertarget, renderbuffer) {
@@ -4458,9 +4422,9 @@ export function namedFramebufferRenderbuffer(framebuffer, attachment, renderbuff
4458
4422
  *
4459
4423
  * Provided by `GL_VERSION_4_5`.
4460
4424
  *
4461
- * @param framebuffer - `GLuint`, object kind `framebuffer`
4425
+ * @param framebuffer - `GLuint`, object class `framebuffer`
4462
4426
  * @param attachment - `GLenum`, group `FramebufferAttachment`
4463
- * @param texture - `GLuint`, object kind `texture`
4427
+ * @param texture - `GLuint`, object class `texture`
4464
4428
  * @param level - `GLint`
4465
4429
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glNamedFramebufferTexture.xhtml
4466
4430
  */
@@ -4472,9 +4436,9 @@ export function namedFramebufferTexture(framebuffer, attachment, texture, level)
4472
4436
  *
4473
4437
  * Provided by `GL_VERSION_4_5`.
4474
4438
  *
4475
- * @param framebuffer - `GLuint`, object kind `framebuffer`
4439
+ * @param framebuffer - `GLuint`, object class `framebuffer`
4476
4440
  * @param attachment - `GLenum`, group `FramebufferAttachment`
4477
- * @param texture - `GLuint`, object kind `texture`
4441
+ * @param texture - `GLuint`, object class `texture`
4478
4442
  * @param level - `GLint`
4479
4443
  * @param layer - `GLint`
4480
4444
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glNamedFramebufferTextureLayer.xhtml
@@ -4487,7 +4451,7 @@ export function namedFramebufferTextureLayer(framebuffer, attachment, texture, l
4487
4451
  *
4488
4452
  * Provided by `GL_VERSION_4_5`.
4489
4453
  *
4490
- * @param renderbuffer - `GLuint`, object kind `renderbuffer`
4454
+ * @param renderbuffer - `GLuint`, object class `renderbuffer`
4491
4455
  * @param internalformat - `GLenum`, group `InternalFormat`
4492
4456
  * @param width - `GLsizei`
4493
4457
  * @param height - `GLsizei`
@@ -4501,7 +4465,7 @@ export function namedRenderbufferStorage(renderbuffer, internalformat, width, he
4501
4465
  *
4502
4466
  * Provided by `GL_VERSION_4_5`.
4503
4467
  *
4504
- * @param renderbuffer - `GLuint`, object kind `renderbuffer`
4468
+ * @param renderbuffer - `GLuint`, object class `renderbuffer`
4505
4469
  * @param samples - `GLsizei`
4506
4470
  * @param internalformat - `GLenum`, group `InternalFormat`
4507
4471
  * @param width - `GLsizei`
@@ -4716,7 +4680,7 @@ export function primitiveRestartIndex(index) {
4716
4680
  *
4717
4681
  * Provided by `GL_VERSION_4_1`.
4718
4682
  *
4719
- * @param program - `GLuint`, object kind `program`
4683
+ * @param program - `GLuint`, object class `program`
4720
4684
  * @param binaryFormat - `GLenum`
4721
4685
  * @param binary - `const void *`, length `length`
4722
4686
  * @param length - `GLsizei`
@@ -4730,7 +4694,7 @@ export function programBinary(program, binaryFormat, binary, length) {
4730
4694
  *
4731
4695
  * Provided by `GL_VERSION_4_1`.
4732
4696
  *
4733
- * @param program - `GLuint`, object kind `program`
4697
+ * @param program - `GLuint`, object class `program`
4734
4698
  * @param pname - `GLenum`, group `ProgramParameterPName`
4735
4699
  * @param value - `GLint`
4736
4700
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glProgramParameteri.xhtml
@@ -4743,7 +4707,7 @@ export function programParameteri(program, pname, value) {
4743
4707
  *
4744
4708
  * Provided by `GL_VERSION_4_1`.
4745
4709
  *
4746
- * @param program - `GLuint`, object kind `program`
4710
+ * @param program - `GLuint`, object class `program`
4747
4711
  * @param location - `GLint`
4748
4712
  * @param v0 - `GLdouble`
4749
4713
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glProgramUniform1d.xhtml
@@ -4756,7 +4720,7 @@ export function programUniform1d(program, location, v0) {
4756
4720
  *
4757
4721
  * Provided by `GL_VERSION_4_1`.
4758
4722
  *
4759
- * @param program - `GLuint`, object kind `program`
4723
+ * @param program - `GLuint`, object class `program`
4760
4724
  * @param location - `GLint`
4761
4725
  * @param count - `GLsizei`
4762
4726
  * @param value - `const GLdouble *`, length `count`
@@ -4770,7 +4734,7 @@ export function programUniform1dv(program, location, count, value) {
4770
4734
  *
4771
4735
  * Provided by `GL_VERSION_4_1`.
4772
4736
  *
4773
- * @param program - `GLuint`, object kind `program`
4737
+ * @param program - `GLuint`, object class `program`
4774
4738
  * @param location - `GLint`
4775
4739
  * @param v0 - `GLfloat`
4776
4740
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glProgramUniform1f.xhtml
@@ -4783,7 +4747,7 @@ export function programUniform1f(program, location, v0) {
4783
4747
  *
4784
4748
  * Provided by `GL_VERSION_4_1`.
4785
4749
  *
4786
- * @param program - `GLuint`, object kind `program`
4750
+ * @param program - `GLuint`, object class `program`
4787
4751
  * @param location - `GLint`
4788
4752
  * @param count - `GLsizei`
4789
4753
  * @param value - `const GLfloat *`, length `count`
@@ -4797,7 +4761,7 @@ export function programUniform1fv(program, location, count, value) {
4797
4761
  *
4798
4762
  * Provided by `GL_VERSION_4_1`.
4799
4763
  *
4800
- * @param program - `GLuint`, object kind `program`
4764
+ * @param program - `GLuint`, object class `program`
4801
4765
  * @param location - `GLint`
4802
4766
  * @param v0 - `GLint`
4803
4767
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glProgramUniform1i.xhtml
@@ -4810,7 +4774,7 @@ export function programUniform1i(program, location, v0) {
4810
4774
  *
4811
4775
  * Provided by `GL_VERSION_4_1`.
4812
4776
  *
4813
- * @param program - `GLuint`, object kind `program`
4777
+ * @param program - `GLuint`, object class `program`
4814
4778
  * @param location - `GLint`
4815
4779
  * @param count - `GLsizei`
4816
4780
  * @param value - `const GLint *`, length `count`
@@ -4824,7 +4788,7 @@ export function programUniform1iv(program, location, count, value) {
4824
4788
  *
4825
4789
  * Provided by `GL_VERSION_4_1`.
4826
4790
  *
4827
- * @param program - `GLuint`, object kind `program`
4791
+ * @param program - `GLuint`, object class `program`
4828
4792
  * @param location - `GLint`
4829
4793
  * @param v0 - `GLuint`
4830
4794
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glProgramUniform1ui.xhtml
@@ -4837,7 +4801,7 @@ export function programUniform1ui(program, location, v0) {
4837
4801
  *
4838
4802
  * Provided by `GL_VERSION_4_1`.
4839
4803
  *
4840
- * @param program - `GLuint`, object kind `program`
4804
+ * @param program - `GLuint`, object class `program`
4841
4805
  * @param location - `GLint`
4842
4806
  * @param count - `GLsizei`
4843
4807
  * @param value - `const GLuint *`, length `count`
@@ -4851,7 +4815,7 @@ export function programUniform1uiv(program, location, count, value) {
4851
4815
  *
4852
4816
  * Provided by `GL_VERSION_4_1`.
4853
4817
  *
4854
- * @param program - `GLuint`, object kind `program`
4818
+ * @param program - `GLuint`, object class `program`
4855
4819
  * @param location - `GLint`
4856
4820
  * @param v0 - `GLdouble`
4857
4821
  * @param v1 - `GLdouble`
@@ -4865,7 +4829,7 @@ export function programUniform2d(program, location, v0, v1) {
4865
4829
  *
4866
4830
  * Provided by `GL_VERSION_4_1`.
4867
4831
  *
4868
- * @param program - `GLuint`, object kind `program`
4832
+ * @param program - `GLuint`, object class `program`
4869
4833
  * @param location - `GLint`
4870
4834
  * @param count - `GLsizei`
4871
4835
  * @param value - `const GLdouble *`, length `count*2`
@@ -4879,7 +4843,7 @@ export function programUniform2dv(program, location, count, value) {
4879
4843
  *
4880
4844
  * Provided by `GL_VERSION_4_1`.
4881
4845
  *
4882
- * @param program - `GLuint`, object kind `program`
4846
+ * @param program - `GLuint`, object class `program`
4883
4847
  * @param location - `GLint`
4884
4848
  * @param v0 - `GLfloat`
4885
4849
  * @param v1 - `GLfloat`
@@ -4893,7 +4857,7 @@ export function programUniform2f(program, location, v0, v1) {
4893
4857
  *
4894
4858
  * Provided by `GL_VERSION_4_1`.
4895
4859
  *
4896
- * @param program - `GLuint`, object kind `program`
4860
+ * @param program - `GLuint`, object class `program`
4897
4861
  * @param location - `GLint`
4898
4862
  * @param count - `GLsizei`
4899
4863
  * @param value - `const GLfloat *`, length `count*2`
@@ -4907,7 +4871,7 @@ export function programUniform2fv(program, location, count, value) {
4907
4871
  *
4908
4872
  * Provided by `GL_VERSION_4_1`.
4909
4873
  *
4910
- * @param program - `GLuint`, object kind `program`
4874
+ * @param program - `GLuint`, object class `program`
4911
4875
  * @param location - `GLint`
4912
4876
  * @param v0 - `GLint`
4913
4877
  * @param v1 - `GLint`
@@ -4921,7 +4885,7 @@ export function programUniform2i(program, location, v0, v1) {
4921
4885
  *
4922
4886
  * Provided by `GL_VERSION_4_1`.
4923
4887
  *
4924
- * @param program - `GLuint`, object kind `program`
4888
+ * @param program - `GLuint`, object class `program`
4925
4889
  * @param location - `GLint`
4926
4890
  * @param count - `GLsizei`
4927
4891
  * @param value - `const GLint *`, length `count*2`
@@ -4935,7 +4899,7 @@ export function programUniform2iv(program, location, count, value) {
4935
4899
  *
4936
4900
  * Provided by `GL_VERSION_4_1`.
4937
4901
  *
4938
- * @param program - `GLuint`, object kind `program`
4902
+ * @param program - `GLuint`, object class `program`
4939
4903
  * @param location - `GLint`
4940
4904
  * @param v0 - `GLuint`
4941
4905
  * @param v1 - `GLuint`
@@ -4949,7 +4913,7 @@ export function programUniform2ui(program, location, v0, v1) {
4949
4913
  *
4950
4914
  * Provided by `GL_VERSION_4_1`.
4951
4915
  *
4952
- * @param program - `GLuint`, object kind `program`
4916
+ * @param program - `GLuint`, object class `program`
4953
4917
  * @param location - `GLint`
4954
4918
  * @param count - `GLsizei`
4955
4919
  * @param value - `const GLuint *`, length `count*2`
@@ -4963,7 +4927,7 @@ export function programUniform2uiv(program, location, count, value) {
4963
4927
  *
4964
4928
  * Provided by `GL_VERSION_4_1`.
4965
4929
  *
4966
- * @param program - `GLuint`, object kind `program`
4930
+ * @param program - `GLuint`, object class `program`
4967
4931
  * @param location - `GLint`
4968
4932
  * @param v0 - `GLdouble`
4969
4933
  * @param v1 - `GLdouble`
@@ -4978,7 +4942,7 @@ export function programUniform3d(program, location, v0, v1, v2) {
4978
4942
  *
4979
4943
  * Provided by `GL_VERSION_4_1`.
4980
4944
  *
4981
- * @param program - `GLuint`, object kind `program`
4945
+ * @param program - `GLuint`, object class `program`
4982
4946
  * @param location - `GLint`
4983
4947
  * @param count - `GLsizei`
4984
4948
  * @param value - `const GLdouble *`, length `count*3`
@@ -4992,7 +4956,7 @@ export function programUniform3dv(program, location, count, value) {
4992
4956
  *
4993
4957
  * Provided by `GL_VERSION_4_1`.
4994
4958
  *
4995
- * @param program - `GLuint`, object kind `program`
4959
+ * @param program - `GLuint`, object class `program`
4996
4960
  * @param location - `GLint`
4997
4961
  * @param v0 - `GLfloat`
4998
4962
  * @param v1 - `GLfloat`
@@ -5007,7 +4971,7 @@ export function programUniform3f(program, location, v0, v1, v2) {
5007
4971
  *
5008
4972
  * Provided by `GL_VERSION_4_1`.
5009
4973
  *
5010
- * @param program - `GLuint`, object kind `program`
4974
+ * @param program - `GLuint`, object class `program`
5011
4975
  * @param location - `GLint`
5012
4976
  * @param count - `GLsizei`
5013
4977
  * @param value - `const GLfloat *`, length `count*3`
@@ -5021,7 +4985,7 @@ export function programUniform3fv(program, location, count, value) {
5021
4985
  *
5022
4986
  * Provided by `GL_VERSION_4_1`.
5023
4987
  *
5024
- * @param program - `GLuint`, object kind `program`
4988
+ * @param program - `GLuint`, object class `program`
5025
4989
  * @param location - `GLint`
5026
4990
  * @param v0 - `GLint`
5027
4991
  * @param v1 - `GLint`
@@ -5036,7 +5000,7 @@ export function programUniform3i(program, location, v0, v1, v2) {
5036
5000
  *
5037
5001
  * Provided by `GL_VERSION_4_1`.
5038
5002
  *
5039
- * @param program - `GLuint`, object kind `program`
5003
+ * @param program - `GLuint`, object class `program`
5040
5004
  * @param location - `GLint`
5041
5005
  * @param count - `GLsizei`
5042
5006
  * @param value - `const GLint *`, length `count*3`
@@ -5050,7 +5014,7 @@ export function programUniform3iv(program, location, count, value) {
5050
5014
  *
5051
5015
  * Provided by `GL_VERSION_4_1`.
5052
5016
  *
5053
- * @param program - `GLuint`, object kind `program`
5017
+ * @param program - `GLuint`, object class `program`
5054
5018
  * @param location - `GLint`
5055
5019
  * @param v0 - `GLuint`
5056
5020
  * @param v1 - `GLuint`
@@ -5065,7 +5029,7 @@ export function programUniform3ui(program, location, v0, v1, v2) {
5065
5029
  *
5066
5030
  * Provided by `GL_VERSION_4_1`.
5067
5031
  *
5068
- * @param program - `GLuint`, object kind `program`
5032
+ * @param program - `GLuint`, object class `program`
5069
5033
  * @param location - `GLint`
5070
5034
  * @param count - `GLsizei`
5071
5035
  * @param value - `const GLuint *`, length `count*3`
@@ -5079,7 +5043,7 @@ export function programUniform3uiv(program, location, count, value) {
5079
5043
  *
5080
5044
  * Provided by `GL_VERSION_4_1`.
5081
5045
  *
5082
- * @param program - `GLuint`, object kind `program`
5046
+ * @param program - `GLuint`, object class `program`
5083
5047
  * @param location - `GLint`
5084
5048
  * @param v0 - `GLdouble`
5085
5049
  * @param v1 - `GLdouble`
@@ -5095,7 +5059,7 @@ export function programUniform4d(program, location, v0, v1, v2, v3) {
5095
5059
  *
5096
5060
  * Provided by `GL_VERSION_4_1`.
5097
5061
  *
5098
- * @param program - `GLuint`, object kind `program`
5062
+ * @param program - `GLuint`, object class `program`
5099
5063
  * @param location - `GLint`
5100
5064
  * @param count - `GLsizei`
5101
5065
  * @param value - `const GLdouble *`, length `count*4`
@@ -5109,7 +5073,7 @@ export function programUniform4dv(program, location, count, value) {
5109
5073
  *
5110
5074
  * Provided by `GL_VERSION_4_1`.
5111
5075
  *
5112
- * @param program - `GLuint`, object kind `program`
5076
+ * @param program - `GLuint`, object class `program`
5113
5077
  * @param location - `GLint`
5114
5078
  * @param v0 - `GLfloat`
5115
5079
  * @param v1 - `GLfloat`
@@ -5125,7 +5089,7 @@ export function programUniform4f(program, location, v0, v1, v2, v3) {
5125
5089
  *
5126
5090
  * Provided by `GL_VERSION_4_1`.
5127
5091
  *
5128
- * @param program - `GLuint`, object kind `program`
5092
+ * @param program - `GLuint`, object class `program`
5129
5093
  * @param location - `GLint`
5130
5094
  * @param count - `GLsizei`
5131
5095
  * @param value - `const GLfloat *`, length `count*4`
@@ -5139,7 +5103,7 @@ export function programUniform4fv(program, location, count, value) {
5139
5103
  *
5140
5104
  * Provided by `GL_VERSION_4_1`.
5141
5105
  *
5142
- * @param program - `GLuint`, object kind `program`
5106
+ * @param program - `GLuint`, object class `program`
5143
5107
  * @param location - `GLint`
5144
5108
  * @param v0 - `GLint`
5145
5109
  * @param v1 - `GLint`
@@ -5155,7 +5119,7 @@ export function programUniform4i(program, location, v0, v1, v2, v3) {
5155
5119
  *
5156
5120
  * Provided by `GL_VERSION_4_1`.
5157
5121
  *
5158
- * @param program - `GLuint`, object kind `program`
5122
+ * @param program - `GLuint`, object class `program`
5159
5123
  * @param location - `GLint`
5160
5124
  * @param count - `GLsizei`
5161
5125
  * @param value - `const GLint *`, length `count*4`
@@ -5169,7 +5133,7 @@ export function programUniform4iv(program, location, count, value) {
5169
5133
  *
5170
5134
  * Provided by `GL_VERSION_4_1`.
5171
5135
  *
5172
- * @param program - `GLuint`, object kind `program`
5136
+ * @param program - `GLuint`, object class `program`
5173
5137
  * @param location - `GLint`
5174
5138
  * @param v0 - `GLuint`
5175
5139
  * @param v1 - `GLuint`
@@ -5185,7 +5149,7 @@ export function programUniform4ui(program, location, v0, v1, v2, v3) {
5185
5149
  *
5186
5150
  * Provided by `GL_VERSION_4_1`.
5187
5151
  *
5188
- * @param program - `GLuint`, object kind `program`
5152
+ * @param program - `GLuint`, object class `program`
5189
5153
  * @param location - `GLint`
5190
5154
  * @param count - `GLsizei`
5191
5155
  * @param value - `const GLuint *`, length `count*4`
@@ -5199,7 +5163,7 @@ export function programUniform4uiv(program, location, count, value) {
5199
5163
  *
5200
5164
  * Provided by `GL_VERSION_4_1`.
5201
5165
  *
5202
- * @param program - `GLuint`, object kind `program`
5166
+ * @param program - `GLuint`, object class `program`
5203
5167
  * @param location - `GLint`
5204
5168
  * @param count - `GLsizei`
5205
5169
  * @param transpose - `GLboolean`
@@ -5214,7 +5178,7 @@ export function programUniformMatrix2dv(program, location, count, transpose, val
5214
5178
  *
5215
5179
  * Provided by `GL_VERSION_4_1`.
5216
5180
  *
5217
- * @param program - `GLuint`, object kind `program`
5181
+ * @param program - `GLuint`, object class `program`
5218
5182
  * @param location - `GLint`
5219
5183
  * @param count - `GLsizei`
5220
5184
  * @param transpose - `GLboolean`
@@ -5229,7 +5193,7 @@ export function programUniformMatrix2fv(program, location, count, transpose, val
5229
5193
  *
5230
5194
  * Provided by `GL_VERSION_4_1`.
5231
5195
  *
5232
- * @param program - `GLuint`, object kind `program`
5196
+ * @param program - `GLuint`, object class `program`
5233
5197
  * @param location - `GLint`
5234
5198
  * @param count - `GLsizei`
5235
5199
  * @param transpose - `GLboolean`
@@ -5244,7 +5208,7 @@ export function programUniformMatrix2x3dv(program, location, count, transpose, v
5244
5208
  *
5245
5209
  * Provided by `GL_VERSION_4_1`.
5246
5210
  *
5247
- * @param program - `GLuint`, object kind `program`
5211
+ * @param program - `GLuint`, object class `program`
5248
5212
  * @param location - `GLint`
5249
5213
  * @param count - `GLsizei`
5250
5214
  * @param transpose - `GLboolean`
@@ -5259,7 +5223,7 @@ export function programUniformMatrix2x3fv(program, location, count, transpose, v
5259
5223
  *
5260
5224
  * Provided by `GL_VERSION_4_1`.
5261
5225
  *
5262
- * @param program - `GLuint`, object kind `program`
5226
+ * @param program - `GLuint`, object class `program`
5263
5227
  * @param location - `GLint`
5264
5228
  * @param count - `GLsizei`
5265
5229
  * @param transpose - `GLboolean`
@@ -5274,7 +5238,7 @@ export function programUniformMatrix2x4dv(program, location, count, transpose, v
5274
5238
  *
5275
5239
  * Provided by `GL_VERSION_4_1`.
5276
5240
  *
5277
- * @param program - `GLuint`, object kind `program`
5241
+ * @param program - `GLuint`, object class `program`
5278
5242
  * @param location - `GLint`
5279
5243
  * @param count - `GLsizei`
5280
5244
  * @param transpose - `GLboolean`
@@ -5289,7 +5253,7 @@ export function programUniformMatrix2x4fv(program, location, count, transpose, v
5289
5253
  *
5290
5254
  * Provided by `GL_VERSION_4_1`.
5291
5255
  *
5292
- * @param program - `GLuint`, object kind `program`
5256
+ * @param program - `GLuint`, object class `program`
5293
5257
  * @param location - `GLint`
5294
5258
  * @param count - `GLsizei`
5295
5259
  * @param transpose - `GLboolean`
@@ -5304,7 +5268,7 @@ export function programUniformMatrix3dv(program, location, count, transpose, val
5304
5268
  *
5305
5269
  * Provided by `GL_VERSION_4_1`.
5306
5270
  *
5307
- * @param program - `GLuint`, object kind `program`
5271
+ * @param program - `GLuint`, object class `program`
5308
5272
  * @param location - `GLint`
5309
5273
  * @param count - `GLsizei`
5310
5274
  * @param transpose - `GLboolean`
@@ -5319,7 +5283,7 @@ export function programUniformMatrix3fv(program, location, count, transpose, val
5319
5283
  *
5320
5284
  * Provided by `GL_VERSION_4_1`.
5321
5285
  *
5322
- * @param program - `GLuint`, object kind `program`
5286
+ * @param program - `GLuint`, object class `program`
5323
5287
  * @param location - `GLint`
5324
5288
  * @param count - `GLsizei`
5325
5289
  * @param transpose - `GLboolean`
@@ -5334,7 +5298,7 @@ export function programUniformMatrix3x2dv(program, location, count, transpose, v
5334
5298
  *
5335
5299
  * Provided by `GL_VERSION_4_1`.
5336
5300
  *
5337
- * @param program - `GLuint`, object kind `program`
5301
+ * @param program - `GLuint`, object class `program`
5338
5302
  * @param location - `GLint`
5339
5303
  * @param count - `GLsizei`
5340
5304
  * @param transpose - `GLboolean`
@@ -5349,7 +5313,7 @@ export function programUniformMatrix3x2fv(program, location, count, transpose, v
5349
5313
  *
5350
5314
  * Provided by `GL_VERSION_4_1`.
5351
5315
  *
5352
- * @param program - `GLuint`, object kind `program`
5316
+ * @param program - `GLuint`, object class `program`
5353
5317
  * @param location - `GLint`
5354
5318
  * @param count - `GLsizei`
5355
5319
  * @param transpose - `GLboolean`
@@ -5364,7 +5328,7 @@ export function programUniformMatrix3x4dv(program, location, count, transpose, v
5364
5328
  *
5365
5329
  * Provided by `GL_VERSION_4_1`.
5366
5330
  *
5367
- * @param program - `GLuint`, object kind `program`
5331
+ * @param program - `GLuint`, object class `program`
5368
5332
  * @param location - `GLint`
5369
5333
  * @param count - `GLsizei`
5370
5334
  * @param transpose - `GLboolean`
@@ -5379,7 +5343,7 @@ export function programUniformMatrix3x4fv(program, location, count, transpose, v
5379
5343
  *
5380
5344
  * Provided by `GL_VERSION_4_1`.
5381
5345
  *
5382
- * @param program - `GLuint`, object kind `program`
5346
+ * @param program - `GLuint`, object class `program`
5383
5347
  * @param location - `GLint`
5384
5348
  * @param count - `GLsizei`
5385
5349
  * @param transpose - `GLboolean`
@@ -5394,7 +5358,7 @@ export function programUniformMatrix4dv(program, location, count, transpose, val
5394
5358
  *
5395
5359
  * Provided by `GL_VERSION_4_1`.
5396
5360
  *
5397
- * @param program - `GLuint`, object kind `program`
5361
+ * @param program - `GLuint`, object class `program`
5398
5362
  * @param location - `GLint`
5399
5363
  * @param count - `GLsizei`
5400
5364
  * @param transpose - `GLboolean`
@@ -5409,7 +5373,7 @@ export function programUniformMatrix4fv(program, location, count, transpose, val
5409
5373
  *
5410
5374
  * Provided by `GL_VERSION_4_1`.
5411
5375
  *
5412
- * @param program - `GLuint`, object kind `program`
5376
+ * @param program - `GLuint`, object class `program`
5413
5377
  * @param location - `GLint`
5414
5378
  * @param count - `GLsizei`
5415
5379
  * @param transpose - `GLboolean`
@@ -5424,7 +5388,7 @@ export function programUniformMatrix4x2dv(program, location, count, transpose, v
5424
5388
  *
5425
5389
  * Provided by `GL_VERSION_4_1`.
5426
5390
  *
5427
- * @param program - `GLuint`, object kind `program`
5391
+ * @param program - `GLuint`, object class `program`
5428
5392
  * @param location - `GLint`
5429
5393
  * @param count - `GLsizei`
5430
5394
  * @param transpose - `GLboolean`
@@ -5439,7 +5403,7 @@ export function programUniformMatrix4x2fv(program, location, count, transpose, v
5439
5403
  *
5440
5404
  * Provided by `GL_VERSION_4_1`.
5441
5405
  *
5442
- * @param program - `GLuint`, object kind `program`
5406
+ * @param program - `GLuint`, object class `program`
5443
5407
  * @param location - `GLint`
5444
5408
  * @param count - `GLsizei`
5445
5409
  * @param transpose - `GLboolean`
@@ -5454,7 +5418,7 @@ export function programUniformMatrix4x3dv(program, location, count, transpose, v
5454
5418
  *
5455
5419
  * Provided by `GL_VERSION_4_1`.
5456
5420
  *
5457
- * @param program - `GLuint`, object kind `program`
5421
+ * @param program - `GLuint`, object class `program`
5458
5422
  * @param location - `GLint`
5459
5423
  * @param count - `GLsizei`
5460
5424
  * @param transpose - `GLboolean`
@@ -5494,7 +5458,7 @@ export function pushDebugGroup(source, id, length, message) {
5494
5458
  *
5495
5459
  * Provided by `GL_VERSION_3_3`.
5496
5460
  *
5497
- * @param id - `GLuint`, object kind `query`
5461
+ * @param id - `GLuint`, object class `query`
5498
5462
  * @param target - `GLenum`, group `QueryCounterTarget`
5499
5463
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glQueryCounter.xhtml
5500
5464
  */
@@ -5623,7 +5587,7 @@ export function sampleMaski(maskNumber, mask) {
5623
5587
  *
5624
5588
  * Provided by `GL_VERSION_3_3`.
5625
5589
  *
5626
- * @param sampler - `GLuint`, object kind `sampler`
5590
+ * @param sampler - `GLuint`, object class `sampler`
5627
5591
  * @param pname - `GLenum`, group `SamplerParameterF`
5628
5592
  * @param param - `GLfloat`
5629
5593
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glSamplerParameterf.xhtml
@@ -5636,7 +5600,7 @@ export function samplerParameterf(sampler, pname, param) {
5636
5600
  *
5637
5601
  * Provided by `GL_VERSION_3_3`.
5638
5602
  *
5639
- * @param sampler - `GLuint`, object kind `sampler`
5603
+ * @param sampler - `GLuint`, object class `sampler`
5640
5604
  * @param pname - `GLenum`, group `SamplerParameterF`
5641
5605
  * @param param - `const GLfloat *`, length `COMPSIZE(pname)`
5642
5606
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glSamplerParameterfv.xhtml
@@ -5649,7 +5613,7 @@ export function samplerParameterfv(sampler, pname, param) {
5649
5613
  *
5650
5614
  * Provided by `GL_VERSION_3_3`.
5651
5615
  *
5652
- * @param sampler - `GLuint`, object kind `sampler`
5616
+ * @param sampler - `GLuint`, object class `sampler`
5653
5617
  * @param pname - `GLenum`, group `SamplerParameterI`
5654
5618
  * @param param - `GLint`
5655
5619
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glSamplerParameteri.xhtml
@@ -5662,7 +5626,7 @@ export function samplerParameteri(sampler, pname, param) {
5662
5626
  *
5663
5627
  * Provided by `GL_VERSION_3_3`.
5664
5628
  *
5665
- * @param sampler - `GLuint`, object kind `sampler`
5629
+ * @param sampler - `GLuint`, object class `sampler`
5666
5630
  * @param pname - `GLenum`, group `SamplerParameterI`
5667
5631
  * @param param - `const GLint *`, length `COMPSIZE(pname)`
5668
5632
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glSamplerParameterIiv.xhtml
@@ -5675,7 +5639,7 @@ export function samplerParameterIiv(sampler, pname, param) {
5675
5639
  *
5676
5640
  * Provided by `GL_VERSION_3_3`.
5677
5641
  *
5678
- * @param sampler - `GLuint`, object kind `sampler`
5642
+ * @param sampler - `GLuint`, object class `sampler`
5679
5643
  * @param pname - `GLenum`, group `SamplerParameterI`
5680
5644
  * @param param - `const GLuint *`, length `COMPSIZE(pname)`
5681
5645
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glSamplerParameterIuiv.xhtml
@@ -5688,7 +5652,7 @@ export function samplerParameterIuiv(sampler, pname, param) {
5688
5652
  *
5689
5653
  * Provided by `GL_VERSION_3_3`.
5690
5654
  *
5691
- * @param sampler - `GLuint`, object kind `sampler`
5655
+ * @param sampler - `GLuint`, object class `sampler`
5692
5656
  * @param pname - `GLenum`, group `SamplerParameterI`
5693
5657
  * @param param - `const GLint *`, length `COMPSIZE(pname)`
5694
5658
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glSamplerParameteriv.xhtml
@@ -5756,7 +5720,7 @@ export function scissorIndexedv(index, v) {
5756
5720
  * Provided by `GL_VERSION_4_1`.
5757
5721
  *
5758
5722
  * @param count - `GLsizei`
5759
- * @param shaders - `const GLuint *`, length `count`, object kind `shader`
5723
+ * @param shaders - `const GLuint *`, length `count`, object class `shader`
5760
5724
  * @param binaryFormat - `GLenum`, group `ShaderBinaryFormat`
5761
5725
  * @param binary - `const void *`, length `length`
5762
5726
  * @param length - `GLsizei`
@@ -5770,7 +5734,7 @@ export function shaderBinary(count, shaders, binaryFormat, binary, length) {
5770
5734
  *
5771
5735
  * Provided by `GL_VERSION_2_0`.
5772
5736
  *
5773
- * @param shader - `GLuint`, object kind `shader`
5737
+ * @param shader - `GLuint`, object class `shader`
5774
5738
  * @param count - `GLsizei`
5775
5739
  * @param string - `const GLchar *const*`, length `count`
5776
5740
  * @param length - `const GLint *`, length `count`
@@ -5784,7 +5748,7 @@ export function shaderSource(shader, count, string, length) {
5784
5748
  *
5785
5749
  * Provided by `GL_VERSION_4_3`.
5786
5750
  *
5787
- * @param program - `GLuint`, object kind `program`
5751
+ * @param program - `GLuint`, object class `program`
5788
5752
  * @param storageBlockIndex - `GLuint`
5789
5753
  * @param storageBlockBinding - `GLuint`
5790
5754
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glShaderStorageBlockBinding.xhtml
@@ -5797,7 +5761,7 @@ export function shaderStorageBlockBinding(program, storageBlockIndex, storageBlo
5797
5761
  *
5798
5762
  * Provided by `GL_VERSION_4_6`.
5799
5763
  *
5800
- * @param shader - `GLuint`, object kind `shader`
5764
+ * @param shader - `GLuint`, object class `shader`
5801
5765
  * @param pEntryPoint - `const GLchar *`
5802
5766
  * @param numSpecializationConstants - `GLuint`
5803
5767
  * @param pConstantIndex - `const GLuint *`, length `numSpecializationConstants`
@@ -5891,7 +5855,7 @@ export function stencilOpSeparate(face, sfail, dpfail, dppass) {
5891
5855
  *
5892
5856
  * @param target - `GLenum`, group `TextureTarget`
5893
5857
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
5894
- * @param buffer - `GLuint`, object kind `buffer`
5858
+ * @param buffer - `GLuint`, object class `buffer`
5895
5859
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTexBuffer.xhtml
5896
5860
  */
5897
5861
  export function texBuffer(target, internalformat, buffer) {
@@ -5904,7 +5868,7 @@ export function texBuffer(target, internalformat, buffer) {
5904
5868
  *
5905
5869
  * @param target - `GLenum`, group `TextureTarget`
5906
5870
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
5907
- * @param buffer - `GLuint`, object kind `buffer`
5871
+ * @param buffer - `GLuint`, object class `buffer`
5908
5872
  * @param offset - `GLintptr`
5909
5873
  * @param size - `GLsizeiptr`
5910
5874
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTexBufferRange.xhtml
@@ -6229,9 +6193,9 @@ export function textureBarrier() {
6229
6193
  *
6230
6194
  * Provided by `GL_VERSION_4_5`.
6231
6195
  *
6232
- * @param texture - `GLuint`, object kind `texture`
6196
+ * @param texture - `GLuint`, object class `texture`
6233
6197
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
6234
- * @param buffer - `GLuint`, object kind `buffer`
6198
+ * @param buffer - `GLuint`, object class `buffer`
6235
6199
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTextureBuffer.xhtml
6236
6200
  */
6237
6201
  export function textureBuffer(texture, internalformat, buffer) {
@@ -6242,9 +6206,9 @@ export function textureBuffer(texture, internalformat, buffer) {
6242
6206
  *
6243
6207
  * Provided by `GL_VERSION_4_5`.
6244
6208
  *
6245
- * @param texture - `GLuint`, object kind `texture`
6209
+ * @param texture - `GLuint`, object class `texture`
6246
6210
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
6247
- * @param buffer - `GLuint`, object kind `buffer`
6211
+ * @param buffer - `GLuint`, object class `buffer`
6248
6212
  * @param offset - `GLintptr`
6249
6213
  * @param size - `GLsizeiptr`
6250
6214
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTextureBufferRange.xhtml
@@ -6257,7 +6221,7 @@ export function textureBufferRange(texture, internalformat, buffer, offset, size
6257
6221
  *
6258
6222
  * Provided by `GL_VERSION_4_5`.
6259
6223
  *
6260
- * @param texture - `GLuint`, object kind `texture`
6224
+ * @param texture - `GLuint`, object class `texture`
6261
6225
  * @param pname - `GLenum`, group `TextureParameterName`
6262
6226
  * @param param - `GLfloat`
6263
6227
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTextureParameterf.xhtml
@@ -6270,7 +6234,7 @@ export function textureParameterf(texture, pname, param) {
6270
6234
  *
6271
6235
  * Provided by `GL_VERSION_4_5`.
6272
6236
  *
6273
- * @param texture - `GLuint`, object kind `texture`
6237
+ * @param texture - `GLuint`, object class `texture`
6274
6238
  * @param pname - `GLenum`, group `TextureParameterName`
6275
6239
  * @param param - `const GLfloat *`, length `COMPSIZE(pname)`
6276
6240
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTextureParameterfv.xhtml
@@ -6283,7 +6247,7 @@ export function textureParameterfv(texture, pname, param) {
6283
6247
  *
6284
6248
  * Provided by `GL_VERSION_4_5`.
6285
6249
  *
6286
- * @param texture - `GLuint`, object kind `texture`
6250
+ * @param texture - `GLuint`, object class `texture`
6287
6251
  * @param pname - `GLenum`, group `TextureParameterName`
6288
6252
  * @param param - `GLint`
6289
6253
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTextureParameteri.xhtml
@@ -6296,7 +6260,7 @@ export function textureParameteri(texture, pname, param) {
6296
6260
  *
6297
6261
  * Provided by `GL_VERSION_4_5`.
6298
6262
  *
6299
- * @param texture - `GLuint`, object kind `texture`
6263
+ * @param texture - `GLuint`, object class `texture`
6300
6264
  * @param pname - `GLenum`, group `TextureParameterName`
6301
6265
  * @param params - `const GLint *`, length `COMPSIZE(pname)`
6302
6266
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTextureParameterIiv.xhtml
@@ -6309,7 +6273,7 @@ export function textureParameterIiv(texture, pname, params) {
6309
6273
  *
6310
6274
  * Provided by `GL_VERSION_4_5`.
6311
6275
  *
6312
- * @param texture - `GLuint`, object kind `texture`
6276
+ * @param texture - `GLuint`, object class `texture`
6313
6277
  * @param pname - `GLenum`, group `TextureParameterName`
6314
6278
  * @param params - `const GLuint *`, length `COMPSIZE(pname)`
6315
6279
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTextureParameterIuiv.xhtml
@@ -6322,7 +6286,7 @@ export function textureParameterIuiv(texture, pname, params) {
6322
6286
  *
6323
6287
  * Provided by `GL_VERSION_4_5`.
6324
6288
  *
6325
- * @param texture - `GLuint`, object kind `texture`
6289
+ * @param texture - `GLuint`, object class `texture`
6326
6290
  * @param pname - `GLenum`, group `TextureParameterName`
6327
6291
  * @param param - `const GLint *`, length `COMPSIZE(pname)`
6328
6292
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTextureParameteriv.xhtml
@@ -6335,7 +6299,7 @@ export function textureParameteriv(texture, pname, param) {
6335
6299
  *
6336
6300
  * Provided by `GL_VERSION_4_5`.
6337
6301
  *
6338
- * @param texture - `GLuint`, object kind `texture`
6302
+ * @param texture - `GLuint`, object class `texture`
6339
6303
  * @param levels - `GLsizei`
6340
6304
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
6341
6305
  * @param width - `GLsizei`
@@ -6349,7 +6313,7 @@ export function textureStorage1D(texture, levels, internalformat, width) {
6349
6313
  *
6350
6314
  * Provided by `GL_VERSION_4_5`.
6351
6315
  *
6352
- * @param texture - `GLuint`, object kind `texture`
6316
+ * @param texture - `GLuint`, object class `texture`
6353
6317
  * @param levels - `GLsizei`
6354
6318
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
6355
6319
  * @param width - `GLsizei`
@@ -6364,7 +6328,7 @@ export function textureStorage2D(texture, levels, internalformat, width, height)
6364
6328
  *
6365
6329
  * Provided by `GL_VERSION_4_5`.
6366
6330
  *
6367
- * @param texture - `GLuint`, object kind `texture`
6331
+ * @param texture - `GLuint`, object class `texture`
6368
6332
  * @param samples - `GLsizei`
6369
6333
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
6370
6334
  * @param width - `GLsizei`
@@ -6380,7 +6344,7 @@ export function textureStorage2DMultisample(texture, samples, internalformat, wi
6380
6344
  *
6381
6345
  * Provided by `GL_VERSION_4_5`.
6382
6346
  *
6383
- * @param texture - `GLuint`, object kind `texture`
6347
+ * @param texture - `GLuint`, object class `texture`
6384
6348
  * @param levels - `GLsizei`
6385
6349
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
6386
6350
  * @param width - `GLsizei`
@@ -6396,7 +6360,7 @@ export function textureStorage3D(texture, levels, internalformat, width, height,
6396
6360
  *
6397
6361
  * Provided by `GL_VERSION_4_5`.
6398
6362
  *
6399
- * @param texture - `GLuint`, object kind `texture`
6363
+ * @param texture - `GLuint`, object class `texture`
6400
6364
  * @param samples - `GLsizei`
6401
6365
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
6402
6366
  * @param width - `GLsizei`
@@ -6413,7 +6377,7 @@ export function textureStorage3DMultisample(texture, samples, internalformat, wi
6413
6377
  *
6414
6378
  * Provided by `GL_VERSION_4_5`.
6415
6379
  *
6416
- * @param texture - `GLuint`, object kind `texture`
6380
+ * @param texture - `GLuint`, object class `texture`
6417
6381
  * @param level - `GLint`
6418
6382
  * @param xoffset - `GLint`
6419
6383
  * @param width - `GLsizei`
@@ -6430,7 +6394,7 @@ export function textureSubImage1D(texture, level, xoffset, width, format, type,
6430
6394
  *
6431
6395
  * Provided by `GL_VERSION_4_5`.
6432
6396
  *
6433
- * @param texture - `GLuint`, object kind `texture`
6397
+ * @param texture - `GLuint`, object class `texture`
6434
6398
  * @param level - `GLint`
6435
6399
  * @param xoffset - `GLint`
6436
6400
  * @param yoffset - `GLint`
@@ -6449,7 +6413,7 @@ export function textureSubImage2D(texture, level, xoffset, yoffset, width, heigh
6449
6413
  *
6450
6414
  * Provided by `GL_VERSION_4_5`.
6451
6415
  *
6452
- * @param texture - `GLuint`, object kind `texture`
6416
+ * @param texture - `GLuint`, object class `texture`
6453
6417
  * @param level - `GLint`
6454
6418
  * @param xoffset - `GLint`
6455
6419
  * @param yoffset - `GLint`
@@ -6470,9 +6434,9 @@ export function textureSubImage3D(texture, level, xoffset, yoffset, zoffset, wid
6470
6434
  *
6471
6435
  * Provided by `GL_VERSION_4_3`.
6472
6436
  *
6473
- * @param texture - `GLuint`, object kind `texture`
6437
+ * @param texture - `GLuint`, object class `texture`
6474
6438
  * @param target - `GLenum`, group `TextureTarget`
6475
- * @param origtexture - `GLuint`, object kind `texture`
6439
+ * @param origtexture - `GLuint`, object class `texture`
6476
6440
  * @param internalformat - `GLenum`, group `SizedInternalFormat`
6477
6441
  * @param minlevel - `GLuint`
6478
6442
  * @param numlevels - `GLuint`
@@ -6488,9 +6452,9 @@ export function textureView(texture, target, origtexture, internalformat, minlev
6488
6452
  *
6489
6453
  * Provided by `GL_VERSION_4_5`.
6490
6454
  *
6491
- * @param xfb - `GLuint`, object kind `transform feedback`
6455
+ * @param xfb - `GLuint`, object class `transform feedback`
6492
6456
  * @param index - `GLuint`
6493
- * @param buffer - `GLuint`, object kind `buffer`
6457
+ * @param buffer - `GLuint`, object class `buffer`
6494
6458
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTransformFeedbackBufferBase.xhtml
6495
6459
  */
6496
6460
  export function transformFeedbackBufferBase(xfb, index, buffer) {
@@ -6501,9 +6465,9 @@ export function transformFeedbackBufferBase(xfb, index, buffer) {
6501
6465
  *
6502
6466
  * Provided by `GL_VERSION_4_5`.
6503
6467
  *
6504
- * @param xfb - `GLuint`, object kind `transform feedback`
6468
+ * @param xfb - `GLuint`, object class `transform feedback`
6505
6469
  * @param index - `GLuint`
6506
- * @param buffer - `GLuint`, object kind `buffer`
6470
+ * @param buffer - `GLuint`, object class `buffer`
6507
6471
  * @param offset - `GLintptr`
6508
6472
  * @param size - `GLsizeiptr`
6509
6473
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTransformFeedbackBufferRange.xhtml
@@ -6516,7 +6480,7 @@ export function transformFeedbackBufferRange(xfb, index, buffer, offset, size) {
6516
6480
  *
6517
6481
  * Provided by `GL_VERSION_3_0`.
6518
6482
  *
6519
- * @param program - `GLuint`, object kind `program`
6483
+ * @param program - `GLuint`, object class `program`
6520
6484
  * @param count - `GLsizei`
6521
6485
  * @param varyings - `const GLchar *const*`, length `count`
6522
6486
  * @param bufferMode - `GLenum`, group `TransformFeedbackBufferMode`
@@ -6954,7 +6918,7 @@ export function uniform4uiv(location, count, value) {
6954
6918
  *
6955
6919
  * Provided by `GL_VERSION_3_1`.
6956
6920
  *
6957
- * @param program - `GLuint`, object kind `program`
6921
+ * @param program - `GLuint`, object class `program`
6958
6922
  * @param uniformBlockIndex - `GLuint`
6959
6923
  * @param uniformBlockBinding - `GLuint`
6960
6924
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glUniformBlockBinding.xhtml
@@ -7244,7 +7208,7 @@ export function unmapBuffer(target) {
7244
7208
  *
7245
7209
  * Provided by `GL_VERSION_4_5`.
7246
7210
  *
7247
- * @param buffer - `GLuint`, object kind `buffer`
7211
+ * @param buffer - `GLuint`, object class `buffer`
7248
7212
  * @returns `GLboolean`
7249
7213
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glUnmapNamedBuffer.xhtml
7250
7214
  */
@@ -7256,7 +7220,7 @@ export function unmapNamedBuffer(buffer) {
7256
7220
  *
7257
7221
  * Provided by `GL_VERSION_2_0`.
7258
7222
  *
7259
- * @param program - `GLuint`, object kind `program`
7223
+ * @param program - `GLuint`, object class `program`
7260
7224
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glUseProgram.xhtml
7261
7225
  */
7262
7226
  export function useProgram(program) {
@@ -7267,9 +7231,9 @@ export function useProgram(program) {
7267
7231
  *
7268
7232
  * Provided by `GL_VERSION_4_1`.
7269
7233
  *
7270
- * @param pipeline - `GLuint`, object kind `program pipeline`
7234
+ * @param pipeline - `GLuint`, object class `program pipeline`
7271
7235
  * @param stages - `GLbitfield`, group `UseProgramStageMask`
7272
- * @param program - `GLuint`, object kind `program`
7236
+ * @param program - `GLuint`, object class `program`
7273
7237
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glUseProgramStages.xhtml
7274
7238
  */
7275
7239
  export function useProgramStages(pipeline, stages, program) {
@@ -7280,7 +7244,7 @@ export function useProgramStages(pipeline, stages, program) {
7280
7244
  *
7281
7245
  * Provided by `GL_VERSION_2_0`.
7282
7246
  *
7283
- * @param program - `GLuint`, object kind `program`
7247
+ * @param program - `GLuint`, object class `program`
7284
7248
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glValidateProgram.xhtml
7285
7249
  */
7286
7250
  export function validateProgram(program) {
@@ -7291,7 +7255,7 @@ export function validateProgram(program) {
7291
7255
  *
7292
7256
  * Provided by `GL_VERSION_4_1`.
7293
7257
  *
7294
- * @param pipeline - `GLuint`, object kind `program pipeline`
7258
+ * @param pipeline - `GLuint`, object class `program pipeline`
7295
7259
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glValidateProgramPipeline.xhtml
7296
7260
  */
7297
7261
  export function validateProgramPipeline(pipeline) {
@@ -7302,7 +7266,7 @@ export function validateProgramPipeline(pipeline) {
7302
7266
  *
7303
7267
  * Provided by `GL_VERSION_4_5`.
7304
7268
  *
7305
- * @param vaobj - `GLuint`, object kind `vertex array`
7269
+ * @param vaobj - `GLuint`, object class `vertex array`
7306
7270
  * @param attribindex - `GLuint`
7307
7271
  * @param bindingindex - `GLuint`
7308
7272
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glVertexArrayAttribBinding.xhtml
@@ -7315,7 +7279,7 @@ export function vertexArrayAttribBinding(vaobj, attribindex, bindingindex) {
7315
7279
  *
7316
7280
  * Provided by `GL_VERSION_4_5`.
7317
7281
  *
7318
- * @param vaobj - `GLuint`, object kind `vertex array`
7282
+ * @param vaobj - `GLuint`, object class `vertex array`
7319
7283
  * @param attribindex - `GLuint`
7320
7284
  * @param size - `GLint`
7321
7285
  * @param type - `GLenum`, group `VertexAttribType`
@@ -7331,7 +7295,7 @@ export function vertexArrayAttribFormat(vaobj, attribindex, size, type, normaliz
7331
7295
  *
7332
7296
  * Provided by `GL_VERSION_4_5`.
7333
7297
  *
7334
- * @param vaobj - `GLuint`, object kind `vertex array`
7298
+ * @param vaobj - `GLuint`, object class `vertex array`
7335
7299
  * @param attribindex - `GLuint`
7336
7300
  * @param size - `GLint`
7337
7301
  * @param type - `GLenum`, group `VertexAttribIType`
@@ -7346,7 +7310,7 @@ export function vertexArrayAttribIFormat(vaobj, attribindex, size, type, relativ
7346
7310
  *
7347
7311
  * Provided by `GL_VERSION_4_5`.
7348
7312
  *
7349
- * @param vaobj - `GLuint`, object kind `vertex array`
7313
+ * @param vaobj - `GLuint`, object class `vertex array`
7350
7314
  * @param attribindex - `GLuint`
7351
7315
  * @param size - `GLint`
7352
7316
  * @param type - `GLenum`, group `VertexAttribLType`
@@ -7361,7 +7325,7 @@ export function vertexArrayAttribLFormat(vaobj, attribindex, size, type, relativ
7361
7325
  *
7362
7326
  * Provided by `GL_VERSION_4_5`.
7363
7327
  *
7364
- * @param vaobj - `GLuint`, object kind `vertex array`
7328
+ * @param vaobj - `GLuint`, object class `vertex array`
7365
7329
  * @param bindingindex - `GLuint`
7366
7330
  * @param divisor - `GLuint`
7367
7331
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glVertexArrayBindingDivisor.xhtml
@@ -7374,8 +7338,8 @@ export function vertexArrayBindingDivisor(vaobj, bindingindex, divisor) {
7374
7338
  *
7375
7339
  * Provided by `GL_VERSION_4_5`.
7376
7340
  *
7377
- * @param vaobj - `GLuint`, object kind `vertex array`
7378
- * @param buffer - `GLuint`, object kind `buffer`
7341
+ * @param vaobj - `GLuint`, object class `vertex array`
7342
+ * @param buffer - `GLuint`, object class `buffer`
7379
7343
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glVertexArrayElementBuffer.xhtml
7380
7344
  */
7381
7345
  export function vertexArrayElementBuffer(vaobj, buffer) {
@@ -7386,9 +7350,9 @@ export function vertexArrayElementBuffer(vaobj, buffer) {
7386
7350
  *
7387
7351
  * Provided by `GL_VERSION_4_5`.
7388
7352
  *
7389
- * @param vaobj - `GLuint`, object kind `vertex array`
7353
+ * @param vaobj - `GLuint`, object class `vertex array`
7390
7354
  * @param bindingindex - `GLuint`
7391
- * @param buffer - `GLuint`, object kind `buffer`
7355
+ * @param buffer - `GLuint`, object class `buffer`
7392
7356
  * @param offset - `GLintptr`
7393
7357
  * @param stride - `GLsizei`
7394
7358
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glVertexArrayVertexBuffer.xhtml
@@ -7401,10 +7365,10 @@ export function vertexArrayVertexBuffer(vaobj, bindingindex, buffer, offset, str
7401
7365
  *
7402
7366
  * Provided by `GL_VERSION_4_5`.
7403
7367
  *
7404
- * @param vaobj - `GLuint`, object kind `vertex array`
7368
+ * @param vaobj - `GLuint`, object class `vertex array`
7405
7369
  * @param first - `GLuint`
7406
7370
  * @param count - `GLsizei`
7407
- * @param buffers - `const GLuint *`, length `count`, object kind `buffer`
7371
+ * @param buffers - `const GLuint *`, length `count`, object class `buffer`
7408
7372
  * @param offsets - `const GLintptr *`, length `count`
7409
7373
  * @param strides - `const GLsizei *`, length `count`
7410
7374
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glVertexArrayVertexBuffers.xhtml
@@ -8515,7 +8479,7 @@ export function viewportIndexedfv(index, v) {
8515
8479
  *
8516
8480
  * Provided by `GL_VERSION_3_2`.
8517
8481
  *
8518
- * @param sync - `GLsync`, object kind `sync`
8482
+ * @param sync - `GLsync`, object class `sync`
8519
8483
  * @param flags - `GLbitfield`, group `SyncBehaviorFlags`
8520
8484
  * @param timeout - `GLuint64`
8521
8485
  * @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/glWaitSync.xhtml
@@ -8831,7 +8795,7 @@ export function genVertexArray() {
8831
8795
  glGenVertexArraysSingle(1, out);
8832
8796
  return out.value;
8833
8797
  }
8834
- const LIB = "libGL.so.1";
8798
+ export const LIB = "libGL.so.1";
8835
8799
  const glActiveShaderProgram = t.bind(LIB, "glActiveShaderProgram", [t.uint32, t.uint32], t.void);
8836
8800
  const glActiveTexture = t.bind(LIB, "glActiveTexture", [t.uint32], t.void);
8837
8801
  const glAttachShader = t.bind(LIB, "glAttachShader", [t.uint32, t.uint32], t.void);
@@ -8872,63 +8836,47 @@ const glBlendFuncSeparate = t.bind(LIB, "glBlendFuncSeparate", [t.uint32, t.uint
8872
8836
  const glBlendFuncSeparatei = t.bind(LIB, "glBlendFuncSeparatei", [t.uint32, t.uint32, t.uint32, t.uint32, t.uint32], t.void);
8873
8837
  const glBlitFramebuffer = t.bind(LIB, "glBlitFramebuffer", [t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32], t.void);
8874
8838
  const glBlitNamedFramebuffer = t.bind(LIB, "glBlitNamedFramebuffer", [t.uint32, t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32], t.void);
8875
- const glBufferData = t.bind(LIB, "glBufferData", [t.uint32, t.int64, t.blob, t.uint32], t.void);
8876
- const glBufferStorage = t.bind(LIB, "glBufferStorage", [t.uint32, t.int64, t.blob, t.uint32], t.void);
8877
- const glBufferSubData = t.bind(LIB, "glBufferSubData", [t.uint32, t.int64, t.int64, t.blob], t.void);
8839
+ const glBufferData = t.bind(LIB, "glBufferData", [t.uint32, t.int64, t.buffer, t.uint32], t.void);
8840
+ const glBufferStorage = t.bind(LIB, "glBufferStorage", [t.uint32, t.int64, t.buffer, t.uint32], t.void);
8841
+ const glBufferSubData = t.bind(LIB, "glBufferSubData", [t.uint32, t.int64, t.int64, t.buffer], t.void);
8878
8842
  const glCheckFramebufferStatus = t.bind(LIB, "glCheckFramebufferStatus", [t.uint32], t.uint32);
8879
8843
  const glCheckNamedFramebufferStatus = t.bind(LIB, "glCheckNamedFramebufferStatus", [t.uint32, t.uint32], t.uint32);
8880
8844
  const glClampColor = t.bind(LIB, "glClampColor", [t.uint32, t.uint32], t.void);
8881
8845
  const glClear = t.bind(LIB, "glClear", [t.uint32], t.void);
8882
- const glClearBufferData = t.bind(LIB, "glClearBufferData", [t.uint32, t.uint32, t.uint32, t.uint32, t.blob], t.void);
8846
+ const glClearBufferData = t.bind(LIB, "glClearBufferData", [t.uint32, t.uint32, t.uint32, t.uint32, t.buffer], t.void);
8883
8847
  const glClearBufferfi = t.bind(LIB, "glClearBufferfi", [t.uint32, t.int32, t.float32, t.int32], t.void);
8884
8848
  const glClearBufferfv = t.bind(LIB, "glClearBufferfv", [t.uint32, t.int32, t.array(t.float32)], t.void);
8885
8849
  const glClearBufferiv = t.bind(LIB, "glClearBufferiv", [t.uint32, t.int32, t.array(t.int32)], t.void);
8886
- const glClearBufferSubData = t.bind(LIB, "glClearBufferSubData", [t.uint32, t.uint32, t.int64, t.int64, t.uint32, t.uint32, t.blob], t.void);
8850
+ const glClearBufferSubData = t.bind(LIB, "glClearBufferSubData", [t.uint32, t.uint32, t.int64, t.int64, t.uint32, t.uint32, t.buffer], t.void);
8887
8851
  const glClearBufferuiv = t.bind(LIB, "glClearBufferuiv", [t.uint32, t.int32, t.array(t.uint32)], t.void);
8888
8852
  const glClearColor = t.bind(LIB, "glClearColor", [t.float32, t.float32, t.float32, t.float32], t.void);
8889
8853
  const glClearDepth = t.bind(LIB, "glClearDepth", [t.float64], t.void);
8890
8854
  const glClearDepthf = t.bind(LIB, "glClearDepthf", [t.float32], t.void);
8891
- const glClearNamedBufferData = t.bind(LIB, "glClearNamedBufferData", [t.uint32, t.uint32, t.uint32, t.uint32, t.blob], t.void);
8892
- const glClearNamedBufferSubData = t.bind(LIB, "glClearNamedBufferSubData", [t.uint32, t.uint32, t.int64, t.int64, t.uint32, t.uint32, t.blob], t.void);
8855
+ const glClearNamedBufferData = t.bind(LIB, "glClearNamedBufferData", [t.uint32, t.uint32, t.uint32, t.uint32, t.buffer], t.void);
8856
+ const glClearNamedBufferSubData = t.bind(LIB, "glClearNamedBufferSubData", [t.uint32, t.uint32, t.int64, t.int64, t.uint32, t.uint32, t.buffer], t.void);
8893
8857
  const glClearNamedFramebufferfi = t.bind(LIB, "glClearNamedFramebufferfi", [t.uint32, t.uint32, t.int32, t.float32, t.int32], t.void);
8894
8858
  const glClearNamedFramebufferfv = t.bind(LIB, "glClearNamedFramebufferfv", [t.uint32, t.uint32, t.int32, t.array(t.float32)], t.void);
8895
8859
  const glClearNamedFramebufferiv = t.bind(LIB, "glClearNamedFramebufferiv", [t.uint32, t.uint32, t.int32, t.array(t.int32)], t.void);
8896
8860
  const glClearNamedFramebufferuiv = t.bind(LIB, "glClearNamedFramebufferuiv", [t.uint32, t.uint32, t.int32, t.array(t.uint32)], t.void);
8897
8861
  const glClearStencil = t.bind(LIB, "glClearStencil", [t.int32], t.void);
8898
- const glClearTexImage = t.bind(LIB, "glClearTexImage", [t.uint32, t.int32, t.uint32, t.uint32, t.blob], t.void);
8899
- const glClearTexSubImage = t.bind(LIB, "glClearTexSubImage", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
8862
+ const glClearTexImage = t.bind(LIB, "glClearTexImage", [t.uint32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
8863
+ const glClearTexSubImage = t.bind(LIB, "glClearTexSubImage", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
8900
8864
  const glClientWaitSync = t.bind(LIB, "glClientWaitSync", [t.struct("borrowed"), t.uint32, t.uint64], t.uint32);
8901
8865
  const glClipControl = t.bind(LIB, "glClipControl", [t.uint32, t.uint32], t.void);
8902
8866
  const glColorMask = t.bind(LIB, "glColorMask", [t.boolean, t.boolean, t.boolean, t.boolean], t.void);
8903
8867
  const glColorMaski = t.bind(LIB, "glColorMaski", [t.uint32, t.boolean, t.boolean, t.boolean, t.boolean], t.void);
8904
8868
  const glCompileShader = t.bind(LIB, "glCompileShader", [t.uint32], t.void);
8905
- const glCompressedTexImage1D = t.bind(LIB, "glCompressedTexImage1D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.blob], t.void);
8906
- const glCompressedTexImage2D = t.bind(LIB, "glCompressedTexImage2D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.int32, t.blob], t.void);
8907
- const glCompressedTexImage3D = t.bind(LIB, "glCompressedTexImage3D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.blob], t.void);
8908
- const glCompressedTexSubImage1D = t.bind(LIB, "glCompressedTexSubImage1D", [t.uint32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.blob], t.void);
8909
- const glCompressedTexSubImage2D = t.bind(LIB, "glCompressedTexSubImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.blob], t.void);
8910
- const glCompressedTexSubImage3D = t.bind(LIB, "glCompressedTexSubImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.blob], t.void);
8911
- const glCompressedTextureSubImage1D = t.bind(LIB, "glCompressedTextureSubImage1D", [t.uint32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.blob], t.void);
8912
- const glCompressedTextureSubImage2D = t.bind(LIB, "glCompressedTextureSubImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.blob], t.void);
8913
- const glCompressedTextureSubImage3D = t.bind(LIB, "glCompressedTextureSubImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.blob], t.void);
8869
+ const glCompressedTexImage1D = t.bind(LIB, "glCompressedTexImage1D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.buffer], t.void);
8870
+ const glCompressedTexImage2D = t.bind(LIB, "glCompressedTexImage2D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.int32, t.buffer], t.void);
8871
+ const glCompressedTexImage3D = t.bind(LIB, "glCompressedTexImage3D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.buffer], t.void);
8872
+ const glCompressedTexSubImage1D = t.bind(LIB, "glCompressedTexSubImage1D", [t.uint32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.buffer], t.void);
8873
+ const glCompressedTexSubImage2D = t.bind(LIB, "glCompressedTexSubImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.buffer], t.void);
8874
+ const glCompressedTexSubImage3D = t.bind(LIB, "glCompressedTexSubImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.buffer], t.void);
8875
+ const glCompressedTextureSubImage1D = t.bind(LIB, "glCompressedTextureSubImage1D", [t.uint32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.buffer], t.void);
8876
+ const glCompressedTextureSubImage2D = t.bind(LIB, "glCompressedTextureSubImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.buffer], t.void);
8877
+ const glCompressedTextureSubImage3D = t.bind(LIB, "glCompressedTextureSubImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.int32, t.buffer], t.void);
8914
8878
  const glCopyBufferSubData = t.bind(LIB, "glCopyBufferSubData", [t.uint32, t.uint32, t.int64, t.int64, t.int64], t.void);
8915
- const glCopyImageSubData = t.bind(LIB, "glCopyImageSubData", [
8916
- t.uint32,
8917
- t.uint32,
8918
- t.int32,
8919
- t.int32,
8920
- t.int32,
8921
- t.int32,
8922
- t.uint32,
8923
- t.uint32,
8924
- t.int32,
8925
- t.int32,
8926
- t.int32,
8927
- t.int32,
8928
- t.int32,
8929
- t.int32,
8930
- t.int32,
8931
- ], t.void);
8879
+ const glCopyImageSubData = t.bind(LIB, "glCopyImageSubData", [t.uint32, t.uint32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32], t.void);
8932
8880
  const glCopyNamedBufferSubData = t.bind(LIB, "glCopyNamedBufferSubData", [t.uint32, t.uint32, t.int64, t.int64, t.int64], t.void);
8933
8881
  const glCopyTexImage1D = t.bind(LIB, "glCopyTexImage1D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.int32], t.void);
8934
8882
  const glCopyTexImage2D = t.bind(LIB, "glCopyTexImage2D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32], t.void);
@@ -9033,10 +8981,10 @@ const glGetAttachedShaders = t.bind(LIB, "glGetAttachedShaders", [t.uint32, t.in
9033
8981
  const glGetAttribLocation = t.bind(LIB, "glGetAttribLocation", [t.uint32, t.string("borrowed")], t.int32);
9034
8982
  const glGetBufferParameteri64v = t.bind(LIB, "glGetBufferParameteri64v", [t.uint32, t.uint32, t.ref(t.int64)], t.void);
9035
8983
  const glGetBufferParameteriv = t.bind(LIB, "glGetBufferParameteriv", [t.uint32, t.uint32, t.ref(t.int32)], t.void);
9036
- const glGetBufferSubData = t.bind(LIB, "glGetBufferSubData", [t.uint32, t.int64, t.int64, t.blob], t.void);
9037
- const glGetCompressedTexImage = t.bind(LIB, "glGetCompressedTexImage", [t.uint32, t.int32, t.blob], t.void);
9038
- const glGetCompressedTextureImage = t.bind(LIB, "glGetCompressedTextureImage", [t.uint32, t.int32, t.int32, t.blob], t.void);
9039
- const glGetCompressedTextureSubImage = t.bind(LIB, "glGetCompressedTextureSubImage", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.blob], t.void);
8984
+ const glGetBufferSubData = t.bind(LIB, "glGetBufferSubData", [t.uint32, t.int64, t.int64, t.buffer], t.void);
8985
+ const glGetCompressedTexImage = t.bind(LIB, "glGetCompressedTexImage", [t.uint32, t.int32, t.buffer], t.void);
8986
+ const glGetCompressedTextureImage = t.bind(LIB, "glGetCompressedTextureImage", [t.uint32, t.int32, t.int32, t.buffer], t.void);
8987
+ const glGetCompressedTextureSubImage = t.bind(LIB, "glGetCompressedTextureSubImage", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.buffer], t.void);
9040
8988
  const glGetError = t.bind(LIB, "glGetError", [], t.uint32);
9041
8989
  const glGetFragDataIndex = t.bind(LIB, "glGetFragDataIndex", [t.uint32, t.string("borrowed")], t.int32);
9042
8990
  const glGetFragDataLocation = t.bind(LIB, "glGetFragDataLocation", [t.uint32, t.string("borrowed")], t.int32);
@@ -9047,26 +8995,17 @@ const glGetInternalformati64v = t.bind(LIB, "glGetInternalformati64v", [t.uint32
9047
8995
  const glGetInternalformativ = t.bind(LIB, "glGetInternalformativ", [t.uint32, t.uint32, t.uint32, t.int32, t.ref(t.sizedArray(t.int32, 3))], t.void);
9048
8996
  const glGetNamedBufferParameteri64v = t.bind(LIB, "glGetNamedBufferParameteri64v", [t.uint32, t.uint32, t.ref(t.int64)], t.void);
9049
8997
  const glGetNamedBufferParameteriv = t.bind(LIB, "glGetNamedBufferParameteriv", [t.uint32, t.uint32, t.ref(t.int32)], t.void);
9050
- const glGetNamedBufferSubData = t.bind(LIB, "glGetNamedBufferSubData", [t.uint32, t.int64, t.int64, t.blob], t.void);
8998
+ const glGetNamedBufferSubData = t.bind(LIB, "glGetNamedBufferSubData", [t.uint32, t.int64, t.int64, t.buffer], t.void);
9051
8999
  const glGetNamedFramebufferAttachmentParameteriv = t.bind(LIB, "glGetNamedFramebufferAttachmentParameteriv", [t.uint32, t.uint32, t.uint32, t.ref(t.int32)], t.void);
9052
9000
  const glGetNamedFramebufferParameteriv = t.bind(LIB, "glGetNamedFramebufferParameteriv", [t.uint32, t.uint32, t.ref(t.int32)], t.void);
9053
9001
  const glGetNamedRenderbufferParameteriv = t.bind(LIB, "glGetNamedRenderbufferParameteriv", [t.uint32, t.uint32, t.ref(t.int32)], t.void);
9054
- const glGetnCompressedTexImage = t.bind(LIB, "glGetnCompressedTexImage", [t.uint32, t.int32, t.int32, t.blob], t.void);
9055
- const glGetnTexImage = t.bind(LIB, "glGetnTexImage", [t.uint32, t.int32, t.uint32, t.uint32, t.int32, t.blob], t.void);
9056
- const glGetProgramBinary = t.bind(LIB, "glGetProgramBinary", [t.uint32, t.int32, t.ref(t.int32), t.ref(t.uint32), t.blob], t.void);
9002
+ const glGetnCompressedTexImage = t.bind(LIB, "glGetnCompressedTexImage", [t.uint32, t.int32, t.int32, t.buffer], t.void);
9003
+ const glGetnTexImage = t.bind(LIB, "glGetnTexImage", [t.uint32, t.int32, t.uint32, t.uint32, t.int32, t.buffer], t.void);
9004
+ const glGetProgramBinary = t.bind(LIB, "glGetProgramBinary", [t.uint32, t.int32, t.ref(t.int32), t.ref(t.uint32), t.buffer], t.void);
9057
9005
  const glGetProgramiv = t.bind(LIB, "glGetProgramiv", [t.uint32, t.uint32, t.ref(t.int32)], t.void);
9058
9006
  const glGetProgramPipelineiv = t.bind(LIB, "glGetProgramPipelineiv", [t.uint32, t.uint32, t.ref(t.int32)], t.void);
9059
9007
  const glGetProgramResourceIndex = t.bind(LIB, "glGetProgramResourceIndex", [t.uint32, t.uint32, t.string("borrowed")], t.uint32);
9060
- const glGetProgramResourceiv = t.bind(LIB, "glGetProgramResourceiv", [
9061
- t.uint32,
9062
- t.uint32,
9063
- t.uint32,
9064
- t.int32,
9065
- t.array(t.uint32),
9066
- t.int32,
9067
- t.ref(t.int32),
9068
- t.ref(t.sizedArray(t.int32, 5)),
9069
- ], t.void);
9008
+ const glGetProgramResourceiv = t.bind(LIB, "glGetProgramResourceiv", [t.uint32, t.uint32, t.uint32, t.int32, t.array(t.uint32), t.int32, t.ref(t.int32), t.ref(t.sizedArray(t.int32, 5))], t.void);
9070
9009
  const glGetProgramResourceLocation = t.bind(LIB, "glGetProgramResourceLocation", [t.uint32, t.uint32, t.string("borrowed")], t.int32);
9071
9010
  const glGetProgramResourceLocationIndex = t.bind(LIB, "glGetProgramResourceLocationIndex", [t.uint32, t.uint32, t.string("borrowed")], t.int32);
9072
9011
  const glGetProgramStageiv = t.bind(LIB, "glGetProgramStageiv", [t.uint32, t.uint32, t.uint32, t.ref(t.int32)], t.void);
@@ -9087,15 +9026,15 @@ const glGetStringi = t.bind(LIB, "glGetStringi", [t.uint32, t.uint32], t.string(
9087
9026
  const glGetSubroutineIndex = t.bind(LIB, "glGetSubroutineIndex", [t.uint32, t.uint32, t.string("borrowed")], t.uint32);
9088
9027
  const glGetSubroutineUniformLocation = t.bind(LIB, "glGetSubroutineUniformLocation", [t.uint32, t.uint32, t.string("borrowed")], t.int32);
9089
9028
  const glGetSynciv = t.bind(LIB, "glGetSynciv", [t.struct("borrowed"), t.uint32, t.int32, t.ref(t.int32), t.ref(t.sizedArray(t.int32, 2))], t.void);
9090
- const glGetTexImage = t.bind(LIB, "glGetTexImage", [t.uint32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9091
- const glGetTextureImage = t.bind(LIB, "glGetTextureImage", [t.uint32, t.int32, t.uint32, t.uint32, t.int32, t.blob], t.void);
9029
+ const glGetTexImage = t.bind(LIB, "glGetTexImage", [t.uint32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9030
+ const glGetTextureImage = t.bind(LIB, "glGetTextureImage", [t.uint32, t.int32, t.uint32, t.uint32, t.int32, t.buffer], t.void);
9092
9031
  const glGetTextureLevelParameterfv = t.bind(LIB, "glGetTextureLevelParameterfv", [t.uint32, t.int32, t.uint32, t.ref(t.float32)], t.void);
9093
9032
  const glGetTextureLevelParameteriv = t.bind(LIB, "glGetTextureLevelParameteriv", [t.uint32, t.int32, t.uint32, t.ref(t.int32)], t.void);
9094
9033
  const glGetTextureParameterfv = t.bind(LIB, "glGetTextureParameterfv", [t.uint32, t.uint32, t.ref(t.float32)], t.void);
9095
9034
  const glGetTextureParameterIiv = t.bind(LIB, "glGetTextureParameterIiv", [t.uint32, t.uint32, t.ref(t.int32)], t.void);
9096
9035
  const glGetTextureParameterIuiv = t.bind(LIB, "glGetTextureParameterIuiv", [t.uint32, t.uint32, t.ref(t.uint32)], t.void);
9097
9036
  const glGetTextureParameteriv = t.bind(LIB, "glGetTextureParameteriv", [t.uint32, t.uint32, t.ref(t.int32)], t.void);
9098
- const glGetTextureSubImage = t.bind(LIB, "glGetTextureSubImage", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.int32, t.blob], t.void);
9037
+ const glGetTextureSubImage = t.bind(LIB, "glGetTextureSubImage", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.int32, t.buffer], t.void);
9099
9038
  const glGetTransformFeedbackiV = t.bind(LIB, "glGetTransformFeedbacki_v", [t.uint32, t.uint32, t.uint32, t.ref(t.int32)], t.void);
9100
9039
  const glGetTransformFeedbacki64V = t.bind(LIB, "glGetTransformFeedbacki64_v", [t.uint32, t.uint32, t.uint32, t.ref(t.int64)], t.void);
9101
9040
  const glGetTransformFeedbackiv = t.bind(LIB, "glGetTransformFeedbackiv", [t.uint32, t.uint32, t.ref(t.int32)], t.void);
@@ -9145,14 +9084,14 @@ const glMemoryBarrierByRegion = t.bind(LIB, "glMemoryBarrierByRegion", [t.uint32
9145
9084
  const glMinSampleShading = t.bind(LIB, "glMinSampleShading", [t.float32], t.void);
9146
9085
  const glMultiDrawArrays = t.bind(LIB, "glMultiDrawArrays", [t.uint32, t.array(t.int32), t.array(t.int32), t.int32], t.void);
9147
9086
  const glMultiDrawArraysIndirect = t.bind(LIB, "glMultiDrawArraysIndirect", [t.uint32, t.uint64, t.int32, t.int32], t.void);
9148
- const glMultiDrawArraysIndirectCount = t.bind(LIB, "glMultiDrawArraysIndirectCount", [t.uint32, t.blob, t.int64, t.int32, t.int32], t.void);
9087
+ const glMultiDrawArraysIndirectCount = t.bind(LIB, "glMultiDrawArraysIndirectCount", [t.uint32, t.buffer, t.int64, t.int32, t.int32], t.void);
9149
9088
  const glMultiDrawElements = t.bind(LIB, "glMultiDrawElements", [t.uint32, t.array(t.int32), t.uint32, t.array(t.uint64), t.int32], t.void);
9150
9089
  const glMultiDrawElementsBaseVertex = t.bind(LIB, "glMultiDrawElementsBaseVertex", [t.uint32, t.array(t.int32), t.uint32, t.array(t.uint64), t.int32, t.array(t.int32)], t.void);
9151
9090
  const glMultiDrawElementsIndirect = t.bind(LIB, "glMultiDrawElementsIndirect", [t.uint32, t.uint32, t.uint64, t.int32, t.int32], t.void);
9152
- const glMultiDrawElementsIndirectCount = t.bind(LIB, "glMultiDrawElementsIndirectCount", [t.uint32, t.uint32, t.blob, t.int64, t.int32, t.int32], t.void);
9153
- const glNamedBufferData = t.bind(LIB, "glNamedBufferData", [t.uint32, t.int64, t.blob, t.uint32], t.void);
9154
- const glNamedBufferStorage = t.bind(LIB, "glNamedBufferStorage", [t.uint32, t.int64, t.blob, t.uint32], t.void);
9155
- const glNamedBufferSubData = t.bind(LIB, "glNamedBufferSubData", [t.uint32, t.int64, t.int64, t.blob], t.void);
9091
+ const glMultiDrawElementsIndirectCount = t.bind(LIB, "glMultiDrawElementsIndirectCount", [t.uint32, t.uint32, t.buffer, t.int64, t.int32, t.int32], t.void);
9092
+ const glNamedBufferData = t.bind(LIB, "glNamedBufferData", [t.uint32, t.int64, t.buffer, t.uint32], t.void);
9093
+ const glNamedBufferStorage = t.bind(LIB, "glNamedBufferStorage", [t.uint32, t.int64, t.buffer, t.uint32], t.void);
9094
+ const glNamedBufferSubData = t.bind(LIB, "glNamedBufferSubData", [t.uint32, t.int64, t.int64, t.buffer], t.void);
9156
9095
  const glNamedFramebufferDrawBuffer = t.bind(LIB, "glNamedFramebufferDrawBuffer", [t.uint32, t.uint32], t.void);
9157
9096
  const glNamedFramebufferDrawBuffers = t.bind(LIB, "glNamedFramebufferDrawBuffers", [t.uint32, t.int32, t.array(t.uint32)], t.void);
9158
9097
  const glNamedFramebufferParameteri = t.bind(LIB, "glNamedFramebufferParameteri", [t.uint32, t.uint32, t.int32], t.void);
@@ -9163,7 +9102,7 @@ const glNamedFramebufferTextureLayer = t.bind(LIB, "glNamedFramebufferTextureLay
9163
9102
  const glNamedRenderbufferStorage = t.bind(LIB, "glNamedRenderbufferStorage", [t.uint32, t.uint32, t.int32, t.int32], t.void);
9164
9103
  const glNamedRenderbufferStorageMultisample = t.bind(LIB, "glNamedRenderbufferStorageMultisample", [t.uint32, t.int32, t.uint32, t.int32, t.int32], t.void);
9165
9104
  const glObjectLabel = t.bind(LIB, "glObjectLabel", [t.uint32, t.uint32, t.int32, t.string("borrowed")], t.void);
9166
- const glObjectPtrLabel = t.bind(LIB, "glObjectPtrLabel", [t.blob, t.int32, t.string("borrowed")], t.void);
9105
+ const glObjectPtrLabel = t.bind(LIB, "glObjectPtrLabel", [t.buffer, t.int32, t.string("borrowed")], t.void);
9167
9106
  const glPatchParameterfv = t.bind(LIB, "glPatchParameterfv", [t.uint32, t.array(t.float32)], t.void);
9168
9107
  const glPatchParameteri = t.bind(LIB, "glPatchParameteri", [t.uint32, t.int32], t.void);
9169
9108
  const glPauseTransformFeedback = t.bind(LIB, "glPauseTransformFeedback", [], t.void);
@@ -9179,7 +9118,7 @@ const glPolygonOffset = t.bind(LIB, "glPolygonOffset", [t.float32, t.float32], t
9179
9118
  const glPolygonOffsetClamp = t.bind(LIB, "glPolygonOffsetClamp", [t.float32, t.float32, t.float32], t.void);
9180
9119
  const glPopDebugGroup = t.bind(LIB, "glPopDebugGroup", [], t.void);
9181
9120
  const glPrimitiveRestartIndex = t.bind(LIB, "glPrimitiveRestartIndex", [t.uint32], t.void);
9182
- const glProgramBinary = t.bind(LIB, "glProgramBinary", [t.uint32, t.uint32, t.blob, t.int32], t.void);
9121
+ const glProgramBinary = t.bind(LIB, "glProgramBinary", [t.uint32, t.uint32, t.buffer, t.int32], t.void);
9183
9122
  const glProgramParameteri = t.bind(LIB, "glProgramParameteri", [t.uint32, t.uint32, t.int32], t.void);
9184
9123
  const glProgramUniform1d = t.bind(LIB, "glProgramUniform1d", [t.uint32, t.int32, t.float64], t.void);
9185
9124
  const glProgramUniform1dv = t.bind(LIB, "glProgramUniform1dv", [t.uint32, t.int32, t.int32, t.array(t.float64)], t.void);
@@ -9235,8 +9174,8 @@ const glProvokingVertex = t.bind(LIB, "glProvokingVertex", [t.uint32], t.void);
9235
9174
  const glPushDebugGroup = t.bind(LIB, "glPushDebugGroup", [t.uint32, t.uint32, t.int32, t.string("borrowed")], t.void);
9236
9175
  const glQueryCounter = t.bind(LIB, "glQueryCounter", [t.uint32, t.uint32], t.void);
9237
9176
  const glReadBuffer = t.bind(LIB, "glReadBuffer", [t.uint32], t.void);
9238
- const glReadnPixels = t.bind(LIB, "glReadnPixels", [t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.int32, t.blob], t.void);
9239
- const glReadPixels = t.bind(LIB, "glReadPixels", [t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9177
+ const glReadnPixels = t.bind(LIB, "glReadnPixels", [t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.int32, t.buffer], t.void);
9178
+ const glReadPixels = t.bind(LIB, "glReadPixels", [t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9240
9179
  const glReleaseShaderCompiler = t.bind(LIB, "glReleaseShaderCompiler", [], t.void);
9241
9180
  const glRenderbufferStorage = t.bind(LIB, "glRenderbufferStorage", [t.uint32, t.uint32, t.int32, t.int32], t.void);
9242
9181
  const glRenderbufferStorageMultisample = t.bind(LIB, "glRenderbufferStorageMultisample", [t.uint32, t.int32, t.uint32, t.int32, t.int32], t.void);
@@ -9253,7 +9192,7 @@ const glScissor = t.bind(LIB, "glScissor", [t.int32, t.int32, t.int32, t.int32],
9253
9192
  const glScissorArrayv = t.bind(LIB, "glScissorArrayv", [t.uint32, t.int32, t.array(t.int32)], t.void);
9254
9193
  const glScissorIndexed = t.bind(LIB, "glScissorIndexed", [t.uint32, t.int32, t.int32, t.int32, t.int32], t.void);
9255
9194
  const glScissorIndexedv = t.bind(LIB, "glScissorIndexedv", [t.uint32, t.array(t.int32)], t.void);
9256
- const glShaderBinary = t.bind(LIB, "glShaderBinary", [t.int32, t.array(t.uint32), t.uint32, t.blob, t.int32], t.void);
9195
+ const glShaderBinary = t.bind(LIB, "glShaderBinary", [t.int32, t.array(t.uint32), t.uint32, t.buffer, t.int32], t.void);
9257
9196
  const glShaderSource = t.bind(LIB, "glShaderSource", [t.uint32, t.int32, t.array(t.string("borrowed")), t.array(t.int32)], t.void);
9258
9197
  const glShaderStorageBlockBinding = t.bind(LIB, "glShaderStorageBlockBinding", [t.uint32, t.uint32, t.uint32], t.void);
9259
9198
  const glSpecializeShader = t.bind(LIB, "glSpecializeShader", [t.uint32, t.string("borrowed"), t.uint32, t.array(t.uint32), t.array(t.uint32)], t.void);
@@ -9265,10 +9204,10 @@ const glStencilOp = t.bind(LIB, "glStencilOp", [t.uint32, t.uint32, t.uint32], t
9265
9204
  const glStencilOpSeparate = t.bind(LIB, "glStencilOpSeparate", [t.uint32, t.uint32, t.uint32, t.uint32], t.void);
9266
9205
  const glTexBuffer = t.bind(LIB, "glTexBuffer", [t.uint32, t.uint32, t.uint32], t.void);
9267
9206
  const glTexBufferRange = t.bind(LIB, "glTexBufferRange", [t.uint32, t.uint32, t.uint32, t.int64, t.int64], t.void);
9268
- const glTexImage1D = t.bind(LIB, "glTexImage1D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9269
- const glTexImage2D = t.bind(LIB, "glTexImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9207
+ const glTexImage1D = t.bind(LIB, "glTexImage1D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9208
+ const glTexImage2D = t.bind(LIB, "glTexImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9270
9209
  const glTexImage2DMultisample = t.bind(LIB, "glTexImage2DMultisample", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.boolean], t.void);
9271
- const glTexImage3D = t.bind(LIB, "glTexImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9210
+ const glTexImage3D = t.bind(LIB, "glTexImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9272
9211
  const glTexImage3DMultisample = t.bind(LIB, "glTexImage3DMultisample", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.boolean], t.void);
9273
9212
  const glTexParameterf = t.bind(LIB, "glTexParameterf", [t.uint32, t.uint32, t.float32], t.void);
9274
9213
  const glTexParameterfv = t.bind(LIB, "glTexParameterfv", [t.uint32, t.uint32, t.array(t.float32)], t.void);
@@ -9281,9 +9220,9 @@ const glTexStorage2D = t.bind(LIB, "glTexStorage2D", [t.uint32, t.int32, t.uint3
9281
9220
  const glTexStorage2DMultisample = t.bind(LIB, "glTexStorage2DMultisample", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.boolean], t.void);
9282
9221
  const glTexStorage3D = t.bind(LIB, "glTexStorage3D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32], t.void);
9283
9222
  const glTexStorage3DMultisample = t.bind(LIB, "glTexStorage3DMultisample", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.boolean], t.void);
9284
- const glTexSubImage1D = t.bind(LIB, "glTexSubImage1D", [t.uint32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9285
- const glTexSubImage2D = t.bind(LIB, "glTexSubImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9286
- const glTexSubImage3D = t.bind(LIB, "glTexSubImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9223
+ const glTexSubImage1D = t.bind(LIB, "glTexSubImage1D", [t.uint32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9224
+ const glTexSubImage2D = t.bind(LIB, "glTexSubImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9225
+ const glTexSubImage3D = t.bind(LIB, "glTexSubImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9287
9226
  const glTextureBarrier = t.bind(LIB, "glTextureBarrier", [], t.void);
9288
9227
  const glTextureBuffer = t.bind(LIB, "glTextureBuffer", [t.uint32, t.uint32, t.uint32], t.void);
9289
9228
  const glTextureBufferRange = t.bind(LIB, "glTextureBufferRange", [t.uint32, t.uint32, t.uint32, t.int64, t.int64], t.void);
@@ -9298,9 +9237,9 @@ const glTextureStorage2D = t.bind(LIB, "glTextureStorage2D", [t.uint32, t.int32,
9298
9237
  const glTextureStorage2DMultisample = t.bind(LIB, "glTextureStorage2DMultisample", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.boolean], t.void);
9299
9238
  const glTextureStorage3D = t.bind(LIB, "glTextureStorage3D", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32], t.void);
9300
9239
  const glTextureStorage3DMultisample = t.bind(LIB, "glTextureStorage3DMultisample", [t.uint32, t.int32, t.uint32, t.int32, t.int32, t.int32, t.boolean], t.void);
9301
- const glTextureSubImage1D = t.bind(LIB, "glTextureSubImage1D", [t.uint32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9302
- const glTextureSubImage2D = t.bind(LIB, "glTextureSubImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9303
- const glTextureSubImage3D = t.bind(LIB, "glTextureSubImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.blob], t.void);
9240
+ const glTextureSubImage1D = t.bind(LIB, "glTextureSubImage1D", [t.uint32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9241
+ const glTextureSubImage2D = t.bind(LIB, "glTextureSubImage2D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9242
+ const glTextureSubImage3D = t.bind(LIB, "glTextureSubImage3D", [t.uint32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.int32, t.uint32, t.uint32, t.buffer], t.void);
9304
9243
  const glTextureView = t.bind(LIB, "glTextureView", [t.uint32, t.uint32, t.uint32, t.uint32, t.uint32, t.uint32, t.uint32, t.uint32], t.void);
9305
9244
  const glTransformFeedbackBufferBase = t.bind(LIB, "glTransformFeedbackBufferBase", [t.uint32, t.uint32, t.uint32], t.void);
9306
9245
  const glTransformFeedbackBufferRange = t.bind(LIB, "glTransformFeedbackBufferRange", [t.uint32, t.uint32, t.uint32, t.int64, t.int64], t.void);