WebGL2RenderingContextBase constructor

WebGL2RenderingContextBase({
  1. num? readBuffer$,
  2. num? unpackRowLength,
  3. num? unpackSkipRows,
  4. num? unpackSkipPixels,
  5. num? packRowLength,
  6. num? packSkipRows,
  7. num? packSkipPixels,
  8. num? color,
  9. num? depth,
  10. num? stencil,
  11. num? red,
  12. num? rgb8,
  13. num? rgba8,
  14. num? rgb10A2,
  15. num? textureBinding3d,
  16. num? unpackSkipImages,
  17. num? unpackImageHeight,
  18. num? texture3d,
  19. num? textureWrapR,
  20. num? max3dTextureSize,
  21. num? unsignedInt2101010Rev,
  22. num? maxElementsVertices,
  23. num? maxElementsIndices,
  24. num? textureMinLod,
  25. num? textureMaxLod,
  26. num? textureBaseLevel,
  27. num? textureMaxLevel,
  28. num? min,
  29. num? max,
  30. num? depthComponent24,
  31. num? maxTextureLodBias,
  32. num? textureCompareMode,
  33. num? textureCompareFunc,
  34. num? currentQuery,
  35. num? queryResult,
  36. num? queryResultAvailable,
  37. num? streamRead,
  38. num? streamCopy,
  39. num? staticRead,
  40. num? staticCopy,
  41. num? dynamicRead,
  42. num? dynamicCopy,
  43. num? maxDrawBuffers,
  44. num? drawBuffer0,
  45. num? drawBuffer1,
  46. num? drawBuffer2,
  47. num? drawBuffer3,
  48. num? drawBuffer4,
  49. num? drawBuffer5,
  50. num? drawBuffer6,
  51. num? drawBuffer7,
  52. num? drawBuffer8,
  53. num? drawBuffer9,
  54. num? drawBuffer10,
  55. num? drawBuffer11,
  56. num? drawBuffer12,
  57. num? drawBuffer13,
  58. num? drawBuffer14,
  59. num? drawBuffer15,
  60. num? maxFragmentUniformComponents,
  61. num? maxVertexUniformComponents,
  62. num? sampler3d,
  63. num? sampler2dShadow,
  64. num? fragmentShaderDerivativeHint,
  65. num? pixelPackBuffer,
  66. num? pixelUnpackBuffer,
  67. num? pixelPackBufferBinding,
  68. num? pixelUnpackBufferBinding,
  69. num? floatmaT2x3,
  70. num? floatmaT2x4,
  71. num? floatmaT3x2,
  72. num? floatmaT3x4,
  73. num? floatmaT4x2,
  74. num? floatmaT4x3,
  75. num? srgb,
  76. num? srgb8,
  77. num? srgb8Alpha8,
  78. num? compareRefToTexture,
  79. num? rgba32f,
  80. num? rgb32f,
  81. num? rgba16f,
  82. num? rgb16f,
  83. num? vertexAttribArrayInteger,
  84. num? maxArrayTextureLayers,
  85. num? minProgramTexelOffset,
  86. num? maxProgramTexelOffset,
  87. num? maxVaryingComponents,
  88. num? texture2dArray,
  89. num? textureBinding2dArray,
  90. num? r11fG11fB10f,
  91. num? unsignedInt10f11f11fRev,
  92. num? rgb9E5,
  93. num? unsignedInt5999Rev,
  94. num? transformFeedbackBufferMode,
  95. num? maxTransformFeedbackSeparateComponents,
  96. num? transformFeedbackVaryings$,
  97. num? transformFeedbackBufferStart,
  98. num? transformFeedbackBufferSize,
  99. num? transformFeedbackPrimitivesWritten,
  100. num? rasterizerDiscard,
  101. num? maxTransformFeedbackInterleavedComponents,
  102. num? maxTransformFeedbackSeparateAttribs,
  103. num? interleavedAttribs,
  104. num? separateAttribs,
  105. num? transformFeedbackBuffer,
  106. num? transformFeedbackBufferBinding,
  107. num? rgba32ui,
  108. num? rgb32ui,
  109. num? rgba16ui,
  110. num? rgb16ui,
  111. num? rgba8ui,
  112. num? rgb8ui,
  113. num? rgba32i,
  114. num? rgb32i,
  115. num? rgba16i,
  116. num? rgb16i,
  117. num? rgba8i,
  118. num? rgb8i,
  119. num? redInteger,
  120. num? rgbInteger,
  121. num? rgbaInteger,
  122. num? sampler2dArray,
  123. num? sampler2dArrayShadow,
  124. num? samplerCubeShadow,
  125. num? unsignedIntVec2,
  126. num? unsignedIntVec3,
  127. num? unsignedIntVec4,
  128. num? intSampler2d,
  129. num? intSampler3d,
  130. num? intSamplerCube,
  131. num? intSampler2dArray,
  132. num? unsignedIntSampler2d,
  133. num? unsignedIntSampler3d,
  134. num? unsignedIntSamplerCube,
  135. num? unsignedIntSampler2dArray,
  136. num? depthComponent32f,
  137. num? depth32fStencil8,
  138. num? float32UnsignedInt248Rev,
  139. num? framebufferAttachmentColorEncoding,
  140. num? framebufferAttachmentComponentType,
  141. num? framebufferAttachmentRedSize,
  142. num? framebufferAttachmentGreenSize,
  143. num? framebufferAttachmentBlueSize,
  144. num? framebufferAttachmentAlphaSize,
  145. num? framebufferAttachmentDepthSize,
  146. num? framebufferAttachmentStencilSize,
  147. num? framebufferDefault,
  148. num? unsignedInt248,
  149. num? depth24Stencil8,
  150. num? unsignedNormalized,
  151. num? drawFramebufferBinding,
  152. num? readFramebuffer,
  153. num? drawFramebuffer,
  154. num? readFramebufferBinding,
  155. num? renderbufferSamples,
  156. num? framebufferAttachmentTextureLayer,
  157. num? maxColorAttachments,
  158. num? colorAttachment1,
  159. num? colorAttachment2,
  160. num? colorAttachment3,
  161. num? colorAttachment4,
  162. num? colorAttachment5,
  163. num? colorAttachment6,
  164. num? colorAttachment7,
  165. num? colorAttachment8,
  166. num? colorAttachment9,
  167. num? colorAttachment10,
  168. num? colorAttachment11,
  169. num? colorAttachment12,
  170. num? colorAttachment13,
  171. num? colorAttachment14,
  172. num? colorAttachment15,
  173. num? framebufferIncompleteMultisample,
  174. num? maxSamples,
  175. num? halfFloat,
  176. num? rg,
  177. num? rgInteger,
  178. num? r8,
  179. num? rg8,
  180. num? r16f,
  181. num? r32f,
  182. num? rg16f,
  183. num? rg32f,
  184. num? r8i,
  185. num? r8ui,
  186. num? r16i,
  187. num? r16ui,
  188. num? r32i,
  189. num? r32ui,
  190. num? rg8i,
  191. num? rg8ui,
  192. num? rg16i,
  193. num? rg16ui,
  194. num? rg32i,
  195. num? rg32ui,
  196. num? vertexArrayBinding,
  197. num? r8Snorm,
  198. num? rg8Snorm,
  199. num? rgb8Snorm,
  200. num? rgba8Snorm,
  201. num? signedNormalized,
  202. num? copyReadBuffer,
  203. num? copyWriteBuffer,
  204. num? copyReadBufferBinding,
  205. num? copyWriteBufferBinding,
  206. num? uniformBuffer,
  207. num? uniformBufferBinding,
  208. num? uniformBufferStart,
  209. num? uniformBufferSize,
  210. num? maxVertexUniformBlocks,
  211. num? maxFragmentUniformBlocks,
  212. num? maxCombinedUniformBlocks,
  213. num? maxUniformBufferBindings,
  214. num? maxUniformBlockSize,
  215. num? maxCombinedVertexUniformComponents,
  216. num? maxCombinedFragmentUniformComponents,
  217. num? uniformBufferOffsetAlignment,
  218. num? activeUniformBlocks,
  219. num? uniformType,
  220. num? uniformSize,
  221. num? uniformBlockIndex,
  222. num? uniformOffset,
  223. num? uniformArrayStride,
  224. num? uniformMatrixStride,
  225. num? uniformIsRowMajor,
  226. num? uniformBlockBinding$,
  227. num? uniformBlockDataSize,
  228. num? uniformBlockActiveUniforms,
  229. num? uniformBlockActiveUniformIndices,
  230. num? uniformBlockReferencedByVertexShader,
  231. num? uniformBlockReferencedByFragmentShader,
  232. num? invalidIndex,
  233. num? maxVertexOutputComponents,
  234. num? maxFragmentInputComponents,
  235. num? maxServerWaitTimeout,
  236. num? objectType,
  237. num? syncCondition,
  238. num? syncStatus,
  239. num? syncFlags,
  240. num? syncFence,
  241. num? syncGpuCommandsComplete,
  242. num? unsignaled,
  243. num? signaled,
  244. num? alreadySignaled,
  245. num? timeoutExpired,
  246. num? conditionSatisfied,
  247. num? waitFailed,
  248. num? syncFlushCommandsBit,
  249. num? vertexAttribArrayDivisor,
  250. num? anySamplesPassed,
  251. num? anySamplesPassedConservative,
  252. num? samplerBinding,
  253. num? rgb10A2ui,
  254. num? int2101010Rev,
  255. num? transformFeedback,
  256. num? transformFeedbackPaused,
  257. num? transformFeedbackActive,
  258. num? transformFeedbackBinding,
  259. num? textureImmutableFormat,
  260. num? maxElementIndex,
  261. num? textureImmutableLevels,
  262. num? timeoutIgnored,
  263. num? maxClientWaitTimeoutWebgl,
  264. void beginQuery(
    1. num,
    2. WebGLQuery
    )?,
  265. void beginTransformFeedback(
    1. num
    )?,
  266. void bindBufferBase(
    1. num,
    2. num, [
    3. WebGLBuffer?
    ])?,
  267. void bindBufferRange(
    1. num,
    2. num,
    3. num,
    4. num, [
    5. WebGLBuffer?,
    ])?,
  268. void bindSampler(
    1. num, [
    2. WebGLSampler?
    ])?,
  269. void bindTransformFeedback(
    1. num, [
    2. WebGLTransformFeedback?
    ])?,
  270. void bindVertexArray([
    1. WebGLVertexArrayObject?
    ])?,
  271. void blitFramebuffer(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    6. num,
    7. num,
    8. num,
    9. num,
    10. num,
    )?,
  272. void clearBufferfi(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  273. num clientWaitSync(
    1. WebGLSync,
    2. num,
    3. num
    )?,
  274. void copyBufferSubData(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    )?,
  275. void copyTexSubImage3D(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    6. num,
    7. num,
    8. num,
    9. num,
    )?,
  276. WebGLQuery? createQuery()?,
  277. WebGLSampler? createSampler()?,
  278. WebGLTransformFeedback? createTransformFeedback()?,
  279. WebGLVertexArrayObject? createVertexArray()?,
  280. void deleteQuery([
    1. WebGLQuery?
    ])?,
  281. void deleteSampler([
    1. WebGLSampler?
    ])?,
  282. void deleteSync([
    1. WebGLSync?
    ])?,
  283. void deleteTransformFeedback([
    1. WebGLTransformFeedback?
    ])?,
  284. void deleteVertexArray([
    1. WebGLVertexArrayObject?
    ])?,
  285. void drawArraysInstanced(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  286. void drawElementsInstanced(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    )?,
  287. void drawRangeElements(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    6. num,
    )?,
  288. void endQuery(
    1. num
    )?,
  289. void endTransformFeedback()?,
  290. WebGLSync? fenceSync(
    1. num,
    2. num
    )?,
  291. void framebufferTextureLayer(
    1. num,
    2. num,
    3. num,
    4. num, [
    5. WebGLTexture?,
    ])?,
  292. String? getActiveUniformBlockName(
    1. WebGLProgram,
    2. num
    )?,
  293. dynamic getActiveUniformBlockParameter(
    1. WebGLProgram,
    2. num,
    3. num
    )?,
  294. void getBufferSubData(
    1. num,
    2. num,
    3. ArrayBufferView, [
    4. num?,
    5. num?,
    ])?,
  295. num getFragDataLocation(
    1. WebGLProgram,
    2. String
    )?,
  296. dynamic getIndexedParameter(
    1. num,
    2. num
    )?,
  297. dynamic getInternalformatParameter(
    1. num,
    2. num,
    3. num
    )?,
  298. WebGLQuery? getQuery(
    1. num,
    2. num
    )?,
  299. dynamic getQueryParameter(
    1. WebGLQuery,
    2. num
    )?,
  300. dynamic getSamplerParameter(
    1. WebGLSampler,
    2. num
    )?,
  301. dynamic getSyncParameter(
    1. WebGLSync,
    2. num
    )?,
  302. WebGLActiveInfo? getTransformFeedbackVarying(
    1. WebGLProgram,
    2. num
    )?,
  303. num getUniformBlockIndex(
    1. WebGLProgram,
    2. String
    )?,
  304. bool isQuery([
    1. WebGLQuery?
    ])?,
  305. bool isSampler([
    1. WebGLSampler?
    ])?,
  306. bool isSync([
    1. WebGLSync?
    ])?,
  307. bool isTransformFeedback([
    1. WebGLTransformFeedback?
    ])?,
  308. bool isVertexArray([
    1. WebGLVertexArrayObject?
    ])?,
  309. void pauseTransformFeedback()?,
  310. void readBuffer(
    1. num
    )?,
  311. void renderbufferStorageMultisample(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    )?,
  312. void resumeTransformFeedback()?,
  313. void samplerParameterf(
    1. WebGLSampler,
    2. num,
    3. num
    )?,
  314. void samplerParameteri(
    1. WebGLSampler,
    2. num,
    3. num
    )?,
  315. void texStorage2D(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    )?,
  316. void texStorage3D(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    6. num,
    )?,
  317. void uniform1ui(
    1. num, [
    2. WebGLUniformLocation?
    ])?,
  318. void uniform2ui(
    1. num,
    2. num, [
    3. WebGLUniformLocation?
    ])?,
  319. void uniform3ui(
    1. num,
    2. num,
    3. num, [
    4. WebGLUniformLocation?,
    ])?,
  320. void uniform4ui(
    1. num,
    2. num,
    3. num,
    4. num, [
    5. WebGLUniformLocation?,
    ])?,
  321. void uniformBlockBinding(
    1. WebGLProgram,
    2. num,
    3. num
    )?,
  322. void vertexAttribDivisor(
    1. num,
    2. num
    )?,
  323. void vertexAttribI4i(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    )?,
  324. void vertexAttribI4ui(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    )?,
  325. void vertexAttribIPointer(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    )?,
  326. void waitSync(
    1. WebGLSync,
    2. num,
    3. num
    )?,
})

Implementation

factory WebGL2RenderingContextBase({
  _i2.num? readBuffer$,
  _i2.num? unpackRowLength,
  _i2.num? unpackSkipRows,
  _i2.num? unpackSkipPixels,
  _i2.num? packRowLength,
  _i2.num? packSkipRows,
  _i2.num? packSkipPixels,
  _i2.num? color,
  _i2.num? depth,
  _i2.num? stencil,
  _i2.num? red,
  _i2.num? rgb8,
  _i2.num? rgba8,
  _i2.num? rgb10A2,
  _i2.num? textureBinding3d,
  _i2.num? unpackSkipImages,
  _i2.num? unpackImageHeight,
  _i2.num? texture3d,
  _i2.num? textureWrapR,
  _i2.num? max3dTextureSize,
  _i2.num? unsignedInt2101010Rev,
  _i2.num? maxElementsVertices,
  _i2.num? maxElementsIndices,
  _i2.num? textureMinLod,
  _i2.num? textureMaxLod,
  _i2.num? textureBaseLevel,
  _i2.num? textureMaxLevel,
  _i2.num? min,
  _i2.num? max,
  _i2.num? depthComponent24,
  _i2.num? maxTextureLodBias,
  _i2.num? textureCompareMode,
  _i2.num? textureCompareFunc,
  _i2.num? currentQuery,
  _i2.num? queryResult,
  _i2.num? queryResultAvailable,
  _i2.num? streamRead,
  _i2.num? streamCopy,
  _i2.num? staticRead,
  _i2.num? staticCopy,
  _i2.num? dynamicRead,
  _i2.num? dynamicCopy,
  _i2.num? maxDrawBuffers,
  _i2.num? drawBuffer0,
  _i2.num? drawBuffer1,
  _i2.num? drawBuffer2,
  _i2.num? drawBuffer3,
  _i2.num? drawBuffer4,
  _i2.num? drawBuffer5,
  _i2.num? drawBuffer6,
  _i2.num? drawBuffer7,
  _i2.num? drawBuffer8,
  _i2.num? drawBuffer9,
  _i2.num? drawBuffer10,
  _i2.num? drawBuffer11,
  _i2.num? drawBuffer12,
  _i2.num? drawBuffer13,
  _i2.num? drawBuffer14,
  _i2.num? drawBuffer15,
  _i2.num? maxFragmentUniformComponents,
  _i2.num? maxVertexUniformComponents,
  _i2.num? sampler3d,
  _i2.num? sampler2dShadow,
  _i2.num? fragmentShaderDerivativeHint,
  _i2.num? pixelPackBuffer,
  _i2.num? pixelUnpackBuffer,
  _i2.num? pixelPackBufferBinding,
  _i2.num? pixelUnpackBufferBinding,
  _i2.num? floatmaT2x3,
  _i2.num? floatmaT2x4,
  _i2.num? floatmaT3x2,
  _i2.num? floatmaT3x4,
  _i2.num? floatmaT4x2,
  _i2.num? floatmaT4x3,
  _i2.num? srgb,
  _i2.num? srgb8,
  _i2.num? srgb8Alpha8,
  _i2.num? compareRefToTexture,
  _i2.num? rgba32f,
  _i2.num? rgb32f,
  _i2.num? rgba16f,
  _i2.num? rgb16f,
  _i2.num? vertexAttribArrayInteger,
  _i2.num? maxArrayTextureLayers,
  _i2.num? minProgramTexelOffset,
  _i2.num? maxProgramTexelOffset,
  _i2.num? maxVaryingComponents,
  _i2.num? texture2dArray,
  _i2.num? textureBinding2dArray,
  _i2.num? r11fG11fB10f,
  _i2.num? unsignedInt10f11f11fRev,
  _i2.num? rgb9E5,
  _i2.num? unsignedInt5999Rev,
  _i2.num? transformFeedbackBufferMode,
  _i2.num? maxTransformFeedbackSeparateComponents,
  _i2.num? transformFeedbackVaryings$,
  _i2.num? transformFeedbackBufferStart,
  _i2.num? transformFeedbackBufferSize,
  _i2.num? transformFeedbackPrimitivesWritten,
  _i2.num? rasterizerDiscard,
  _i2.num? maxTransformFeedbackInterleavedComponents,
  _i2.num? maxTransformFeedbackSeparateAttribs,
  _i2.num? interleavedAttribs,
  _i2.num? separateAttribs,
  _i2.num? transformFeedbackBuffer,
  _i2.num? transformFeedbackBufferBinding,
  _i2.num? rgba32ui,
  _i2.num? rgb32ui,
  _i2.num? rgba16ui,
  _i2.num? rgb16ui,
  _i2.num? rgba8ui,
  _i2.num? rgb8ui,
  _i2.num? rgba32i,
  _i2.num? rgb32i,
  _i2.num? rgba16i,
  _i2.num? rgb16i,
  _i2.num? rgba8i,
  _i2.num? rgb8i,
  _i2.num? redInteger,
  _i2.num? rgbInteger,
  _i2.num? rgbaInteger,
  _i2.num? sampler2dArray,
  _i2.num? sampler2dArrayShadow,
  _i2.num? samplerCubeShadow,
  _i2.num? unsignedIntVec2,
  _i2.num? unsignedIntVec3,
  _i2.num? unsignedIntVec4,
  _i2.num? intSampler2d,
  _i2.num? intSampler3d,
  _i2.num? intSamplerCube,
  _i2.num? intSampler2dArray,
  _i2.num? unsignedIntSampler2d,
  _i2.num? unsignedIntSampler3d,
  _i2.num? unsignedIntSamplerCube,
  _i2.num? unsignedIntSampler2dArray,
  _i2.num? depthComponent32f,
  _i2.num? depth32fStencil8,
  _i2.num? float32UnsignedInt248Rev,
  _i2.num? framebufferAttachmentColorEncoding,
  _i2.num? framebufferAttachmentComponentType,
  _i2.num? framebufferAttachmentRedSize,
  _i2.num? framebufferAttachmentGreenSize,
  _i2.num? framebufferAttachmentBlueSize,
  _i2.num? framebufferAttachmentAlphaSize,
  _i2.num? framebufferAttachmentDepthSize,
  _i2.num? framebufferAttachmentStencilSize,
  _i2.num? framebufferDefault,
  _i2.num? unsignedInt248,
  _i2.num? depth24Stencil8,
  _i2.num? unsignedNormalized,
  _i2.num? drawFramebufferBinding,
  _i2.num? readFramebuffer,
  _i2.num? drawFramebuffer,
  _i2.num? readFramebufferBinding,
  _i2.num? renderbufferSamples,
  _i2.num? framebufferAttachmentTextureLayer,
  _i2.num? maxColorAttachments,
  _i2.num? colorAttachment1,
  _i2.num? colorAttachment2,
  _i2.num? colorAttachment3,
  _i2.num? colorAttachment4,
  _i2.num? colorAttachment5,
  _i2.num? colorAttachment6,
  _i2.num? colorAttachment7,
  _i2.num? colorAttachment8,
  _i2.num? colorAttachment9,
  _i2.num? colorAttachment10,
  _i2.num? colorAttachment11,
  _i2.num? colorAttachment12,
  _i2.num? colorAttachment13,
  _i2.num? colorAttachment14,
  _i2.num? colorAttachment15,
  _i2.num? framebufferIncompleteMultisample,
  _i2.num? maxSamples,
  _i2.num? halfFloat,
  _i2.num? rg,
  _i2.num? rgInteger,
  _i2.num? r8,
  _i2.num? rg8,
  _i2.num? r16f,
  _i2.num? r32f,
  _i2.num? rg16f,
  _i2.num? rg32f,
  _i2.num? r8i,
  _i2.num? r8ui,
  _i2.num? r16i,
  _i2.num? r16ui,
  _i2.num? r32i,
  _i2.num? r32ui,
  _i2.num? rg8i,
  _i2.num? rg8ui,
  _i2.num? rg16i,
  _i2.num? rg16ui,
  _i2.num? rg32i,
  _i2.num? rg32ui,
  _i2.num? vertexArrayBinding,
  _i2.num? r8Snorm,
  _i2.num? rg8Snorm,
  _i2.num? rgb8Snorm,
  _i2.num? rgba8Snorm,
  _i2.num? signedNormalized,
  _i2.num? copyReadBuffer,
  _i2.num? copyWriteBuffer,
  _i2.num? copyReadBufferBinding,
  _i2.num? copyWriteBufferBinding,
  _i2.num? uniformBuffer,
  _i2.num? uniformBufferBinding,
  _i2.num? uniformBufferStart,
  _i2.num? uniformBufferSize,
  _i2.num? maxVertexUniformBlocks,
  _i2.num? maxFragmentUniformBlocks,
  _i2.num? maxCombinedUniformBlocks,
  _i2.num? maxUniformBufferBindings,
  _i2.num? maxUniformBlockSize,
  _i2.num? maxCombinedVertexUniformComponents,
  _i2.num? maxCombinedFragmentUniformComponents,
  _i2.num? uniformBufferOffsetAlignment,
  _i2.num? activeUniformBlocks,
  _i2.num? uniformType,
  _i2.num? uniformSize,
  _i2.num? uniformBlockIndex,
  _i2.num? uniformOffset,
  _i2.num? uniformArrayStride,
  _i2.num? uniformMatrixStride,
  _i2.num? uniformIsRowMajor,
  _i2.num? uniformBlockBinding$,
  _i2.num? uniformBlockDataSize,
  _i2.num? uniformBlockActiveUniforms,
  _i2.num? uniformBlockActiveUniformIndices,
  _i2.num? uniformBlockReferencedByVertexShader,
  _i2.num? uniformBlockReferencedByFragmentShader,
  _i2.num? invalidIndex,
  _i2.num? maxVertexOutputComponents,
  _i2.num? maxFragmentInputComponents,
  _i2.num? maxServerWaitTimeout,
  _i2.num? objectType,
  _i2.num? syncCondition,
  _i2.num? syncStatus,
  _i2.num? syncFlags,
  _i2.num? syncFence,
  _i2.num? syncGpuCommandsComplete,
  _i2.num? unsignaled,
  _i2.num? signaled,
  _i2.num? alreadySignaled,
  _i2.num? timeoutExpired,
  _i2.num? conditionSatisfied,
  _i2.num? waitFailed,
  _i2.num? syncFlushCommandsBit,
  _i2.num? vertexAttribArrayDivisor,
  _i2.num? anySamplesPassed,
  _i2.num? anySamplesPassedConservative,
  _i2.num? samplerBinding,
  _i2.num? rgb10A2ui,
  _i2.num? int2101010Rev,
  _i2.num? transformFeedback,
  _i2.num? transformFeedbackPaused,
  _i2.num? transformFeedbackActive,
  _i2.num? transformFeedbackBinding,
  _i2.num? textureImmutableFormat,
  _i2.num? maxElementIndex,
  _i2.num? textureImmutableLevels,
  _i2.num? timeoutIgnored,
  _i2.num? maxClientWaitTimeoutWebgl,
  void Function(
    _i2.num,
    _i3.WebGLQuery,
  )? beginQuery,
  void Function(_i2.num)? beginTransformFeedback,
  void Function(
    _i2.num,
    _i2.num, [
    _i3.WebGLBuffer?,
  ])? bindBufferBase,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLBuffer?,
  ])? bindBufferRange,
  void Function(
    _i2.num, [
    _i3.WebGLSampler?,
  ])? bindSampler,
  void Function(
    _i2.num, [
    _i3.WebGLTransformFeedback?,
  ])? bindTransformFeedback,
  void Function([_i3.WebGLVertexArrayObject?])? bindVertexArray,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? blitFramebuffer,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? clearBufferfi,
  _i2.num Function(
    _i3.WebGLSync,
    _i2.num,
    _i2.num,
  )? clientWaitSync,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? copyBufferSubData,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? copyTexSubImage3D,
  _i3.WebGLQuery? Function()? createQuery,
  _i3.WebGLSampler? Function()? createSampler,
  _i3.WebGLTransformFeedback? Function()? createTransformFeedback,
  _i3.WebGLVertexArrayObject? Function()? createVertexArray,
  void Function([_i3.WebGLQuery?])? deleteQuery,
  void Function([_i3.WebGLSampler?])? deleteSampler,
  void Function([_i3.WebGLSync?])? deleteSync,
  void Function([_i3.WebGLTransformFeedback?])? deleteTransformFeedback,
  void Function([_i3.WebGLVertexArrayObject?])? deleteVertexArray,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? drawArraysInstanced,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? drawElementsInstanced,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? drawRangeElements,
  void Function(_i2.num)? endQuery,
  void Function()? endTransformFeedback,
  _i3.WebGLSync? Function(
    _i2.num,
    _i2.num,
  )? fenceSync,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLTexture?,
  ])? framebufferTextureLayer,
  _i2.String? Function(
    _i3.WebGLProgram,
    _i2.num,
  )? getActiveUniformBlockName,
  _i2.dynamic Function(
    _i3.WebGLProgram,
    _i2.num,
    _i2.num,
  )? getActiveUniformBlockParameter,
  void Function(
    _i2.num,
    _i2.num,
    _i9.ArrayBufferView, [
    _i2.num?,
    _i2.num?,
  ])? getBufferSubData,
  _i2.num Function(
    _i3.WebGLProgram,
    _i2.String,
  )? getFragDataLocation,
  _i2.dynamic Function(
    _i2.num,
    _i2.num,
  )? getIndexedParameter,
  _i2.dynamic Function(
    _i2.num,
    _i2.num,
    _i2.num,
  )? getInternalformatParameter,
  _i3.WebGLQuery? Function(
    _i2.num,
    _i2.num,
  )? getQuery,
  _i2.dynamic Function(
    _i3.WebGLQuery,
    _i2.num,
  )? getQueryParameter,
  _i2.dynamic Function(
    _i3.WebGLSampler,
    _i2.num,
  )? getSamplerParameter,
  _i2.dynamic Function(
    _i3.WebGLSync,
    _i2.num,
  )? getSyncParameter,
  _i3.WebGLActiveInfo? Function(
    _i3.WebGLProgram,
    _i2.num,
  )? getTransformFeedbackVarying,
  _i2.num Function(
    _i3.WebGLProgram,
    _i2.String,
  )? getUniformBlockIndex,
  _i2.bool Function([_i3.WebGLQuery?])? isQuery,
  _i2.bool Function([_i3.WebGLSampler?])? isSampler,
  _i2.bool Function([_i3.WebGLSync?])? isSync,
  _i2.bool Function([_i3.WebGLTransformFeedback?])? isTransformFeedback,
  _i2.bool Function([_i3.WebGLVertexArrayObject?])? isVertexArray,
  void Function()? pauseTransformFeedback,
  void Function(_i2.num)? readBuffer,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? renderbufferStorageMultisample,
  void Function()? resumeTransformFeedback,
  void Function(
    _i3.WebGLSampler,
    _i2.num,
    _i2.num,
  )? samplerParameterf,
  void Function(
    _i3.WebGLSampler,
    _i2.num,
    _i2.num,
  )? samplerParameteri,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? texStorage2D,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? texStorage3D,
  void Function(
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform1ui,
  void Function(
    _i2.num,
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform2ui,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform3ui,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform4ui,
  void Function(
    _i3.WebGLProgram,
    _i2.num,
    _i2.num,
  )? uniformBlockBinding,
  void Function(
    _i2.num,
    _i2.num,
  )? vertexAttribDivisor,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? vertexAttribI4i,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? vertexAttribI4ui,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? vertexAttribIPointer,
  void Function(
    _i3.WebGLSync,
    _i2.num,
    _i2.num,
  )? waitSync,
}) =>
    WebGL2RenderingContextBase._(
      readBuffer$: readBuffer$,
      unpackRowLength: unpackRowLength,
      unpackSkipRows: unpackSkipRows,
      unpackSkipPixels: unpackSkipPixels,
      packRowLength: packRowLength,
      packSkipRows: packSkipRows,
      packSkipPixels: packSkipPixels,
      color: color,
      depth: depth,
      stencil: stencil,
      red: red,
      rgb8: rgb8,
      rgba8: rgba8,
      rgb10A2: rgb10A2,
      textureBinding3d: textureBinding3d,
      unpackSkipImages: unpackSkipImages,
      unpackImageHeight: unpackImageHeight,
      texture3d: texture3d,
      textureWrapR: textureWrapR,
      max3dTextureSize: max3dTextureSize,
      unsignedInt2101010Rev: unsignedInt2101010Rev,
      maxElementsVertices: maxElementsVertices,
      maxElementsIndices: maxElementsIndices,
      textureMinLod: textureMinLod,
      textureMaxLod: textureMaxLod,
      textureBaseLevel: textureBaseLevel,
      textureMaxLevel: textureMaxLevel,
      min: min,
      max: max,
      depthComponent24: depthComponent24,
      maxTextureLodBias: maxTextureLodBias,
      textureCompareMode: textureCompareMode,
      textureCompareFunc: textureCompareFunc,
      currentQuery: currentQuery,
      queryResult: queryResult,
      queryResultAvailable: queryResultAvailable,
      streamRead: streamRead,
      streamCopy: streamCopy,
      staticRead: staticRead,
      staticCopy: staticCopy,
      dynamicRead: dynamicRead,
      dynamicCopy: dynamicCopy,
      maxDrawBuffers: maxDrawBuffers,
      drawBuffer0: drawBuffer0,
      drawBuffer1: drawBuffer1,
      drawBuffer2: drawBuffer2,
      drawBuffer3: drawBuffer3,
      drawBuffer4: drawBuffer4,
      drawBuffer5: drawBuffer5,
      drawBuffer6: drawBuffer6,
      drawBuffer7: drawBuffer7,
      drawBuffer8: drawBuffer8,
      drawBuffer9: drawBuffer9,
      drawBuffer10: drawBuffer10,
      drawBuffer11: drawBuffer11,
      drawBuffer12: drawBuffer12,
      drawBuffer13: drawBuffer13,
      drawBuffer14: drawBuffer14,
      drawBuffer15: drawBuffer15,
      maxFragmentUniformComponents: maxFragmentUniformComponents,
      maxVertexUniformComponents: maxVertexUniformComponents,
      sampler3d: sampler3d,
      sampler2dShadow: sampler2dShadow,
      fragmentShaderDerivativeHint: fragmentShaderDerivativeHint,
      pixelPackBuffer: pixelPackBuffer,
      pixelUnpackBuffer: pixelUnpackBuffer,
      pixelPackBufferBinding: pixelPackBufferBinding,
      pixelUnpackBufferBinding: pixelUnpackBufferBinding,
      floatmaT2x3: floatmaT2x3,
      floatmaT2x4: floatmaT2x4,
      floatmaT3x2: floatmaT3x2,
      floatmaT3x4: floatmaT3x4,
      floatmaT4x2: floatmaT4x2,
      floatmaT4x3: floatmaT4x3,
      srgb: srgb,
      srgb8: srgb8,
      srgb8Alpha8: srgb8Alpha8,
      compareRefToTexture: compareRefToTexture,
      rgba32f: rgba32f,
      rgb32f: rgb32f,
      rgba16f: rgba16f,
      rgb16f: rgb16f,
      vertexAttribArrayInteger: vertexAttribArrayInteger,
      maxArrayTextureLayers: maxArrayTextureLayers,
      minProgramTexelOffset: minProgramTexelOffset,
      maxProgramTexelOffset: maxProgramTexelOffset,
      maxVaryingComponents: maxVaryingComponents,
      texture2dArray: texture2dArray,
      textureBinding2dArray: textureBinding2dArray,
      r11fG11fB10f: r11fG11fB10f,
      unsignedInt10f11f11fRev: unsignedInt10f11f11fRev,
      rgb9E5: rgb9E5,
      unsignedInt5999Rev: unsignedInt5999Rev,
      transformFeedbackBufferMode: transformFeedbackBufferMode,
      maxTransformFeedbackSeparateComponents:
          maxTransformFeedbackSeparateComponents,
      transformFeedbackVaryings$: transformFeedbackVaryings$,
      transformFeedbackBufferStart: transformFeedbackBufferStart,
      transformFeedbackBufferSize: transformFeedbackBufferSize,
      transformFeedbackPrimitivesWritten: transformFeedbackPrimitivesWritten,
      rasterizerDiscard: rasterizerDiscard,
      maxTransformFeedbackInterleavedComponents:
          maxTransformFeedbackInterleavedComponents,
      maxTransformFeedbackSeparateAttribs:
          maxTransformFeedbackSeparateAttribs,
      interleavedAttribs: interleavedAttribs,
      separateAttribs: separateAttribs,
      transformFeedbackBuffer: transformFeedbackBuffer,
      transformFeedbackBufferBinding: transformFeedbackBufferBinding,
      rgba32ui: rgba32ui,
      rgb32ui: rgb32ui,
      rgba16ui: rgba16ui,
      rgb16ui: rgb16ui,
      rgba8ui: rgba8ui,
      rgb8ui: rgb8ui,
      rgba32i: rgba32i,
      rgb32i: rgb32i,
      rgba16i: rgba16i,
      rgb16i: rgb16i,
      rgba8i: rgba8i,
      rgb8i: rgb8i,
      redInteger: redInteger,
      rgbInteger: rgbInteger,
      rgbaInteger: rgbaInteger,
      sampler2dArray: sampler2dArray,
      sampler2dArrayShadow: sampler2dArrayShadow,
      samplerCubeShadow: samplerCubeShadow,
      unsignedIntVec2: unsignedIntVec2,
      unsignedIntVec3: unsignedIntVec3,
      unsignedIntVec4: unsignedIntVec4,
      intSampler2d: intSampler2d,
      intSampler3d: intSampler3d,
      intSamplerCube: intSamplerCube,
      intSampler2dArray: intSampler2dArray,
      unsignedIntSampler2d: unsignedIntSampler2d,
      unsignedIntSampler3d: unsignedIntSampler3d,
      unsignedIntSamplerCube: unsignedIntSamplerCube,
      unsignedIntSampler2dArray: unsignedIntSampler2dArray,
      depthComponent32f: depthComponent32f,
      depth32fStencil8: depth32fStencil8,
      float32UnsignedInt248Rev: float32UnsignedInt248Rev,
      framebufferAttachmentColorEncoding: framebufferAttachmentColorEncoding,
      framebufferAttachmentComponentType: framebufferAttachmentComponentType,
      framebufferAttachmentRedSize: framebufferAttachmentRedSize,
      framebufferAttachmentGreenSize: framebufferAttachmentGreenSize,
      framebufferAttachmentBlueSize: framebufferAttachmentBlueSize,
      framebufferAttachmentAlphaSize: framebufferAttachmentAlphaSize,
      framebufferAttachmentDepthSize: framebufferAttachmentDepthSize,
      framebufferAttachmentStencilSize: framebufferAttachmentStencilSize,
      framebufferDefault: framebufferDefault,
      unsignedInt248: unsignedInt248,
      depth24Stencil8: depth24Stencil8,
      unsignedNormalized: unsignedNormalized,
      drawFramebufferBinding: drawFramebufferBinding,
      readFramebuffer: readFramebuffer,
      drawFramebuffer: drawFramebuffer,
      readFramebufferBinding: readFramebufferBinding,
      renderbufferSamples: renderbufferSamples,
      framebufferAttachmentTextureLayer: framebufferAttachmentTextureLayer,
      maxColorAttachments: maxColorAttachments,
      colorAttachment1: colorAttachment1,
      colorAttachment2: colorAttachment2,
      colorAttachment3: colorAttachment3,
      colorAttachment4: colorAttachment4,
      colorAttachment5: colorAttachment5,
      colorAttachment6: colorAttachment6,
      colorAttachment7: colorAttachment7,
      colorAttachment8: colorAttachment8,
      colorAttachment9: colorAttachment9,
      colorAttachment10: colorAttachment10,
      colorAttachment11: colorAttachment11,
      colorAttachment12: colorAttachment12,
      colorAttachment13: colorAttachment13,
      colorAttachment14: colorAttachment14,
      colorAttachment15: colorAttachment15,
      framebufferIncompleteMultisample: framebufferIncompleteMultisample,
      maxSamples: maxSamples,
      halfFloat: halfFloat,
      rg: rg,
      rgInteger: rgInteger,
      r8: r8,
      rg8: rg8,
      r16f: r16f,
      r32f: r32f,
      rg16f: rg16f,
      rg32f: rg32f,
      r8i: r8i,
      r8ui: r8ui,
      r16i: r16i,
      r16ui: r16ui,
      r32i: r32i,
      r32ui: r32ui,
      rg8i: rg8i,
      rg8ui: rg8ui,
      rg16i: rg16i,
      rg16ui: rg16ui,
      rg32i: rg32i,
      rg32ui: rg32ui,
      vertexArrayBinding: vertexArrayBinding,
      r8Snorm: r8Snorm,
      rg8Snorm: rg8Snorm,
      rgb8Snorm: rgb8Snorm,
      rgba8Snorm: rgba8Snorm,
      signedNormalized: signedNormalized,
      copyReadBuffer: copyReadBuffer,
      copyWriteBuffer: copyWriteBuffer,
      copyReadBufferBinding: copyReadBufferBinding,
      copyWriteBufferBinding: copyWriteBufferBinding,
      uniformBuffer: uniformBuffer,
      uniformBufferBinding: uniformBufferBinding,
      uniformBufferStart: uniformBufferStart,
      uniformBufferSize: uniformBufferSize,
      maxVertexUniformBlocks: maxVertexUniformBlocks,
      maxFragmentUniformBlocks: maxFragmentUniformBlocks,
      maxCombinedUniformBlocks: maxCombinedUniformBlocks,
      maxUniformBufferBindings: maxUniformBufferBindings,
      maxUniformBlockSize: maxUniformBlockSize,
      maxCombinedVertexUniformComponents: maxCombinedVertexUniformComponents,
      maxCombinedFragmentUniformComponents:
          maxCombinedFragmentUniformComponents,
      uniformBufferOffsetAlignment: uniformBufferOffsetAlignment,
      activeUniformBlocks: activeUniformBlocks,
      uniformType: uniformType,
      uniformSize: uniformSize,
      uniformBlockIndex: uniformBlockIndex,
      uniformOffset: uniformOffset,
      uniformArrayStride: uniformArrayStride,
      uniformMatrixStride: uniformMatrixStride,
      uniformIsRowMajor: uniformIsRowMajor,
      uniformBlockBinding$: uniformBlockBinding$,
      uniformBlockDataSize: uniformBlockDataSize,
      uniformBlockActiveUniforms: uniformBlockActiveUniforms,
      uniformBlockActiveUniformIndices: uniformBlockActiveUniformIndices,
      uniformBlockReferencedByVertexShader:
          uniformBlockReferencedByVertexShader,
      uniformBlockReferencedByFragmentShader:
          uniformBlockReferencedByFragmentShader,
      invalidIndex: invalidIndex,
      maxVertexOutputComponents: maxVertexOutputComponents,
      maxFragmentInputComponents: maxFragmentInputComponents,
      maxServerWaitTimeout: maxServerWaitTimeout,
      objectType: objectType,
      syncCondition: syncCondition,
      syncStatus: syncStatus,
      syncFlags: syncFlags,
      syncFence: syncFence,
      syncGpuCommandsComplete: syncGpuCommandsComplete,
      unsignaled: unsignaled,
      signaled: signaled,
      alreadySignaled: alreadySignaled,
      timeoutExpired: timeoutExpired,
      conditionSatisfied: conditionSatisfied,
      waitFailed: waitFailed,
      syncFlushCommandsBit: syncFlushCommandsBit,
      vertexAttribArrayDivisor: vertexAttribArrayDivisor,
      anySamplesPassed: anySamplesPassed,
      anySamplesPassedConservative: anySamplesPassedConservative,
      samplerBinding: samplerBinding,
      rgb10A2ui: rgb10A2ui,
      int2101010Rev: int2101010Rev,
      transformFeedback: transformFeedback,
      transformFeedbackPaused: transformFeedbackPaused,
      transformFeedbackActive: transformFeedbackActive,
      transformFeedbackBinding: transformFeedbackBinding,
      textureImmutableFormat: textureImmutableFormat,
      maxElementIndex: maxElementIndex,
      textureImmutableLevels: textureImmutableLevels,
      timeoutIgnored: timeoutIgnored,
      maxClientWaitTimeoutWebgl: maxClientWaitTimeoutWebgl,
      beginQuery: beginQuery == null ? null : _i4.allowInterop(beginQuery),
      beginTransformFeedback: beginTransformFeedback == null
          ? null
          : _i4.allowInterop(beginTransformFeedback),
      bindBufferBase:
          bindBufferBase == null ? null : _i4.allowInterop(bindBufferBase),
      bindBufferRange:
          bindBufferRange == null ? null : _i4.allowInterop(bindBufferRange),
      bindSampler: bindSampler == null ? null : _i4.allowInterop(bindSampler),
      bindTransformFeedback: bindTransformFeedback == null
          ? null
          : _i4.allowInterop(bindTransformFeedback),
      bindVertexArray:
          bindVertexArray == null ? null : _i4.allowInterop(bindVertexArray),
      blitFramebuffer:
          blitFramebuffer == null ? null : _i4.allowInterop(blitFramebuffer),
      clearBufferfi:
          clearBufferfi == null ? null : _i4.allowInterop(clearBufferfi),
      clientWaitSync:
          clientWaitSync == null ? null : _i4.allowInterop(clientWaitSync),
      copyBufferSubData: copyBufferSubData == null
          ? null
          : _i4.allowInterop(copyBufferSubData),
      copyTexSubImage3D: copyTexSubImage3D == null
          ? null
          : _i4.allowInterop(copyTexSubImage3D),
      createQuery: createQuery == null
          ? null
          : _i4.allowInterop(() => () => createQuery() ?? _i6.undefined),
      createSampler: createSampler == null
          ? null
          : _i4.allowInterop(() => () => createSampler() ?? _i6.undefined),
      createTransformFeedback: createTransformFeedback == null
          ? null
          : _i4.allowInterop(
              () => () => createTransformFeedback() ?? _i6.undefined),
      createVertexArray: createVertexArray == null
          ? null
          : _i4
              .allowInterop(() => () => createVertexArray() ?? _i6.undefined),
      deleteQuery: deleteQuery == null ? null : _i4.allowInterop(deleteQuery),
      deleteSampler:
          deleteSampler == null ? null : _i4.allowInterop(deleteSampler),
      deleteSync: deleteSync == null ? null : _i4.allowInterop(deleteSync),
      deleteTransformFeedback: deleteTransformFeedback == null
          ? null
          : _i4.allowInterop(deleteTransformFeedback),
      deleteVertexArray: deleteVertexArray == null
          ? null
          : _i4.allowInterop(deleteVertexArray),
      drawArraysInstanced: drawArraysInstanced == null
          ? null
          : _i4.allowInterop(drawArraysInstanced),
      drawElementsInstanced: drawElementsInstanced == null
          ? null
          : _i4.allowInterop(drawElementsInstanced),
      drawRangeElements: drawRangeElements == null
          ? null
          : _i4.allowInterop(drawRangeElements),
      endQuery: endQuery == null ? null : _i4.allowInterop(endQuery),
      endTransformFeedback: endTransformFeedback == null
          ? null
          : _i4.allowInterop(endTransformFeedback),
      fenceSync: fenceSync == null
          ? null
          : _i4.allowInterop((
              p0,
              p1,
            ) =>
              () =>
                  fenceSync(
                    p0,
                    p1,
                  ) ??
                  _i6.undefined),
      framebufferTextureLayer: framebufferTextureLayer == null
          ? null
          : _i4.allowInterop(framebufferTextureLayer),
      getActiveUniformBlockName: getActiveUniformBlockName == null
          ? null
          : _i4.allowInterop((
              p0,
              p1,
            ) =>
              () =>
                  getActiveUniformBlockName(
                    p0,
                    p1,
                  ) ??
                  _i6.undefined),
      getActiveUniformBlockParameter: getActiveUniformBlockParameter == null
          ? null
          : _i4.allowInterop(getActiveUniformBlockParameter),
      getBufferSubData: getBufferSubData == null
          ? null
          : _i4.allowInterop(getBufferSubData),
      getFragDataLocation: getFragDataLocation == null
          ? null
          : _i4.allowInterop(getFragDataLocation),
      getIndexedParameter: getIndexedParameter == null
          ? null
          : _i4.allowInterop(getIndexedParameter),
      getInternalformatParameter: getInternalformatParameter == null
          ? null
          : _i4.allowInterop(getInternalformatParameter),
      getQuery: getQuery == null
          ? null
          : _i4.allowInterop((
              p0,
              p1,
            ) =>
              () =>
                  getQuery(
                    p0,
                    p1,
                  ) ??
                  _i6.undefined),
      getQueryParameter: getQueryParameter == null
          ? null
          : _i4.allowInterop(getQueryParameter),
      getSamplerParameter: getSamplerParameter == null
          ? null
          : _i4.allowInterop(getSamplerParameter),
      getSyncParameter: getSyncParameter == null
          ? null
          : _i4.allowInterop(getSyncParameter),
      getTransformFeedbackVarying: getTransformFeedbackVarying == null
          ? null
          : _i4.allowInterop((
              p0,
              p1,
            ) =>
              () =>
                  getTransformFeedbackVarying(
                    p0,
                    p1,
                  ) ??
                  _i6.undefined),
      getUniformBlockIndex: getUniformBlockIndex == null
          ? null
          : _i4.allowInterop(getUniformBlockIndex),
      isQuery: isQuery == null ? null : _i4.allowInterop(isQuery),
      isSampler: isSampler == null ? null : _i4.allowInterop(isSampler),
      isSync: isSync == null ? null : _i4.allowInterop(isSync),
      isTransformFeedback: isTransformFeedback == null
          ? null
          : _i4.allowInterop(isTransformFeedback),
      isVertexArray:
          isVertexArray == null ? null : _i4.allowInterop(isVertexArray),
      pauseTransformFeedback: pauseTransformFeedback == null
          ? null
          : _i4.allowInterop(pauseTransformFeedback),
      readBuffer: readBuffer == null ? null : _i4.allowInterop(readBuffer),
      renderbufferStorageMultisample: renderbufferStorageMultisample == null
          ? null
          : _i4.allowInterop(renderbufferStorageMultisample),
      resumeTransformFeedback: resumeTransformFeedback == null
          ? null
          : _i4.allowInterop(resumeTransformFeedback),
      samplerParameterf: samplerParameterf == null
          ? null
          : _i4.allowInterop(samplerParameterf),
      samplerParameteri: samplerParameteri == null
          ? null
          : _i4.allowInterop(samplerParameteri),
      texStorage2D:
          texStorage2D == null ? null : _i4.allowInterop(texStorage2D),
      texStorage3D:
          texStorage3D == null ? null : _i4.allowInterop(texStorage3D),
      uniform1ui: uniform1ui == null ? null : _i4.allowInterop(uniform1ui),
      uniform2ui: uniform2ui == null ? null : _i4.allowInterop(uniform2ui),
      uniform3ui: uniform3ui == null ? null : _i4.allowInterop(uniform3ui),
      uniform4ui: uniform4ui == null ? null : _i4.allowInterop(uniform4ui),
      uniformBlockBinding: uniformBlockBinding == null
          ? null
          : _i4.allowInterop(uniformBlockBinding),
      vertexAttribDivisor: vertexAttribDivisor == null
          ? null
          : _i4.allowInterop(vertexAttribDivisor),
      vertexAttribI4i:
          vertexAttribI4i == null ? null : _i4.allowInterop(vertexAttribI4i),
      vertexAttribI4ui: vertexAttribI4ui == null
          ? null
          : _i4.allowInterop(vertexAttribI4ui),
      vertexAttribIPointer: vertexAttribIPointer == null
          ? null
          : _i4.allowInterop(vertexAttribIPointer),
      waitSync: waitSync == null ? null : _i4.allowInterop(waitSync),
    );