menu
Dart
dart:web_gl
RenderingContext2
clearColor method
clearColor
brightness_4
brightness_5
description
clearColor
method
void
clearColor
(
num
red
,
num
green
,
num
blue
,
num
alpha
)
Implementation
void clearColor(num red, num green, num blue, num alpha) native;
Dart
dart:web_gl
RenderingContext2
clearColor method
RenderingContext2 class
Properties
canvas
drawingBufferHeight
drawingBufferWidth
hashCode
runtimeType
Methods
activeTexture
attachShader
beginQuery
beginTransformFeedback
bindAttribLocation
bindBuffer
bindBufferBase
bindBufferRange
bindFramebuffer
bindRenderbuffer
bindSampler
bindTexture
bindTransformFeedback
bindVertexArray
blendColor
blendEquation
blendEquationSeparate
blendFunc
blendFuncSeparate
blitFramebuffer
bufferData
bufferData2
bufferSubData
bufferSubData2
checkFramebufferStatus
clear
clearBufferfi
clearBufferfv
clearBufferiv
clearBufferuiv
clearColor
clearDepth
clearStencil
clientWaitSync
colorMask
commit
compileShader
compressedTexImage2D
compressedTexImage2D2
compressedTexImage2D3
compressedTexImage3D
compressedTexImage3D2
compressedTexSubImage2D
compressedTexSubImage2D2
compressedTexSubImage2D3
compressedTexSubImage3D
compressedTexSubImage3D2
copyBufferSubData
copyTexImage2D
copyTexSubImage2D
copyTexSubImage3D
createBuffer
createFramebuffer
createProgram
createQuery
createRenderbuffer
createSampler
createShader
createTexture
createTransformFeedback
createVertexArray
cullFace
deleteBuffer
deleteFramebuffer
deleteProgram
deleteQuery
deleteRenderbuffer
deleteSampler
deleteShader
deleteSync
deleteTexture
deleteTransformFeedback
deleteVertexArray
depthFunc
depthMask
depthRange
detachShader
disable
disableVertexAttribArray
drawArrays
drawArraysInstanced
drawBuffers
drawElements
drawElementsInstanced
drawRangeElements
enable
enableVertexAttribArray
endQuery
endTransformFeedback
fenceSync
finish
flush
framebufferRenderbuffer
framebufferTexture2D
framebufferTextureLayer
frontFace
generateMipmap
getActiveAttrib
getActiveUniform
getActiveUniformBlockName
getActiveUniformBlockParameter
getActiveUniforms
getAttachedShaders
getAttribLocation
getBufferParameter
getBufferSubData
getContextAttributes
getError
getExtension
getFragDataLocation
getFramebufferAttachmentParameter
getIndexedParameter
getInternalformatParameter
getParameter
getProgramInfoLog
getProgramParameter
getQuery
getQueryParameter
getRenderbufferParameter
getSamplerParameter
getShaderInfoLog
getShaderParameter
getShaderPrecisionFormat
getShaderSource
getSupportedExtensions
getSyncParameter
getTexParameter
getTransformFeedbackVarying
getUniform
getUniformBlockIndex
getUniformIndices
getUniformLocation
getVertexAttrib
getVertexAttribOffset
hint
invalidateFramebuffer
invalidateSubFramebuffer
isBuffer
isContextLost
isEnabled
isFramebuffer
isProgram
isQuery
isRenderbuffer
isSampler
isShader
isSync
isTexture
isTransformFeedback
isVertexArray
lineWidth
linkProgram
noSuchMethod
pauseTransformFeedback
pixelStorei
polygonOffset
readBuffer
readPixels
readPixels2
renderbufferStorage
renderbufferStorageMultisample
resumeTransformFeedback
sampleCoverage
samplerParameterf
samplerParameteri
scissor
shaderSource
stencilFunc
stencilFuncSeparate
stencilMask
stencilMaskSeparate
stencilOp
stencilOpSeparate
texImage2D
texImage2D2
texImage3D
texParameterf
texParameteri
texStorage2D
texStorage3D
texSubImage2D
texSubImage2D2
texSubImage3D
toString
transformFeedbackVaryings
uniform1f
uniform1fv
uniform1fv2
uniform1i
uniform1iv
uniform1iv2
uniform1ui
uniform1uiv
uniform2f
uniform2fv
uniform2fv2
uniform2i
uniform2iv
uniform2iv2
uniform2ui
uniform2uiv
uniform3f
uniform3fv
uniform3fv2
uniform3i
uniform3iv
uniform3iv2
uniform3ui
uniform3uiv
uniform4f
uniform4fv
uniform4fv2
uniform4i
uniform4iv
uniform4iv2
uniform4ui
uniform4uiv
uniformBlockBinding
uniformMatrix2fv
uniformMatrix2fv2
uniformMatrix2x3fv
uniformMatrix2x4fv
uniformMatrix3fv
uniformMatrix3fv2
uniformMatrix3x2fv
uniformMatrix3x4fv
uniformMatrix4fv
uniformMatrix4fv2
uniformMatrix4x2fv
uniformMatrix4x3fv
useProgram
validateProgram
vertexAttrib1f
vertexAttrib1fv
vertexAttrib2f
vertexAttrib2fv
vertexAttrib3f
vertexAttrib3fv
vertexAttrib4f
vertexAttrib4fv
vertexAttribDivisor
vertexAttribI4i
vertexAttribI4iv
vertexAttribI4ui
vertexAttribI4uiv
vertexAttribIPointer
vertexAttribPointer
viewport
waitSync
Operators
operator ==