WebGLRenderingContextBase constructor

WebGLRenderingContextBase({
  1. EventTarget? canvas,
  2. PredefinedColorSpace? drawingBufferColorSpace,
  3. num? drawingBufferHeight,
  4. num? drawingBufferWidth,
  5. num? depthBufferBit,
  6. num? stencilBufferBit,
  7. num? colorBufferBit,
  8. num? points,
  9. num? lines,
  10. num? lineLoop,
  11. num? lineStrip,
  12. num? triangles,
  13. num? triangleStrip,
  14. num? triangleFan,
  15. num? zero,
  16. num? one,
  17. num? srcColor,
  18. num? oneMinusSrcColor,
  19. num? srcAlpha,
  20. num? oneMinusSrcAlpha,
  21. num? dstAlpha,
  22. num? oneMinusDstAlpha,
  23. num? dstColor,
  24. num? oneMinusDstColor,
  25. num? srcAlphaSaturate,
  26. num? funcAdd,
  27. num? blendEquation$,
  28. num? blendEquationRgb,
  29. num? blendEquationAlpha,
  30. num? funcSubtract,
  31. num? funcReverseSubtract,
  32. num? blendDstRgb,
  33. num? blendSrcRgb,
  34. num? blendDstAlpha,
  35. num? blendSrcAlpha,
  36. num? constantColor,
  37. num? oneMinusConstantColor,
  38. num? constantAlpha,
  39. num? oneMinusConstantAlpha,
  40. num? blendColor$,
  41. num? arrayBuffer,
  42. num? elementArrayBuffer,
  43. num? arrayBufferBinding,
  44. num? elementArrayBufferBinding,
  45. num? streamDraw,
  46. num? staticDraw,
  47. num? dynamicDraw,
  48. num? bufferSize,
  49. num? bufferUsage,
  50. num? currentVertexAttrib,
  51. num? front,
  52. num? back,
  53. num? frontAndBack,
  54. num? cullFace$,
  55. num? blend,
  56. num? dither,
  57. num? stencilTest,
  58. num? depthTest,
  59. num? scissorTest,
  60. num? polygonOffsetFill,
  61. num? sampleAlphaToCoverage,
  62. num? sampleCoverage$,
  63. num? noError,
  64. num? invalidEnum,
  65. num? invalidValue,
  66. num? invalidOperation,
  67. num? outOfMemory,
  68. num? cw,
  69. num? ccw,
  70. num? lineWidth$,
  71. num? aliasedPointSizeRange,
  72. num? aliasedLineWidthRange,
  73. num? cullFaceMode,
  74. num? frontFace$,
  75. num? depthRange$,
  76. num? depthWritemask,
  77. num? depthClearValue,
  78. num? depthFunc$,
  79. num? stencilClearValue,
  80. num? stencilFunc$,
  81. num? stencilFail,
  82. num? stencilPassDepthFail,
  83. num? stencilPassDepthPass,
  84. num? stencilRef,
  85. num? stencilValueMask,
  86. num? stencilWritemask,
  87. num? stencilBackFunc,
  88. num? stencilBackFail,
  89. num? stencilBackPassDepthFail,
  90. num? stencilBackPassDepthPass,
  91. num? stencilBackRef,
  92. num? stencilBackValueMask,
  93. num? stencilBackWritemask,
  94. num? viewport$,
  95. num? scissorBox,
  96. num? colorClearValue,
  97. num? colorWritemask,
  98. num? unpackAlignment,
  99. num? packAlignment,
  100. num? maxTextureSize,
  101. num? maxViewportDims,
  102. num? subpixelBits,
  103. num? redBits,
  104. num? greenBits,
  105. num? blueBits,
  106. num? alphaBits,
  107. num? depthBits,
  108. num? stencilBits,
  109. num? polygonOffsetUnits,
  110. num? polygonOffsetFactor,
  111. num? textureBinding2d,
  112. num? sampleBuffers,
  113. num? samples,
  114. num? sampleCoverageValue,
  115. num? sampleCoverageInvert,
  116. num? compressedTextureFormats,
  117. num? dontCare,
  118. num? fastest,
  119. num? nicest,
  120. num? generateMipmapHint,
  121. num? byte,
  122. num? unsignedByte,
  123. num? short,
  124. num? unsignedShort,
  125. num? int$,
  126. num? unsignedInt,
  127. num? float,
  128. num? depthComponent,
  129. num? alpha,
  130. num? rgb,
  131. num? rgba,
  132. num? luminance,
  133. num? luminanceAlpha,
  134. num? unsignedShort4444,
  135. num? unsignedShort5551,
  136. num? unsignedShort565,
  137. num? fragmentShader,
  138. num? vertexShader,
  139. num? maxVertexAttribs,
  140. num? maxVertexUniformVectors,
  141. num? maxVaryingVectors,
  142. num? maxCombinedTextureImageUnits,
  143. num? maxVertexTextureImageUnits,
  144. num? maxTextureImageUnits,
  145. num? maxFragmentUniformVectors,
  146. num? shaderType,
  147. num? deleteStatus,
  148. num? linkStatus,
  149. num? validateStatus,
  150. num? attachedShaders,
  151. num? activeUniforms,
  152. num? activeAttributes,
  153. num? shadingLanguageVersion,
  154. num? currentProgram,
  155. num? never,
  156. num? less,
  157. num? equal,
  158. num? lequal,
  159. num? greater,
  160. num? notequal,
  161. num? gequal,
  162. num? always,
  163. num? keep,
  164. num? replace,
  165. num? incr,
  166. num? decr,
  167. num? invert,
  168. num? incrWrap,
  169. num? decrWrap,
  170. num? vendor,
  171. num? renderer,
  172. num? version,
  173. num? nearest,
  174. num? linear,
  175. num? nearestMipmapNearest,
  176. num? linearMipmapNearest,
  177. num? nearestMipmapLinear,
  178. num? linearMipmapLinear,
  179. num? textureMagFilter,
  180. num? textureMinFilter,
  181. num? textureWrapS,
  182. num? textureWrapT,
  183. num? texture2d,
  184. num? texture,
  185. num? textureCubeMap,
  186. num? textureBindingCubeMap,
  187. num? textureCubeMapPositiveX,
  188. num? textureCubeMapNegativeX,
  189. num? textureCubeMapPositiveY,
  190. num? textureCubeMapNegativeY,
  191. num? textureCubeMapPositiveZ,
  192. num? textureCubeMapNegativeZ,
  193. num? maxCubeMapTextureSize,
  194. num? texture0,
  195. num? texture1,
  196. num? texture2,
  197. num? texture3,
  198. num? texture4,
  199. num? texture5,
  200. num? texture6,
  201. num? texture7,
  202. num? texture8,
  203. num? texture9,
  204. num? texture10,
  205. num? texture11,
  206. num? texture12,
  207. num? texture13,
  208. num? texture14,
  209. num? texture15,
  210. num? texture16,
  211. num? texture17,
  212. num? texture18,
  213. num? texture19,
  214. num? texture20,
  215. num? texture21,
  216. num? texture22,
  217. num? texture23,
  218. num? texture24,
  219. num? texture25,
  220. num? texture26,
  221. num? texture27,
  222. num? texture28,
  223. num? texture29,
  224. num? texture30,
  225. num? texture31,
  226. num? activeTexture$,
  227. num? repeat,
  228. num? clampToEdge,
  229. num? mirroredRepeat,
  230. num? floatVec2,
  231. num? floatVec3,
  232. num? floatVec4,
  233. num? intVec2,
  234. num? intVec3,
  235. num? intVec4,
  236. num? bool$,
  237. num? boolVec2,
  238. num? boolVec3,
  239. num? boolVec4,
  240. num? floatMat2,
  241. num? floatMat3,
  242. num? floatMat4,
  243. num? sampler2d,
  244. num? samplerCube,
  245. num? vertexAttribArrayEnabled,
  246. num? vertexAttribArraySize,
  247. num? vertexAttribArrayStride,
  248. num? vertexAttribArrayType,
  249. num? vertexAttribArrayNormalized,
  250. num? vertexAttribArrayPointer,
  251. num? vertexAttribArrayBufferBinding,
  252. num? implementationColorReadType,
  253. num? implementationColorReadFormat,
  254. num? compileStatus,
  255. num? lowFloat,
  256. num? mediumFloat,
  257. num? highFloat,
  258. num? lowInt,
  259. num? mediumInt,
  260. num? highInt,
  261. num? framebuffer,
  262. num? renderbuffer,
  263. num? rgba4,
  264. num? rgb5A1,
  265. num? rgb565,
  266. num? depthComponent16,
  267. num? stencilIndex8,
  268. num? depthStencil,
  269. num? renderbufferWidth,
  270. num? renderbufferHeight,
  271. num? renderbufferInternalFormat,
  272. num? renderbufferRedSize,
  273. num? renderbufferGreenSize,
  274. num? renderbufferBlueSize,
  275. num? renderbufferAlphaSize,
  276. num? renderbufferDepthSize,
  277. num? renderbufferStencilSize,
  278. num? framebufferAttachmentObjectType,
  279. num? framebufferAttachmentObjectName,
  280. num? framebufferAttachmentTextureLevel,
  281. num? framebufferAttachmentTextureCubeMapFace,
  282. num? colorAttachment0,
  283. num? depthAttachment,
  284. num? stencilAttachment,
  285. num? depthStencilAttachment,
  286. num? none,
  287. num? framebufferComplete,
  288. num? framebufferIncompleteAttachment,
  289. num? framebufferIncompleteMissingAttachment,
  290. num? framebufferIncompleteDimensions,
  291. num? framebufferUnsupported,
  292. num? framebufferBinding,
  293. num? renderbufferBinding,
  294. num? maxRenderbufferSize,
  295. num? invalidFramebufferOperation,
  296. num? unpackFlipYWebgl,
  297. num? unpackPremultiplyAlphaWebgl,
  298. num? contextLostWebgl,
  299. num? unpackColorspaceConversionWebgl,
  300. num? browserDefaultWebgl,
  301. void activeTexture(
    1. num
    )?,
  302. void attachShader(
    1. WebGLProgram,
    2. WebGLShader
    )?,
  303. void bindAttribLocation(
    1. WebGLProgram,
    2. num,
    3. String
    )?,
  304. void bindBuffer(
    1. num, [
    2. WebGLBuffer?
    ])?,
  305. void bindFramebuffer(
    1. num, [
    2. WebGLFramebuffer?
    ])?,
  306. void bindRenderbuffer(
    1. num, [
    2. WebGLRenderbuffer?
    ])?,
  307. void bindTexture(
    1. num, [
    2. WebGLTexture?
    ])?,
  308. void blendColor(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  309. void blendEquation(
    1. num
    )?,
  310. void blendEquationSeparate(
    1. num,
    2. num
    )?,
  311. void blendFunc(
    1. num,
    2. num
    )?,
  312. void blendFuncSeparate(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  313. num checkFramebufferStatus(
    1. num
    )?,
  314. void clear(
    1. num
    )?,
  315. void clearColor(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  316. void clearDepth(
    1. num
    )?,
  317. void clearStencil(
    1. num
    )?,
  318. void colorMask(
    1. bool,
    2. bool,
    3. bool,
    4. bool,
    )?,
  319. void compileShader(
    1. WebGLShader
    )?,
  320. void copyTexImage2D(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    6. num,
    7. num,
    8. num,
    )?,
  321. void copyTexSubImage2D(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    6. num,
    7. num,
    8. num,
    )?,
  322. WebGLBuffer? createBuffer()?,
  323. WebGLFramebuffer? createFramebuffer()?,
  324. WebGLProgram? createProgram()?,
  325. WebGLRenderbuffer? createRenderbuffer()?,
  326. WebGLShader? createShader(
    1. num
    )?,
  327. WebGLTexture? createTexture()?,
  328. void cullFace(
    1. num
    )?,
  329. void deleteBuffer([
    1. WebGLBuffer?
    ])?,
  330. void deleteFramebuffer([
    1. WebGLFramebuffer?
    ])?,
  331. void deleteProgram([
    1. WebGLProgram?
    ])?,
  332. void deleteRenderbuffer([
    1. WebGLRenderbuffer?
    ])?,
  333. void deleteShader([
    1. WebGLShader?
    ])?,
  334. void deleteTexture([
    1. WebGLTexture?
    ])?,
  335. void depthFunc(
    1. num
    )?,
  336. void depthMask(
    1. bool
    )?,
  337. void depthRange(
    1. num,
    2. num
    )?,
  338. void detachShader(
    1. WebGLProgram,
    2. WebGLShader
    )?,
  339. void disable(
    1. num
    )?,
  340. void disableVertexAttribArray(
    1. num
    )?,
  341. void drawArrays(
    1. num,
    2. num,
    3. num
    )?,
  342. void drawElements(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  343. void enable(
    1. num
    )?,
  344. void enableVertexAttribArray(
    1. num
    )?,
  345. void finish()?,
  346. void flush()?,
  347. void framebufferRenderbuffer(
    1. num,
    2. num,
    3. num, [
    4. WebGLRenderbuffer?,
    ])?,
  348. void framebufferTexture2D(
    1. num,
    2. num,
    3. num,
    4. num, [
    5. WebGLTexture?,
    ])?,
  349. void frontFace(
    1. num
    )?,
  350. void generateMipmap(
    1. num
    )?,
  351. WebGLActiveInfo? getActiveAttrib(
    1. WebGLProgram,
    2. num
    )?,
  352. WebGLActiveInfo? getActiveUniform(
    1. WebGLProgram,
    2. num
    )?,
  353. List<WebGLShader>? getAttachedShaders(
    1. WebGLProgram
    )?,
  354. num getAttribLocation(
    1. WebGLProgram,
    2. String
    )?,
  355. dynamic getBufferParameter(
    1. num,
    2. num
    )?,
  356. WebGLContextAttributes? getContextAttributes()?,
  357. num getError()?,
  358. dynamic getFramebufferAttachmentParameter(
    1. num,
    2. num,
    3. num
    )?,
  359. dynamic getParameter(
    1. num
    )?,
  360. String? getProgramInfoLog(
    1. WebGLProgram
    )?,
  361. dynamic getProgramParameter(
    1. WebGLProgram,
    2. num
    )?,
  362. dynamic getRenderbufferParameter(
    1. num,
    2. num
    )?,
  363. String? getShaderInfoLog(
    1. WebGLShader
    )?,
  364. dynamic getShaderParameter(
    1. WebGLShader,
    2. num
    )?,
  365. WebGLShaderPrecisionFormat? getShaderPrecisionFormat(
    1. num,
    2. num
    )?,
  366. String? getShaderSource(
    1. WebGLShader
    )?,
  367. List<String>? getSupportedExtensions()?,
  368. dynamic getTexParameter(
    1. num,
    2. num
    )?,
  369. dynamic getUniform(
    1. WebGLProgram,
    2. WebGLUniformLocation
    )?,
  370. WebGLUniformLocation? getUniformLocation(
    1. WebGLProgram,
    2. String
    )?,
  371. dynamic getVertexAttrib(
    1. num,
    2. num
    )?,
  372. num getVertexAttribOffset(
    1. num,
    2. num
    )?,
  373. void hint(
    1. num,
    2. num
    )?,
  374. bool isBuffer([
    1. WebGLBuffer?
    ])?,
  375. bool isContextLost()?,
  376. bool isEnabled(
    1. num
    )?,
  377. bool isFramebuffer([
    1. WebGLFramebuffer?
    ])?,
  378. bool isProgram([
    1. WebGLProgram?
    ])?,
  379. bool isRenderbuffer([
    1. WebGLRenderbuffer?
    ])?,
  380. bool isShader([
    1. WebGLShader?
    ])?,
  381. bool isTexture([
    1. WebGLTexture?
    ])?,
  382. void lineWidth(
    1. num
    )?,
  383. void linkProgram(
    1. WebGLProgram
    )?,
  384. void pixelStorei(
    1. num,
    2. Object
    )?,
  385. void polygonOffset(
    1. num,
    2. num
    )?,
  386. void renderbufferStorage(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  387. void sampleCoverage(
    1. num,
    2. bool
    )?,
  388. void scissor(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  389. void shaderSource(
    1. WebGLShader,
    2. String
    )?,
  390. void stencilFunc(
    1. num,
    2. num,
    3. num
    )?,
  391. void stencilFuncSeparate(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  392. void stencilMask(
    1. num
    )?,
  393. void stencilMaskSeparate(
    1. num,
    2. num
    )?,
  394. void stencilOp(
    1. num,
    2. num,
    3. num
    )?,
  395. void stencilOpSeparate(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  396. void texParameterf(
    1. num,
    2. num,
    3. num
    )?,
  397. void texParameteri(
    1. num,
    2. num,
    3. num
    )?,
  398. void uniform1f(
    1. num, [
    2. WebGLUniformLocation?
    ])?,
  399. void uniform1i(
    1. num, [
    2. WebGLUniformLocation?
    ])?,
  400. void uniform2f(
    1. num,
    2. num, [
    3. WebGLUniformLocation?
    ])?,
  401. void uniform2i(
    1. num,
    2. num, [
    3. WebGLUniformLocation?
    ])?,
  402. void uniform3f(
    1. num,
    2. num,
    3. num, [
    4. WebGLUniformLocation?,
    ])?,
  403. void uniform3i(
    1. num,
    2. num,
    3. num, [
    4. WebGLUniformLocation?,
    ])?,
  404. void uniform4f(
    1. num,
    2. num,
    3. num,
    4. num, [
    5. WebGLUniformLocation?,
    ])?,
  405. void uniform4i(
    1. num,
    2. num,
    3. num,
    4. num, [
    5. WebGLUniformLocation?,
    ])?,
  406. void useProgram([
    1. WebGLProgram?
    ])?,
  407. void validateProgram(
    1. WebGLProgram
    )?,
  408. void vertexAttrib1f(
    1. num,
    2. num
    )?,
  409. void vertexAttrib1fv(
    1. num,
    2. Object
    )?,
  410. void vertexAttrib2f(
    1. num,
    2. num,
    3. num
    )?,
  411. void vertexAttrib2fv(
    1. num,
    2. Object
    )?,
  412. void vertexAttrib3f(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  413. void vertexAttrib3fv(
    1. num,
    2. Object
    )?,
  414. void vertexAttrib4f(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    )?,
  415. void vertexAttrib4fv(
    1. num,
    2. Object
    )?,
  416. void vertexAttribPointer(
    1. num,
    2. num,
    3. num,
    4. bool,
    5. num,
    6. num,
    )?,
  417. void viewport(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
})

Implementation

factory WebGLRenderingContextBase({
  _i3.EventTarget? canvas,
  _i3.PredefinedColorSpace? drawingBufferColorSpace,
  _i2.num? drawingBufferHeight,
  _i2.num? drawingBufferWidth,
  _i2.num? depthBufferBit,
  _i2.num? stencilBufferBit,
  _i2.num? colorBufferBit,
  _i2.num? points,
  _i2.num? lines,
  _i2.num? lineLoop,
  _i2.num? lineStrip,
  _i2.num? triangles,
  _i2.num? triangleStrip,
  _i2.num? triangleFan,
  _i2.num? zero,
  _i2.num? one,
  _i2.num? srcColor,
  _i2.num? oneMinusSrcColor,
  _i2.num? srcAlpha,
  _i2.num? oneMinusSrcAlpha,
  _i2.num? dstAlpha,
  _i2.num? oneMinusDstAlpha,
  _i2.num? dstColor,
  _i2.num? oneMinusDstColor,
  _i2.num? srcAlphaSaturate,
  _i2.num? funcAdd,
  _i2.num? blendEquation$,
  _i2.num? blendEquationRgb,
  _i2.num? blendEquationAlpha,
  _i2.num? funcSubtract,
  _i2.num? funcReverseSubtract,
  _i2.num? blendDstRgb,
  _i2.num? blendSrcRgb,
  _i2.num? blendDstAlpha,
  _i2.num? blendSrcAlpha,
  _i2.num? constantColor,
  _i2.num? oneMinusConstantColor,
  _i2.num? constantAlpha,
  _i2.num? oneMinusConstantAlpha,
  _i2.num? blendColor$,
  _i2.num? arrayBuffer,
  _i2.num? elementArrayBuffer,
  _i2.num? arrayBufferBinding,
  _i2.num? elementArrayBufferBinding,
  _i2.num? streamDraw,
  _i2.num? staticDraw,
  _i2.num? dynamicDraw,
  _i2.num? bufferSize,
  _i2.num? bufferUsage,
  _i2.num? currentVertexAttrib,
  _i2.num? front,
  _i2.num? back,
  _i2.num? frontAndBack,
  _i2.num? cullFace$,
  _i2.num? blend,
  _i2.num? dither,
  _i2.num? stencilTest,
  _i2.num? depthTest,
  _i2.num? scissorTest,
  _i2.num? polygonOffsetFill,
  _i2.num? sampleAlphaToCoverage,
  _i2.num? sampleCoverage$,
  _i2.num? noError,
  _i2.num? invalidEnum,
  _i2.num? invalidValue,
  _i2.num? invalidOperation,
  _i2.num? outOfMemory,
  _i2.num? cw,
  _i2.num? ccw,
  _i2.num? lineWidth$,
  _i2.num? aliasedPointSizeRange,
  _i2.num? aliasedLineWidthRange,
  _i2.num? cullFaceMode,
  _i2.num? frontFace$,
  _i2.num? depthRange$,
  _i2.num? depthWritemask,
  _i2.num? depthClearValue,
  _i2.num? depthFunc$,
  _i2.num? stencilClearValue,
  _i2.num? stencilFunc$,
  _i2.num? stencilFail,
  _i2.num? stencilPassDepthFail,
  _i2.num? stencilPassDepthPass,
  _i2.num? stencilRef,
  _i2.num? stencilValueMask,
  _i2.num? stencilWritemask,
  _i2.num? stencilBackFunc,
  _i2.num? stencilBackFail,
  _i2.num? stencilBackPassDepthFail,
  _i2.num? stencilBackPassDepthPass,
  _i2.num? stencilBackRef,
  _i2.num? stencilBackValueMask,
  _i2.num? stencilBackWritemask,
  _i2.num? viewport$,
  _i2.num? scissorBox,
  _i2.num? colorClearValue,
  _i2.num? colorWritemask,
  _i2.num? unpackAlignment,
  _i2.num? packAlignment,
  _i2.num? maxTextureSize,
  _i2.num? maxViewportDims,
  _i2.num? subpixelBits,
  _i2.num? redBits,
  _i2.num? greenBits,
  _i2.num? blueBits,
  _i2.num? alphaBits,
  _i2.num? depthBits,
  _i2.num? stencilBits,
  _i2.num? polygonOffsetUnits,
  _i2.num? polygonOffsetFactor,
  _i2.num? textureBinding2d,
  _i2.num? sampleBuffers,
  _i2.num? samples,
  _i2.num? sampleCoverageValue,
  _i2.num? sampleCoverageInvert,
  _i2.num? compressedTextureFormats,
  _i2.num? dontCare,
  _i2.num? fastest,
  _i2.num? nicest,
  _i2.num? generateMipmapHint,
  _i2.num? byte,
  _i2.num? unsignedByte,
  _i2.num? short,
  _i2.num? unsignedShort,
  _i2.num? int$,
  _i2.num? unsignedInt,
  _i2.num? float,
  _i2.num? depthComponent,
  _i2.num? alpha,
  _i2.num? rgb,
  _i2.num? rgba,
  _i2.num? luminance,
  _i2.num? luminanceAlpha,
  _i2.num? unsignedShort4444,
  _i2.num? unsignedShort5551,
  _i2.num? unsignedShort565,
  _i2.num? fragmentShader,
  _i2.num? vertexShader,
  _i2.num? maxVertexAttribs,
  _i2.num? maxVertexUniformVectors,
  _i2.num? maxVaryingVectors,
  _i2.num? maxCombinedTextureImageUnits,
  _i2.num? maxVertexTextureImageUnits,
  _i2.num? maxTextureImageUnits,
  _i2.num? maxFragmentUniformVectors,
  _i2.num? shaderType,
  _i2.num? deleteStatus,
  _i2.num? linkStatus,
  _i2.num? validateStatus,
  _i2.num? attachedShaders,
  _i2.num? activeUniforms,
  _i2.num? activeAttributes,
  _i2.num? shadingLanguageVersion,
  _i2.num? currentProgram,
  _i2.num? never,
  _i2.num? less,
  _i2.num? equal,
  _i2.num? lequal,
  _i2.num? greater,
  _i2.num? notequal,
  _i2.num? gequal,
  _i2.num? always,
  _i2.num? keep,
  _i2.num? replace,
  _i2.num? incr,
  _i2.num? decr,
  _i2.num? invert,
  _i2.num? incrWrap,
  _i2.num? decrWrap,
  _i2.num? vendor,
  _i2.num? renderer,
  _i2.num? version,
  _i2.num? nearest,
  _i2.num? linear,
  _i2.num? nearestMipmapNearest,
  _i2.num? linearMipmapNearest,
  _i2.num? nearestMipmapLinear,
  _i2.num? linearMipmapLinear,
  _i2.num? textureMagFilter,
  _i2.num? textureMinFilter,
  _i2.num? textureWrapS,
  _i2.num? textureWrapT,
  _i2.num? texture2d,
  _i2.num? texture,
  _i2.num? textureCubeMap,
  _i2.num? textureBindingCubeMap,
  _i2.num? textureCubeMapPositiveX,
  _i2.num? textureCubeMapNegativeX,
  _i2.num? textureCubeMapPositiveY,
  _i2.num? textureCubeMapNegativeY,
  _i2.num? textureCubeMapPositiveZ,
  _i2.num? textureCubeMapNegativeZ,
  _i2.num? maxCubeMapTextureSize,
  _i2.num? texture0,
  _i2.num? texture1,
  _i2.num? texture2,
  _i2.num? texture3,
  _i2.num? texture4,
  _i2.num? texture5,
  _i2.num? texture6,
  _i2.num? texture7,
  _i2.num? texture8,
  _i2.num? texture9,
  _i2.num? texture10,
  _i2.num? texture11,
  _i2.num? texture12,
  _i2.num? texture13,
  _i2.num? texture14,
  _i2.num? texture15,
  _i2.num? texture16,
  _i2.num? texture17,
  _i2.num? texture18,
  _i2.num? texture19,
  _i2.num? texture20,
  _i2.num? texture21,
  _i2.num? texture22,
  _i2.num? texture23,
  _i2.num? texture24,
  _i2.num? texture25,
  _i2.num? texture26,
  _i2.num? texture27,
  _i2.num? texture28,
  _i2.num? texture29,
  _i2.num? texture30,
  _i2.num? texture31,
  _i2.num? activeTexture$,
  _i2.num? repeat,
  _i2.num? clampToEdge,
  _i2.num? mirroredRepeat,
  _i2.num? floatVec2,
  _i2.num? floatVec3,
  _i2.num? floatVec4,
  _i2.num? intVec2,
  _i2.num? intVec3,
  _i2.num? intVec4,
  _i2.num? bool$,
  _i2.num? boolVec2,
  _i2.num? boolVec3,
  _i2.num? boolVec4,
  _i2.num? floatMat2,
  _i2.num? floatMat3,
  _i2.num? floatMat4,
  _i2.num? sampler2d,
  _i2.num? samplerCube,
  _i2.num? vertexAttribArrayEnabled,
  _i2.num? vertexAttribArraySize,
  _i2.num? vertexAttribArrayStride,
  _i2.num? vertexAttribArrayType,
  _i2.num? vertexAttribArrayNormalized,
  _i2.num? vertexAttribArrayPointer,
  _i2.num? vertexAttribArrayBufferBinding,
  _i2.num? implementationColorReadType,
  _i2.num? implementationColorReadFormat,
  _i2.num? compileStatus,
  _i2.num? lowFloat,
  _i2.num? mediumFloat,
  _i2.num? highFloat,
  _i2.num? lowInt,
  _i2.num? mediumInt,
  _i2.num? highInt,
  _i2.num? framebuffer,
  _i2.num? renderbuffer,
  _i2.num? rgba4,
  _i2.num? rgb5A1,
  _i2.num? rgb565,
  _i2.num? depthComponent16,
  _i2.num? stencilIndex8,
  _i2.num? depthStencil,
  _i2.num? renderbufferWidth,
  _i2.num? renderbufferHeight,
  _i2.num? renderbufferInternalFormat,
  _i2.num? renderbufferRedSize,
  _i2.num? renderbufferGreenSize,
  _i2.num? renderbufferBlueSize,
  _i2.num? renderbufferAlphaSize,
  _i2.num? renderbufferDepthSize,
  _i2.num? renderbufferStencilSize,
  _i2.num? framebufferAttachmentObjectType,
  _i2.num? framebufferAttachmentObjectName,
  _i2.num? framebufferAttachmentTextureLevel,
  _i2.num? framebufferAttachmentTextureCubeMapFace,
  _i2.num? colorAttachment0,
  _i2.num? depthAttachment,
  _i2.num? stencilAttachment,
  _i2.num? depthStencilAttachment,
  _i2.num? none,
  _i2.num? framebufferComplete,
  _i2.num? framebufferIncompleteAttachment,
  _i2.num? framebufferIncompleteMissingAttachment,
  _i2.num? framebufferIncompleteDimensions,
  _i2.num? framebufferUnsupported,
  _i2.num? framebufferBinding,
  _i2.num? renderbufferBinding,
  _i2.num? maxRenderbufferSize,
  _i2.num? invalidFramebufferOperation,
  _i2.num? unpackFlipYWebgl,
  _i2.num? unpackPremultiplyAlphaWebgl,
  _i2.num? contextLostWebgl,
  _i2.num? unpackColorspaceConversionWebgl,
  _i2.num? browserDefaultWebgl,
  void Function(_i2.num)? activeTexture,
  void Function(
    _i3.WebGLProgram,
    _i3.WebGLShader,
  )? attachShader,
  void Function(
    _i3.WebGLProgram,
    _i2.num,
    _i2.String,
  )? bindAttribLocation,
  void Function(
    _i2.num, [
    _i3.WebGLBuffer?,
  ])? bindBuffer,
  void Function(
    _i2.num, [
    _i3.WebGLFramebuffer?,
  ])? bindFramebuffer,
  void Function(
    _i2.num, [
    _i3.WebGLRenderbuffer?,
  ])? bindRenderbuffer,
  void Function(
    _i2.num, [
    _i3.WebGLTexture?,
  ])? bindTexture,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? blendColor,
  void Function(_i2.num)? blendEquation,
  void Function(
    _i2.num,
    _i2.num,
  )? blendEquationSeparate,
  void Function(
    _i2.num,
    _i2.num,
  )? blendFunc,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? blendFuncSeparate,
  _i2.num Function(_i2.num)? checkFramebufferStatus,
  void Function(_i2.num)? clear,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? clearColor,
  void Function(_i2.num)? clearDepth,
  void Function(_i2.num)? clearStencil,
  void Function(
    _i2.bool,
    _i2.bool,
    _i2.bool,
    _i2.bool,
  )? colorMask,
  void Function(_i3.WebGLShader)? compileShader,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? copyTexImage2D,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? copyTexSubImage2D,
  _i3.WebGLBuffer? Function()? createBuffer,
  _i3.WebGLFramebuffer? Function()? createFramebuffer,
  _i3.WebGLProgram? Function()? createProgram,
  _i3.WebGLRenderbuffer? Function()? createRenderbuffer,
  _i3.WebGLShader? Function(_i2.num)? createShader,
  _i3.WebGLTexture? Function()? createTexture,
  void Function(_i2.num)? cullFace,
  void Function([_i3.WebGLBuffer?])? deleteBuffer,
  void Function([_i3.WebGLFramebuffer?])? deleteFramebuffer,
  void Function([_i3.WebGLProgram?])? deleteProgram,
  void Function([_i3.WebGLRenderbuffer?])? deleteRenderbuffer,
  void Function([_i3.WebGLShader?])? deleteShader,
  void Function([_i3.WebGLTexture?])? deleteTexture,
  void Function(_i2.num)? depthFunc,
  void Function(_i2.bool)? depthMask,
  void Function(
    _i2.num,
    _i2.num,
  )? depthRange,
  void Function(
    _i3.WebGLProgram,
    _i3.WebGLShader,
  )? detachShader,
  void Function(_i2.num)? disable,
  void Function(_i2.num)? disableVertexAttribArray,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
  )? drawArrays,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? drawElements,
  void Function(_i2.num)? enable,
  void Function(_i2.num)? enableVertexAttribArray,
  void Function()? finish,
  void Function()? flush,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLRenderbuffer?,
  ])? framebufferRenderbuffer,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLTexture?,
  ])? framebufferTexture2D,
  void Function(_i2.num)? frontFace,
  void Function(_i2.num)? generateMipmap,
  _i3.WebGLActiveInfo? Function(
    _i3.WebGLProgram,
    _i2.num,
  )? getActiveAttrib,
  _i3.WebGLActiveInfo? Function(
    _i3.WebGLProgram,
    _i2.num,
  )? getActiveUniform,
  _i2.List<_i3.WebGLShader>? Function(_i3.WebGLProgram)? getAttachedShaders,
  _i2.num Function(
    _i3.WebGLProgram,
    _i2.String,
  )? getAttribLocation,
  _i2.dynamic Function(
    _i2.num,
    _i2.num,
  )? getBufferParameter,
  _i3.WebGLContextAttributes? Function()? getContextAttributes,
  _i2.num Function()? getError,
  _i2.dynamic Function(
    _i2.num,
    _i2.num,
    _i2.num,
  )? getFramebufferAttachmentParameter,
  _i2.dynamic Function(_i2.num)? getParameter,
  _i2.String? Function(_i3.WebGLProgram)? getProgramInfoLog,
  _i2.dynamic Function(
    _i3.WebGLProgram,
    _i2.num,
  )? getProgramParameter,
  _i2.dynamic Function(
    _i2.num,
    _i2.num,
  )? getRenderbufferParameter,
  _i2.String? Function(_i3.WebGLShader)? getShaderInfoLog,
  _i2.dynamic Function(
    _i3.WebGLShader,
    _i2.num,
  )? getShaderParameter,
  _i3.WebGLShaderPrecisionFormat? Function(
    _i2.num,
    _i2.num,
  )? getShaderPrecisionFormat,
  _i2.String? Function(_i3.WebGLShader)? getShaderSource,
  _i2.List<_i2.String>? Function()? getSupportedExtensions,
  _i2.dynamic Function(
    _i2.num,
    _i2.num,
  )? getTexParameter,
  _i2.dynamic Function(
    _i3.WebGLProgram,
    _i3.WebGLUniformLocation,
  )? getUniform,
  _i3.WebGLUniformLocation? Function(
    _i3.WebGLProgram,
    _i2.String,
  )? getUniformLocation,
  _i2.dynamic Function(
    _i2.num,
    _i2.num,
  )? getVertexAttrib,
  _i2.num Function(
    _i2.num,
    _i2.num,
  )? getVertexAttribOffset,
  void Function(
    _i2.num,
    _i2.num,
  )? hint,
  _i2.bool Function([_i3.WebGLBuffer?])? isBuffer,
  _i2.bool Function()? isContextLost,
  _i2.bool Function(_i2.num)? isEnabled,
  _i2.bool Function([_i3.WebGLFramebuffer?])? isFramebuffer,
  _i2.bool Function([_i3.WebGLProgram?])? isProgram,
  _i2.bool Function([_i3.WebGLRenderbuffer?])? isRenderbuffer,
  _i2.bool Function([_i3.WebGLShader?])? isShader,
  _i2.bool Function([_i3.WebGLTexture?])? isTexture,
  void Function(_i2.num)? lineWidth,
  void Function(_i3.WebGLProgram)? linkProgram,
  void Function(
    _i2.num,
    _i2.Object,
  )? pixelStorei,
  void Function(
    _i2.num,
    _i2.num,
  )? polygonOffset,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? renderbufferStorage,
  void Function(
    _i2.num,
    _i2.bool,
  )? sampleCoverage,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? scissor,
  void Function(
    _i3.WebGLShader,
    _i2.String,
  )? shaderSource,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
  )? stencilFunc,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? stencilFuncSeparate,
  void Function(_i2.num)? stencilMask,
  void Function(
    _i2.num,
    _i2.num,
  )? stencilMaskSeparate,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
  )? stencilOp,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? stencilOpSeparate,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
  )? texParameterf,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
  )? texParameteri,
  void Function(
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform1f,
  void Function(
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform1i,
  void Function(
    _i2.num,
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform2f,
  void Function(
    _i2.num,
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform2i,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform3f,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform3i,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform4f,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLUniformLocation?,
  ])? uniform4i,
  void Function([_i3.WebGLProgram?])? useProgram,
  void Function(_i3.WebGLProgram)? validateProgram,
  void Function(
    _i2.num,
    _i2.num,
  )? vertexAttrib1f,
  void Function(
    _i2.num,
    _i2.Object,
  )? vertexAttrib1fv,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
  )? vertexAttrib2f,
  void Function(
    _i2.num,
    _i2.Object,
  )? vertexAttrib2fv,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? vertexAttrib3f,
  void Function(
    _i2.num,
    _i2.Object,
  )? vertexAttrib3fv,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? vertexAttrib4f,
  void Function(
    _i2.num,
    _i2.Object,
  )? vertexAttrib4fv,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.bool,
    _i2.num,
    _i2.num,
  )? vertexAttribPointer,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? viewport,
}) =>
    WebGLRenderingContextBase._(
      canvas: canvas ?? _i6.undefined,
      drawingBufferColorSpace: drawingBufferColorSpace?.name ?? _i6.undefined,
      drawingBufferHeight: drawingBufferHeight,
      drawingBufferWidth: drawingBufferWidth,
      depthBufferBit: depthBufferBit,
      stencilBufferBit: stencilBufferBit,
      colorBufferBit: colorBufferBit,
      points: points,
      lines: lines,
      lineLoop: lineLoop,
      lineStrip: lineStrip,
      triangles: triangles,
      triangleStrip: triangleStrip,
      triangleFan: triangleFan,
      zero: zero,
      one: one,
      srcColor: srcColor,
      oneMinusSrcColor: oneMinusSrcColor,
      srcAlpha: srcAlpha,
      oneMinusSrcAlpha: oneMinusSrcAlpha,
      dstAlpha: dstAlpha,
      oneMinusDstAlpha: oneMinusDstAlpha,
      dstColor: dstColor,
      oneMinusDstColor: oneMinusDstColor,
      srcAlphaSaturate: srcAlphaSaturate,
      funcAdd: funcAdd,
      blendEquation$: blendEquation$,
      blendEquationRgb: blendEquationRgb,
      blendEquationAlpha: blendEquationAlpha,
      funcSubtract: funcSubtract,
      funcReverseSubtract: funcReverseSubtract,
      blendDstRgb: blendDstRgb,
      blendSrcRgb: blendSrcRgb,
      blendDstAlpha: blendDstAlpha,
      blendSrcAlpha: blendSrcAlpha,
      constantColor: constantColor,
      oneMinusConstantColor: oneMinusConstantColor,
      constantAlpha: constantAlpha,
      oneMinusConstantAlpha: oneMinusConstantAlpha,
      blendColor$: blendColor$,
      arrayBuffer: arrayBuffer,
      elementArrayBuffer: elementArrayBuffer,
      arrayBufferBinding: arrayBufferBinding,
      elementArrayBufferBinding: elementArrayBufferBinding,
      streamDraw: streamDraw,
      staticDraw: staticDraw,
      dynamicDraw: dynamicDraw,
      bufferSize: bufferSize,
      bufferUsage: bufferUsage,
      currentVertexAttrib: currentVertexAttrib,
      front: front,
      back: back,
      frontAndBack: frontAndBack,
      cullFace$: cullFace$,
      blend: blend,
      dither: dither,
      stencilTest: stencilTest,
      depthTest: depthTest,
      scissorTest: scissorTest,
      polygonOffsetFill: polygonOffsetFill,
      sampleAlphaToCoverage: sampleAlphaToCoverage,
      sampleCoverage$: sampleCoverage$,
      noError: noError,
      invalidEnum: invalidEnum,
      invalidValue: invalidValue,
      invalidOperation: invalidOperation,
      outOfMemory: outOfMemory,
      cw: cw,
      ccw: ccw,
      lineWidth$: lineWidth$,
      aliasedPointSizeRange: aliasedPointSizeRange,
      aliasedLineWidthRange: aliasedLineWidthRange,
      cullFaceMode: cullFaceMode,
      frontFace$: frontFace$,
      depthRange$: depthRange$,
      depthWritemask: depthWritemask,
      depthClearValue: depthClearValue,
      depthFunc$: depthFunc$,
      stencilClearValue: stencilClearValue,
      stencilFunc$: stencilFunc$,
      stencilFail: stencilFail,
      stencilPassDepthFail: stencilPassDepthFail,
      stencilPassDepthPass: stencilPassDepthPass,
      stencilRef: stencilRef,
      stencilValueMask: stencilValueMask,
      stencilWritemask: stencilWritemask,
      stencilBackFunc: stencilBackFunc,
      stencilBackFail: stencilBackFail,
      stencilBackPassDepthFail: stencilBackPassDepthFail,
      stencilBackPassDepthPass: stencilBackPassDepthPass,
      stencilBackRef: stencilBackRef,
      stencilBackValueMask: stencilBackValueMask,
      stencilBackWritemask: stencilBackWritemask,
      viewport$: viewport$,
      scissorBox: scissorBox,
      colorClearValue: colorClearValue,
      colorWritemask: colorWritemask,
      unpackAlignment: unpackAlignment,
      packAlignment: packAlignment,
      maxTextureSize: maxTextureSize,
      maxViewportDims: maxViewportDims,
      subpixelBits: subpixelBits,
      redBits: redBits,
      greenBits: greenBits,
      blueBits: blueBits,
      alphaBits: alphaBits,
      depthBits: depthBits,
      stencilBits: stencilBits,
      polygonOffsetUnits: polygonOffsetUnits,
      polygonOffsetFactor: polygonOffsetFactor,
      textureBinding2d: textureBinding2d,
      sampleBuffers: sampleBuffers,
      samples: samples,
      sampleCoverageValue: sampleCoverageValue,
      sampleCoverageInvert: sampleCoverageInvert,
      compressedTextureFormats: compressedTextureFormats,
      dontCare: dontCare,
      fastest: fastest,
      nicest: nicest,
      generateMipmapHint: generateMipmapHint,
      byte: byte,
      unsignedByte: unsignedByte,
      short: short,
      unsignedShort: unsignedShort,
      int$: int$,
      unsignedInt: unsignedInt,
      float: float,
      depthComponent: depthComponent,
      alpha: alpha,
      rgb: rgb,
      rgba: rgba,
      luminance: luminance,
      luminanceAlpha: luminanceAlpha,
      unsignedShort4444: unsignedShort4444,
      unsignedShort5551: unsignedShort5551,
      unsignedShort565: unsignedShort565,
      fragmentShader: fragmentShader,
      vertexShader: vertexShader,
      maxVertexAttribs: maxVertexAttribs,
      maxVertexUniformVectors: maxVertexUniformVectors,
      maxVaryingVectors: maxVaryingVectors,
      maxCombinedTextureImageUnits: maxCombinedTextureImageUnits,
      maxVertexTextureImageUnits: maxVertexTextureImageUnits,
      maxTextureImageUnits: maxTextureImageUnits,
      maxFragmentUniformVectors: maxFragmentUniformVectors,
      shaderType: shaderType,
      deleteStatus: deleteStatus,
      linkStatus: linkStatus,
      validateStatus: validateStatus,
      attachedShaders: attachedShaders,
      activeUniforms: activeUniforms,
      activeAttributes: activeAttributes,
      shadingLanguageVersion: shadingLanguageVersion,
      currentProgram: currentProgram,
      never: never,
      less: less,
      equal: equal,
      lequal: lequal,
      greater: greater,
      notequal: notequal,
      gequal: gequal,
      always: always,
      keep: keep,
      replace: replace,
      incr: incr,
      decr: decr,
      invert: invert,
      incrWrap: incrWrap,
      decrWrap: decrWrap,
      vendor: vendor,
      renderer: renderer,
      version: version,
      nearest: nearest,
      linear: linear,
      nearestMipmapNearest: nearestMipmapNearest,
      linearMipmapNearest: linearMipmapNearest,
      nearestMipmapLinear: nearestMipmapLinear,
      linearMipmapLinear: linearMipmapLinear,
      textureMagFilter: textureMagFilter,
      textureMinFilter: textureMinFilter,
      textureWrapS: textureWrapS,
      textureWrapT: textureWrapT,
      texture2d: texture2d,
      texture: texture,
      textureCubeMap: textureCubeMap,
      textureBindingCubeMap: textureBindingCubeMap,
      textureCubeMapPositiveX: textureCubeMapPositiveX,
      textureCubeMapNegativeX: textureCubeMapNegativeX,
      textureCubeMapPositiveY: textureCubeMapPositiveY,
      textureCubeMapNegativeY: textureCubeMapNegativeY,
      textureCubeMapPositiveZ: textureCubeMapPositiveZ,
      textureCubeMapNegativeZ: textureCubeMapNegativeZ,
      maxCubeMapTextureSize: maxCubeMapTextureSize,
      texture0: texture0,
      texture1: texture1,
      texture2: texture2,
      texture3: texture3,
      texture4: texture4,
      texture5: texture5,
      texture6: texture6,
      texture7: texture7,
      texture8: texture8,
      texture9: texture9,
      texture10: texture10,
      texture11: texture11,
      texture12: texture12,
      texture13: texture13,
      texture14: texture14,
      texture15: texture15,
      texture16: texture16,
      texture17: texture17,
      texture18: texture18,
      texture19: texture19,
      texture20: texture20,
      texture21: texture21,
      texture22: texture22,
      texture23: texture23,
      texture24: texture24,
      texture25: texture25,
      texture26: texture26,
      texture27: texture27,
      texture28: texture28,
      texture29: texture29,
      texture30: texture30,
      texture31: texture31,
      activeTexture$: activeTexture$,
      repeat: repeat,
      clampToEdge: clampToEdge,
      mirroredRepeat: mirroredRepeat,
      floatVec2: floatVec2,
      floatVec3: floatVec3,
      floatVec4: floatVec4,
      intVec2: intVec2,
      intVec3: intVec3,
      intVec4: intVec4,
      bool$: bool$,
      boolVec2: boolVec2,
      boolVec3: boolVec3,
      boolVec4: boolVec4,
      floatMat2: floatMat2,
      floatMat3: floatMat3,
      floatMat4: floatMat4,
      sampler2d: sampler2d,
      samplerCube: samplerCube,
      vertexAttribArrayEnabled: vertexAttribArrayEnabled,
      vertexAttribArraySize: vertexAttribArraySize,
      vertexAttribArrayStride: vertexAttribArrayStride,
      vertexAttribArrayType: vertexAttribArrayType,
      vertexAttribArrayNormalized: vertexAttribArrayNormalized,
      vertexAttribArrayPointer: vertexAttribArrayPointer,
      vertexAttribArrayBufferBinding: vertexAttribArrayBufferBinding,
      implementationColorReadType: implementationColorReadType,
      implementationColorReadFormat: implementationColorReadFormat,
      compileStatus: compileStatus,
      lowFloat: lowFloat,
      mediumFloat: mediumFloat,
      highFloat: highFloat,
      lowInt: lowInt,
      mediumInt: mediumInt,
      highInt: highInt,
      framebuffer: framebuffer,
      renderbuffer: renderbuffer,
      rgba4: rgba4,
      rgb5A1: rgb5A1,
      rgb565: rgb565,
      depthComponent16: depthComponent16,
      stencilIndex8: stencilIndex8,
      depthStencil: depthStencil,
      renderbufferWidth: renderbufferWidth,
      renderbufferHeight: renderbufferHeight,
      renderbufferInternalFormat: renderbufferInternalFormat,
      renderbufferRedSize: renderbufferRedSize,
      renderbufferGreenSize: renderbufferGreenSize,
      renderbufferBlueSize: renderbufferBlueSize,
      renderbufferAlphaSize: renderbufferAlphaSize,
      renderbufferDepthSize: renderbufferDepthSize,
      renderbufferStencilSize: renderbufferStencilSize,
      framebufferAttachmentObjectType: framebufferAttachmentObjectType,
      framebufferAttachmentObjectName: framebufferAttachmentObjectName,
      framebufferAttachmentTextureLevel: framebufferAttachmentTextureLevel,
      framebufferAttachmentTextureCubeMapFace:
          framebufferAttachmentTextureCubeMapFace,
      colorAttachment0: colorAttachment0,
      depthAttachment: depthAttachment,
      stencilAttachment: stencilAttachment,
      depthStencilAttachment: depthStencilAttachment,
      none: none,
      framebufferComplete: framebufferComplete,
      framebufferIncompleteAttachment: framebufferIncompleteAttachment,
      framebufferIncompleteMissingAttachment:
          framebufferIncompleteMissingAttachment,
      framebufferIncompleteDimensions: framebufferIncompleteDimensions,
      framebufferUnsupported: framebufferUnsupported,
      framebufferBinding: framebufferBinding,
      renderbufferBinding: renderbufferBinding,
      maxRenderbufferSize: maxRenderbufferSize,
      invalidFramebufferOperation: invalidFramebufferOperation,
      unpackFlipYWebgl: unpackFlipYWebgl,
      unpackPremultiplyAlphaWebgl: unpackPremultiplyAlphaWebgl,
      contextLostWebgl: contextLostWebgl,
      unpackColorspaceConversionWebgl: unpackColorspaceConversionWebgl,
      browserDefaultWebgl: browserDefaultWebgl,
      activeTexture:
          activeTexture == null ? null : _i4.allowInterop(activeTexture),
      attachShader:
          attachShader == null ? null : _i4.allowInterop(attachShader),
      bindAttribLocation: bindAttribLocation == null
          ? null
          : _i4.allowInterop(bindAttribLocation),
      bindBuffer: bindBuffer == null ? null : _i4.allowInterop(bindBuffer),
      bindFramebuffer:
          bindFramebuffer == null ? null : _i4.allowInterop(bindFramebuffer),
      bindRenderbuffer: bindRenderbuffer == null
          ? null
          : _i4.allowInterop(bindRenderbuffer),
      bindTexture: bindTexture == null ? null : _i4.allowInterop(bindTexture),
      blendColor: blendColor == null ? null : _i4.allowInterop(blendColor),
      blendEquation:
          blendEquation == null ? null : _i4.allowInterop(blendEquation),
      blendEquationSeparate: blendEquationSeparate == null
          ? null
          : _i4.allowInterop(blendEquationSeparate),
      blendFunc: blendFunc == null ? null : _i4.allowInterop(blendFunc),
      blendFuncSeparate: blendFuncSeparate == null
          ? null
          : _i4.allowInterop(blendFuncSeparate),
      checkFramebufferStatus: checkFramebufferStatus == null
          ? null
          : _i4.allowInterop(checkFramebufferStatus),
      clear: clear == null ? null : _i4.allowInterop(clear),
      clearColor: clearColor == null ? null : _i4.allowInterop(clearColor),
      clearDepth: clearDepth == null ? null : _i4.allowInterop(clearDepth),
      clearStencil:
          clearStencil == null ? null : _i4.allowInterop(clearStencil),
      colorMask: colorMask == null ? null : _i4.allowInterop(colorMask),
      compileShader:
          compileShader == null ? null : _i4.allowInterop(compileShader),
      copyTexImage2D:
          copyTexImage2D == null ? null : _i4.allowInterop(copyTexImage2D),
      copyTexSubImage2D: copyTexSubImage2D == null
          ? null
          : _i4.allowInterop(copyTexSubImage2D),
      createBuffer: createBuffer == null
          ? null
          : _i4.allowInterop(() => () => createBuffer() ?? _i6.undefined),
      createFramebuffer: createFramebuffer == null
          ? null
          : _i4
              .allowInterop(() => () => createFramebuffer() ?? _i6.undefined),
      createProgram: createProgram == null
          ? null
          : _i4.allowInterop(() => () => createProgram() ?? _i6.undefined),
      createRenderbuffer: createRenderbuffer == null
          ? null
          : _i4.allowInterop(
              () => () => createRenderbuffer() ?? _i6.undefined),
      createShader: createShader == null
          ? null
          : _i4.allowInterop((p0) => () => createShader(p0) ?? _i6.undefined),
      createTexture: createTexture == null
          ? null
          : _i4.allowInterop(() => () => createTexture() ?? _i6.undefined),
      cullFace: cullFace == null ? null : _i4.allowInterop(cullFace),
      deleteBuffer:
          deleteBuffer == null ? null : _i4.allowInterop(deleteBuffer),
      deleteFramebuffer: deleteFramebuffer == null
          ? null
          : _i4.allowInterop(deleteFramebuffer),
      deleteProgram:
          deleteProgram == null ? null : _i4.allowInterop(deleteProgram),
      deleteRenderbuffer: deleteRenderbuffer == null
          ? null
          : _i4.allowInterop(deleteRenderbuffer),
      deleteShader:
          deleteShader == null ? null : _i4.allowInterop(deleteShader),
      deleteTexture:
          deleteTexture == null ? null : _i4.allowInterop(deleteTexture),
      depthFunc: depthFunc == null ? null : _i4.allowInterop(depthFunc),
      depthMask: depthMask == null ? null : _i4.allowInterop(depthMask),
      depthRange: depthRange == null ? null : _i4.allowInterop(depthRange),
      detachShader:
          detachShader == null ? null : _i4.allowInterop(detachShader),
      disable: disable == null ? null : _i4.allowInterop(disable),
      disableVertexAttribArray: disableVertexAttribArray == null
          ? null
          : _i4.allowInterop(disableVertexAttribArray),
      drawArrays: drawArrays == null ? null : _i4.allowInterop(drawArrays),
      drawElements:
          drawElements == null ? null : _i4.allowInterop(drawElements),
      enable: enable == null ? null : _i4.allowInterop(enable),
      enableVertexAttribArray: enableVertexAttribArray == null
          ? null
          : _i4.allowInterop(enableVertexAttribArray),
      finish: finish == null ? null : _i4.allowInterop(finish),
      flush: flush == null ? null : _i4.allowInterop(flush),
      framebufferRenderbuffer: framebufferRenderbuffer == null
          ? null
          : _i4.allowInterop(framebufferRenderbuffer),
      framebufferTexture2D: framebufferTexture2D == null
          ? null
          : _i4.allowInterop(framebufferTexture2D),
      frontFace: frontFace == null ? null : _i4.allowInterop(frontFace),
      generateMipmap:
          generateMipmap == null ? null : _i4.allowInterop(generateMipmap),
      getActiveAttrib: getActiveAttrib == null
          ? null
          : _i4.allowInterop((
              p0,
              p1,
            ) =>
              () =>
                  getActiveAttrib(
                    p0,
                    p1,
                  ) ??
                  _i6.undefined),
      getActiveUniform: getActiveUniform == null
          ? null
          : _i4.allowInterop((
              p0,
              p1,
            ) =>
              () =>
                  getActiveUniform(
                    p0,
                    p1,
                  ) ??
                  _i6.undefined),
      getAttachedShaders: getAttachedShaders == null
          ? null
          : _i4.allowInterop(
              (p0) => () => getAttachedShaders(p0) ?? _i6.undefined),
      getAttribLocation: getAttribLocation == null
          ? null
          : _i4.allowInterop(getAttribLocation),
      getBufferParameter: getBufferParameter == null
          ? null
          : _i4.allowInterop(getBufferParameter),
      getContextAttributes: getContextAttributes == null
          ? null
          : _i4.allowInterop(
              () => () => getContextAttributes() ?? _i6.undefined),
      getError: getError == null ? null : _i4.allowInterop(getError),
      getFramebufferAttachmentParameter:
          getFramebufferAttachmentParameter == null
              ? null
              : _i4.allowInterop(getFramebufferAttachmentParameter),
      getParameter:
          getParameter == null ? null : _i4.allowInterop(getParameter),
      getProgramInfoLog: getProgramInfoLog == null
          ? null
          : _i4.allowInterop(
              (p0) => () => getProgramInfoLog(p0) ?? _i6.undefined),
      getProgramParameter: getProgramParameter == null
          ? null
          : _i4.allowInterop(getProgramParameter),
      getRenderbufferParameter: getRenderbufferParameter == null
          ? null
          : _i4.allowInterop(getRenderbufferParameter),
      getShaderInfoLog: getShaderInfoLog == null
          ? null
          : _i4.allowInterop(
              (p0) => () => getShaderInfoLog(p0) ?? _i6.undefined),
      getShaderParameter: getShaderParameter == null
          ? null
          : _i4.allowInterop(getShaderParameter),
      getShaderPrecisionFormat: getShaderPrecisionFormat == null
          ? null
          : _i4.allowInterop((
              p0,
              p1,
            ) =>
              () =>
                  getShaderPrecisionFormat(
                    p0,
                    p1,
                  ) ??
                  _i6.undefined),
      getShaderSource: getShaderSource == null
          ? null
          : _i4.allowInterop(
              (p0) => () => getShaderSource(p0) ?? _i6.undefined),
      getSupportedExtensions: getSupportedExtensions == null
          ? null
          : _i4.allowInterop(
              () => () => getSupportedExtensions() ?? _i6.undefined),
      getTexParameter:
          getTexParameter == null ? null : _i4.allowInterop(getTexParameter),
      getUniform: getUniform == null ? null : _i4.allowInterop(getUniform),
      getUniformLocation: getUniformLocation == null
          ? null
          : _i4.allowInterop((
              p0,
              p1,
            ) =>
              () =>
                  getUniformLocation(
                    p0,
                    p1,
                  ) ??
                  _i6.undefined),
      getVertexAttrib:
          getVertexAttrib == null ? null : _i4.allowInterop(getVertexAttrib),
      getVertexAttribOffset: getVertexAttribOffset == null
          ? null
          : _i4.allowInterop(getVertexAttribOffset),
      hint: hint == null ? null : _i4.allowInterop(hint),
      isBuffer: isBuffer == null ? null : _i4.allowInterop(isBuffer),
      isContextLost:
          isContextLost == null ? null : _i4.allowInterop(isContextLost),
      isEnabled: isEnabled == null ? null : _i4.allowInterop(isEnabled),
      isFramebuffer:
          isFramebuffer == null ? null : _i4.allowInterop(isFramebuffer),
      isProgram: isProgram == null ? null : _i4.allowInterop(isProgram),
      isRenderbuffer:
          isRenderbuffer == null ? null : _i4.allowInterop(isRenderbuffer),
      isShader: isShader == null ? null : _i4.allowInterop(isShader),
      isTexture: isTexture == null ? null : _i4.allowInterop(isTexture),
      lineWidth: lineWidth == null ? null : _i4.allowInterop(lineWidth),
      linkProgram: linkProgram == null ? null : _i4.allowInterop(linkProgram),
      pixelStorei: pixelStorei == null ? null : _i4.allowInterop(pixelStorei),
      polygonOffset:
          polygonOffset == null ? null : _i4.allowInterop(polygonOffset),
      renderbufferStorage: renderbufferStorage == null
          ? null
          : _i4.allowInterop(renderbufferStorage),
      sampleCoverage:
          sampleCoverage == null ? null : _i4.allowInterop(sampleCoverage),
      scissor: scissor == null ? null : _i4.allowInterop(scissor),
      shaderSource:
          shaderSource == null ? null : _i4.allowInterop(shaderSource),
      stencilFunc: stencilFunc == null ? null : _i4.allowInterop(stencilFunc),
      stencilFuncSeparate: stencilFuncSeparate == null
          ? null
          : _i4.allowInterop(stencilFuncSeparate),
      stencilMask: stencilMask == null ? null : _i4.allowInterop(stencilMask),
      stencilMaskSeparate: stencilMaskSeparate == null
          ? null
          : _i4.allowInterop(stencilMaskSeparate),
      stencilOp: stencilOp == null ? null : _i4.allowInterop(stencilOp),
      stencilOpSeparate: stencilOpSeparate == null
          ? null
          : _i4.allowInterop(stencilOpSeparate),
      texParameterf:
          texParameterf == null ? null : _i4.allowInterop(texParameterf),
      texParameteri:
          texParameteri == null ? null : _i4.allowInterop(texParameteri),
      uniform1f: uniform1f == null ? null : _i4.allowInterop(uniform1f),
      uniform1i: uniform1i == null ? null : _i4.allowInterop(uniform1i),
      uniform2f: uniform2f == null ? null : _i4.allowInterop(uniform2f),
      uniform2i: uniform2i == null ? null : _i4.allowInterop(uniform2i),
      uniform3f: uniform3f == null ? null : _i4.allowInterop(uniform3f),
      uniform3i: uniform3i == null ? null : _i4.allowInterop(uniform3i),
      uniform4f: uniform4f == null ? null : _i4.allowInterop(uniform4f),
      uniform4i: uniform4i == null ? null : _i4.allowInterop(uniform4i),
      useProgram: useProgram == null ? null : _i4.allowInterop(useProgram),
      validateProgram:
          validateProgram == null ? null : _i4.allowInterop(validateProgram),
      vertexAttrib1f:
          vertexAttrib1f == null ? null : _i4.allowInterop(vertexAttrib1f),
      vertexAttrib1fv:
          vertexAttrib1fv == null ? null : _i4.allowInterop(vertexAttrib1fv),
      vertexAttrib2f:
          vertexAttrib2f == null ? null : _i4.allowInterop(vertexAttrib2f),
      vertexAttrib2fv:
          vertexAttrib2fv == null ? null : _i4.allowInterop(vertexAttrib2fv),
      vertexAttrib3f:
          vertexAttrib3f == null ? null : _i4.allowInterop(vertexAttrib3f),
      vertexAttrib3fv:
          vertexAttrib3fv == null ? null : _i4.allowInterop(vertexAttrib3fv),
      vertexAttrib4f:
          vertexAttrib4f == null ? null : _i4.allowInterop(vertexAttrib4f),
      vertexAttrib4fv:
          vertexAttrib4fv == null ? null : _i4.allowInterop(vertexAttrib4fv),
      vertexAttribPointer: vertexAttribPointer == null
          ? null
          : _i4.allowInterop(vertexAttribPointer),
      viewport: viewport == null ? null : _i4.allowInterop(viewport),
    );