WebGLRenderingContext class

Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML

MDN Reference

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

WebGLRenderingContext()
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