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