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