WebGL2RenderingContextBase class
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
WebGL2RenderingContextBase({num? readBuffer$, num? unpackRowLength, num? unpackSkipRows, num? unpackSkipPixels, num? packRowLength, num? packSkipRows, num? packSkipPixels, num? color, num? depth, num? stencil, num? red, num? rgb8, num? rgba8, num? rgb10A2, num? textureBinding3d, num? unpackSkipImages, num? unpackImageHeight, num? texture3d, num? textureWrapR, num? max3dTextureSize, num? unsignedInt2101010Rev, num? maxElementsVertices, num? maxElementsIndices, num? textureMinLod, num? textureMaxLod, num? textureBaseLevel, num? textureMaxLevel, num? min, num? max, num? depthComponent24, num? maxTextureLodBias, num? textureCompareMode, num? textureCompareFunc, num? currentQuery, num? queryResult, num? queryResultAvailable, num? streamRead, num? streamCopy, num? staticRead, num? staticCopy, num? dynamicRead, num? dynamicCopy, num? maxDrawBuffers, num? drawBuffer0, num? drawBuffer1, num? drawBuffer2, num? drawBuffer3, num? drawBuffer4, num? drawBuffer5, num? drawBuffer6, num? drawBuffer7, num? drawBuffer8, num? drawBuffer9, num? drawBuffer10, num? drawBuffer11, num? drawBuffer12, num? drawBuffer13, num? drawBuffer14, num? drawBuffer15, num? maxFragmentUniformComponents, num? maxVertexUniformComponents, num? sampler3d, num? sampler2dShadow, num? fragmentShaderDerivativeHint, num? pixelPackBuffer, num? pixelUnpackBuffer, num? pixelPackBufferBinding, num? pixelUnpackBufferBinding, num? floatmaT2x3, num? floatmaT2x4, num? floatmaT3x2, num? floatmaT3x4, num? floatmaT4x2, num? floatmaT4x3, num? srgb, num? srgb8, num? srgb8Alpha8, num? compareRefToTexture, num? rgba32f, num? rgb32f, num? rgba16f, num? rgb16f, num? vertexAttribArrayInteger, num? maxArrayTextureLayers, num? minProgramTexelOffset, num? maxProgramTexelOffset, num? maxVaryingComponents, num? texture2dArray, num? textureBinding2dArray, num? r11fG11fB10f, num? unsignedInt10f11f11fRev, num? rgb9E5, num? unsignedInt5999Rev, num? transformFeedbackBufferMode, num? maxTransformFeedbackSeparateComponents, num? transformFeedbackVaryings$, num? transformFeedbackBufferStart, num? transformFeedbackBufferSize, num? transformFeedbackPrimitivesWritten, num? rasterizerDiscard, num? maxTransformFeedbackInterleavedComponents, num? maxTransformFeedbackSeparateAttribs, num? interleavedAttribs, num? separateAttribs, num? transformFeedbackBuffer, num? transformFeedbackBufferBinding, num? rgba32ui, num? rgb32ui, num? rgba16ui, num? rgb16ui, num? rgba8ui, num? rgb8ui, num? rgba32i, num? rgb32i, num? rgba16i, num? rgb16i, num? rgba8i, num? rgb8i, num? redInteger, num? rgbInteger, num? rgbaInteger, num? sampler2dArray, num? sampler2dArrayShadow, num? samplerCubeShadow, num? unsignedIntVec2, num? unsignedIntVec3, num? unsignedIntVec4, num? intSampler2d, num? intSampler3d, num? intSamplerCube, num? intSampler2dArray, num? unsignedIntSampler2d, num? unsignedIntSampler3d, num? unsignedIntSamplerCube, num? unsignedIntSampler2dArray, num? depthComponent32f, num? depth32fStencil8, num? float32UnsignedInt248Rev, num? framebufferAttachmentColorEncoding, num? framebufferAttachmentComponentType, num? framebufferAttachmentRedSize, num? framebufferAttachmentGreenSize, num? framebufferAttachmentBlueSize, num? framebufferAttachmentAlphaSize, num? framebufferAttachmentDepthSize, num? framebufferAttachmentStencilSize, num? framebufferDefault, num? unsignedInt248, num? depth24Stencil8, num? unsignedNormalized, num? drawFramebufferBinding, num? readFramebuffer, num? drawFramebuffer, num? readFramebufferBinding, num? renderbufferSamples, num? framebufferAttachmentTextureLayer, num? maxColorAttachments, num? colorAttachment1, num? colorAttachment2, num? colorAttachment3, num? colorAttachment4, num? colorAttachment5, num? colorAttachment6, num? colorAttachment7, num? colorAttachment8, num? colorAttachment9, num? colorAttachment10, num? colorAttachment11, num? colorAttachment12, num? colorAttachment13, num? colorAttachment14, num? colorAttachment15, num? framebufferIncompleteMultisample, num? maxSamples, num? halfFloat, num? rg, num? rgInteger, num? r8, num? rg8, num? r16f, num? r32f, num? rg16f, num? rg32f, num? r8i, num? r8ui, num? r16i, num? r16ui, num? r32i, num? r32ui, num? rg8i, num? rg8ui, num? rg16i, num? rg16ui, num? rg32i, num? rg32ui, num? vertexArrayBinding, num? r8Snorm, num? rg8Snorm, num? rgb8Snorm, num? rgba8Snorm, num? signedNormalized, num? copyReadBuffer, num? copyWriteBuffer, num? copyReadBufferBinding, num? copyWriteBufferBinding, num? uniformBuffer, num? uniformBufferBinding, num? uniformBufferStart, num? uniformBufferSize, num? maxVertexUniformBlocks, num? maxFragmentUniformBlocks, num? maxCombinedUniformBlocks, num? maxUniformBufferBindings, num? maxUniformBlockSize, num? maxCombinedVertexUniformComponents, num? maxCombinedFragmentUniformComponents, num? uniformBufferOffsetAlignment, num? activeUniformBlocks, num? uniformType, num? uniformSize, num? uniformBlockIndex, num? uniformOffset, num? uniformArrayStride, num? uniformMatrixStride, num? uniformIsRowMajor, num? uniformBlockBinding$, num? uniformBlockDataSize, num? uniformBlockActiveUniforms, num? uniformBlockActiveUniformIndices, num? uniformBlockReferencedByVertexShader, num? uniformBlockReferencedByFragmentShader, num? invalidIndex, num? maxVertexOutputComponents, num? maxFragmentInputComponents, num? maxServerWaitTimeout, num? objectType, num? syncCondition, num? syncStatus, num? syncFlags, num? syncFence, num? syncGpuCommandsComplete, num? unsignaled, num? signaled, num? alreadySignaled, num? timeoutExpired, num? conditionSatisfied, num? waitFailed, num? syncFlushCommandsBit, num? vertexAttribArrayDivisor, num? anySamplesPassed, num? anySamplesPassedConservative, num? samplerBinding, num? rgb10A2ui, num? int2101010Rev, num? transformFeedback, num? transformFeedbackPaused, num? transformFeedbackActive, num? transformFeedbackBinding, num? textureImmutableFormat, num? maxElementIndex, num? textureImmutableLevels, num? timeoutIgnored, num? maxClientWaitTimeoutWebgl, void beginQuery(num, WebGLQuery)?, void beginTransformFeedback(num)?, void bindBufferBase(num, num, [WebGLBuffer?])?, void bindBufferRange(num, num, num, num, [WebGLBuffer?])?, void bindSampler(num, [WebGLSampler?])?, void bindTransformFeedback(num, [WebGLTransformFeedback?])?, void bindVertexArray([WebGLVertexArrayObject?])?, void blitFramebuffer(num, num, num, num, num, num, num, num, num, num)?, void clearBufferfi(num, num, num, num)?, void clearBufferfv(num, num, Object, [num?])?, void clearBufferiv(num, num, Object, [num?])?, void clearBufferuiv(num, num, Object, [num?])?, num clientWaitSync(WebGLSync, num, num)?, void copyBufferSubData(num, num, num, num, num)?, void copyTexSubImage3D(num, num, num, num, num, num, num, num, num)?, WebGLQuery? createQuery()?, WebGLSampler? createSampler()?, WebGLTransformFeedback? createTransformFeedback()?, WebGLVertexArrayObject? createVertexArray()?, void deleteQuery([WebGLQuery?])?, void deleteSampler([WebGLSampler?])?, void deleteSync([WebGLSync?])?, void deleteTransformFeedback([WebGLTransformFeedback?])?, void deleteVertexArray([WebGLVertexArrayObject?])?, void drawArraysInstanced(num, num, num, num)?, void drawBuffers(List<
num> )?, void drawElementsInstanced(num, num, num, num, num)?, void drawRangeElements(num, num, num, num, num, num)?, void endQuery(num)?, void endTransformFeedback()?, WebGLSync? fenceSync(num, num)?, void framebufferTextureLayer(num, num, num, num, [WebGLTexture?])?, String? getActiveUniformBlockName(WebGLProgram, num)?, dynamic getActiveUniformBlockParameter(WebGLProgram, num, num)?, dynamic getActiveUniforms(WebGLProgram, List<num> , num)?, void getBufferSubData(num, num, ArrayBufferView, [num?, num?])?, num getFragDataLocation(WebGLProgram, String)?, dynamic getIndexedParameter(num, num)?, dynamic getInternalformatParameter(num, num, num)?, WebGLQuery? getQuery(num, num)?, dynamic getQueryParameter(WebGLQuery, num)?, dynamic getSamplerParameter(WebGLSampler, num)?, dynamic getSyncParameter(WebGLSync, num)?, WebGLActiveInfo? getTransformFeedbackVarying(WebGLProgram, num)?, num getUniformBlockIndex(WebGLProgram, String)?, List<num> ? getUniformIndices(WebGLProgram, List<String> )?, void invalidateFramebuffer(num, List<num> )?, void invalidateSubFramebuffer(num, List<num> , num, num, num, num)?, bool isQuery([WebGLQuery?])?, bool isSampler([WebGLSampler?])?, bool isSync([WebGLSync?])?, bool isTransformFeedback([WebGLTransformFeedback?])?, bool isVertexArray([WebGLVertexArrayObject?])?, void pauseTransformFeedback()?, void readBuffer(num)?, void renderbufferStorageMultisample(num, num, num, num, num)?, void resumeTransformFeedback()?, void samplerParameterf(WebGLSampler, num, num)?, void samplerParameteri(WebGLSampler, num, num)?, void texStorage2D(num, num, num, num, num)?, void texStorage3D(num, num, num, num, num, num)?, void transformFeedbackVaryings(WebGLProgram, List<String> , num)?, void uniform1ui(num, [WebGLUniformLocation?])?, void uniform1uiv(Object, num?, num?, [WebGLUniformLocation?])?, void uniform2ui(num, num, [WebGLUniformLocation?])?, void uniform2uiv(Object, num?, num?, [WebGLUniformLocation?])?, void uniform3ui(num, num, num, [WebGLUniformLocation?])?, void uniform3uiv(Object, num?, num?, [WebGLUniformLocation?])?, void uniform4ui(num, num, num, num, [WebGLUniformLocation?])?, void uniform4uiv(Object, num?, num?, [WebGLUniformLocation?])?, void uniformBlockBinding(WebGLProgram, num, num)?, void uniformMatrix2x3fv(bool, Object, num?, num?, [WebGLUniformLocation?])?, void uniformMatrix2x4fv(bool, Object, num?, num?, [WebGLUniformLocation?])?, void uniformMatrix3x2fv(bool, Object, num?, num?, [WebGLUniformLocation?])?, void uniformMatrix3x4fv(bool, Object, num?, num?, [WebGLUniformLocation?])?, void uniformMatrix4x2fv(bool, Object, num?, num?, [WebGLUniformLocation?])?, void uniformMatrix4x3fv(bool, Object, num?, num?, [WebGLUniformLocation?])?, void vertexAttribDivisor(num, num)?, void vertexAttribI4i(num, num, num, num, num)?, void vertexAttribI4iv(num, Object)?, void vertexAttribI4ui(num, num, num, num, num)?, void vertexAttribI4uiv(num, Object)?, void vertexAttribIPointer(num, num, num, num, num)?, void waitSync(WebGLSync, 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
- activeUniformBlocks → num
-
no setter
- alreadySignaled → num
-
no setter
- anySamplesPassed → num
-
no setter
- anySamplesPassedConservative → num
-
no setter
- color → num
-
no setter
- colorAttachment1 → num
-
no setter
- colorAttachment10 → num
-
no setter
- colorAttachment11 → num
-
no setter
- colorAttachment12 → num
-
no setter
- colorAttachment13 → num
-
no setter
- colorAttachment14 → num
-
no setter
- colorAttachment15 → num
-
no setter
- colorAttachment2 → num
-
no setter
- colorAttachment3 → num
-
no setter
- colorAttachment4 → num
-
no setter
- colorAttachment5 → num
-
no setter
- colorAttachment6 → num
-
no setter
- colorAttachment7 → num
-
no setter
- colorAttachment8 → num
-
no setter
- colorAttachment9 → num
-
no setter
- compareRefToTexture → num
-
no setter
- conditionSatisfied → num
-
no setter
- copyReadBuffer → num
-
no setter
- copyReadBufferBinding → num
-
no setter
- copyWriteBuffer → num
-
no setter
- copyWriteBufferBinding → num
-
no setter
- currentQuery → num
-
no setter
- depth → num
-
no setter
- depth24Stencil8 → num
-
no setter
- depth32fStencil8 → num
-
no setter
- depthComponent24 → num
-
no setter
- depthComponent32f → num
-
no setter
- drawBuffer0 → num
-
no setter
- drawBuffer1 → num
-
no setter
- drawBuffer10 → num
-
no setter
- drawBuffer11 → num
-
no setter
- drawBuffer12 → num
-
no setter
- drawBuffer13 → num
-
no setter
- drawBuffer14 → num
-
no setter
- drawBuffer15 → num
-
no setter
- drawBuffer2 → num
-
no setter
- drawBuffer3 → num
-
no setter
- drawBuffer4 → num
-
no setter
- drawBuffer5 → num
-
no setter
- drawBuffer6 → num
-
no setter
- drawBuffer7 → num
-
no setter
- drawBuffer8 → num
-
no setter
- drawBuffer9 → num
-
no setter
- drawFramebuffer → num
-
no setter
- drawFramebufferBinding → num
-
no setter
- dynamicCopy → num
-
no setter
- dynamicRead → num
-
no setter
- float32UnsignedInt248Rev → num
-
no setter
- floatmaT2x3 → num
-
no setter
- floatmaT2x4 → num
-
no setter
- floatmaT3x2 → num
-
no setter
- floatmaT3x4 → num
-
no setter
- floatmaT4x2 → num
-
no setter
- floatmaT4x3 → num
-
no setter
- fragmentShaderDerivativeHint → num
-
no setter
- framebufferAttachmentAlphaSize → num
-
no setter
- framebufferAttachmentBlueSize → num
-
no setter
- framebufferAttachmentColorEncoding → num
-
no setter
- framebufferAttachmentComponentType → num
-
no setter
- framebufferAttachmentDepthSize → num
-
no setter
- framebufferAttachmentGreenSize → num
-
no setter
- framebufferAttachmentRedSize → num
-
no setter
- framebufferAttachmentStencilSize → num
-
no setter
- framebufferAttachmentTextureLayer → num
-
no setter
- framebufferDefault → num
-
no setter
- framebufferIncompleteMultisample → num
-
no setter
- halfFloat → num
-
no setter
- int2101010Rev → num
-
no setter
- interleavedAttribs → num
-
no setter
- intSampler2d → num
-
no setter
- intSampler2dArray → num
-
no setter
- intSampler3d → num
-
no setter
- intSamplerCube → num
-
no setter
- invalidIndex → num
-
no setter
- max → num
-
no setter
- max3dTextureSize → num
-
no setter
- maxArrayTextureLayers → num
-
no setter
- maxClientWaitTimeoutWebgl → num
-
no setter
- maxColorAttachments → num
-
no setter
- maxCombinedFragmentUniformComponents → num
-
no setter
- maxCombinedUniformBlocks → num
-
no setter
- maxCombinedVertexUniformComponents → num
-
no setter
- maxDrawBuffers → num
-
no setter
- maxElementIndex → num
-
no setter
- maxElementsIndices → num
-
no setter
- maxElementsVertices → num
-
no setter
- maxFragmentInputComponents → num
-
no setter
- maxFragmentUniformBlocks → num
-
no setter
- maxFragmentUniformComponents → num
-
no setter
- maxProgramTexelOffset → num
-
no setter
- maxSamples → num
-
no setter
- maxServerWaitTimeout → num
-
no setter
- maxTextureLodBias → num
-
no setter
- maxTransformFeedbackInterleavedComponents → num
-
no setter
- maxTransformFeedbackSeparateAttribs → num
-
no setter
- maxTransformFeedbackSeparateComponents → num
-
no setter
- maxUniformBlockSize → num
-
no setter
- maxUniformBufferBindings → num
-
no setter
- maxVaryingComponents → num
-
no setter
- maxVertexOutputComponents → num
-
no setter
- maxVertexUniformBlocks → num
-
no setter
- maxVertexUniformComponents → num
-
no setter
- min → num
-
no setter
- minProgramTexelOffset → num
-
no setter
- objectType → num
-
no setter
- packRowLength → num
-
no setter
- packSkipPixels → num
-
no setter
- packSkipRows → num
-
no setter
- pixelPackBuffer → num
-
no setter
- pixelPackBufferBinding → num
-
no setter
- pixelUnpackBuffer → num
-
no setter
- pixelUnpackBufferBinding → num
-
no setter
- queryResult → num
-
no setter
- queryResultAvailable → num
-
no setter
- r11fG11fB10f → num
-
no setter
- r16f → num
-
no setter
- r16i → num
-
no setter
- r16ui → num
-
no setter
- r32f → num
-
no setter
- r32i → num
-
no setter
- r32ui → num
-
no setter
- r8 → num
-
no setter
- r8i → num
-
no setter
- r8Snorm → num
-
no setter
- r8ui → num
-
no setter
- rasterizerDiscard → num
-
no setter
- readBuffer → num
-
no setter
- readFramebuffer → num
-
no setter
- readFramebufferBinding → num
-
no setter
- red → num
-
no setter
- redInteger → num
-
no setter
- renderbufferSamples → num
-
no setter
- rg → num
-
no setter
- rg16f → num
-
no setter
- rg16i → num
-
no setter
- rg16ui → num
-
no setter
- rg32f → num
-
no setter
- rg32i → num
-
no setter
- rg32ui → num
-
no setter
- rg8 → num
-
no setter
- rg8i → num
-
no setter
- rg8Snorm → num
-
no setter
- rg8ui → num
-
no setter
- rgb10A2 → num
-
no setter
- rgb10A2ui → num
-
no setter
- rgb16f → num
-
no setter
- rgb16i → num
-
no setter
- rgb16ui → num
-
no setter
- rgb32f → num
-
no setter
- rgb32i → num
-
no setter
- rgb32ui → num
-
no setter
- rgb8 → num
-
no setter
- rgb8i → num
-
no setter
- rgb8Snorm → num
-
no setter
- rgb8ui → num
-
no setter
- rgb9E5 → num
-
no setter
- rgba16f → num
-
no setter
- rgba16i → num
-
no setter
- rgba16ui → num
-
no setter
- rgba32f → num
-
no setter
- rgba32i → num
-
no setter
- rgba32ui → num
-
no setter
- rgba8 → num
-
no setter
- rgba8i → num
-
no setter
- rgba8Snorm → num
-
no setter
- rgba8ui → num
-
no setter
- rgbaInteger → num
-
no setter
- rgbInteger → num
-
no setter
- rgInteger → num
-
no setter
- sampler2dArray → num
-
no setter
- sampler2dArrayShadow → num
-
no setter
- sampler2dShadow → num
-
no setter
- sampler3d → num
-
no setter
- samplerBinding → num
-
no setter
- samplerCubeShadow → num
-
no setter
- separateAttribs → num
-
no setter
- signaled → num
-
no setter
- signedNormalized → num
-
no setter
- srgb → num
-
no setter
- srgb8 → num
-
no setter
- srgb8Alpha8 → num
-
no setter
- staticCopy → num
-
no setter
- staticRead → num
-
no setter
- stencil → num
-
no setter
- streamCopy → num
-
no setter
- streamRead → num
-
no setter
- syncCondition → num
-
no setter
- syncFence → num
-
no setter
- syncFlags → num
-
no setter
- syncFlushCommandsBit → num
-
no setter
- syncGpuCommandsComplete → num
-
no setter
- syncStatus → num
-
no setter
- texture2dArray → num
-
no setter
- texture3d → num
-
no setter
- textureBaseLevel → num
-
no setter
- textureBinding2dArray → num
-
no setter
- textureBinding3d → num
-
no setter
- textureCompareFunc → num
-
no setter
- textureCompareMode → num
-
no setter
- textureImmutableFormat → num
-
no setter
- textureImmutableLevels → num
-
no setter
- textureMaxLevel → num
-
no setter
- textureMaxLod → num
-
no setter
- textureMinLod → num
-
no setter
- textureWrapR → num
-
no setter
- timeoutExpired → num
-
no setter
- timeoutIgnored → num
-
no setter
- transformFeedback → num
-
no setter
- transformFeedbackActive → num
-
no setter
- transformFeedbackBinding → num
-
no setter
- transformFeedbackBuffer → num
-
no setter
- transformFeedbackBufferBinding → num
-
no setter
- transformFeedbackBufferMode → num
-
no setter
- transformFeedbackBufferSize → num
-
no setter
- transformFeedbackBufferStart → num
-
no setter
- transformFeedbackPaused → num
-
no setter
- transformFeedbackPrimitivesWritten → num
-
no setter
- transformFeedbackVaryings → num
-
no setter
- uniformArrayStride → num
-
no setter
- uniformBlockActiveUniformIndices → num
-
no setter
- uniformBlockActiveUniforms → num
-
no setter
- uniformBlockBinding → num
-
no setter
- uniformBlockDataSize → num
-
no setter
- uniformBlockIndex → num
-
no setter
- uniformBlockReferencedByFragmentShader → num
-
no setter
- uniformBlockReferencedByVertexShader → num
-
no setter
- uniformBuffer → num
-
no setter
- uniformBufferBinding → num
-
no setter
- uniformBufferOffsetAlignment → num
-
no setter
- uniformBufferSize → num
-
no setter
- uniformBufferStart → num
-
no setter
- uniformIsRowMajor → num
-
no setter
- uniformMatrixStride → num
-
no setter
- uniformOffset → num
-
no setter
- uniformSize → num
-
no setter
- uniformType → num
-
no setter
- unpackImageHeight → num
-
no setter
- unpackRowLength → num
-
no setter
- unpackSkipImages → num
-
no setter
- unpackSkipPixels → num
-
no setter
- unpackSkipRows → num
-
no setter
- unsignaled → num
-
no setter
- unsignedInt10f11f11fRev → num
-
no setter
- unsignedInt2101010Rev → num
-
no setter
- unsignedInt248 → num
-
no setter
- unsignedInt5999Rev → num
-
no setter
- unsignedIntSampler2d → num
-
no setter
- unsignedIntSampler2dArray → num
-
no setter
- unsignedIntSampler3d → num
-
no setter
- unsignedIntSamplerCube → num
-
no setter
- unsignedIntVec2 → num
-
no setter
- unsignedIntVec3 → num
-
no setter
- unsignedIntVec4 → num
-
no setter
- unsignedNormalized → num
-
no setter
- vertexArrayBinding → num
-
no setter
- vertexAttribArrayDivisor → num
-
no setter
- vertexAttribArrayInteger → num
-
no setter
- waitFailed → num
-
no setter