WebGLState class

Constructors

WebGLState(dynamic gl, WebGLExtensions extensions, WebGLCapabilities capabilities)

Properties

buffers Map<String, dynamic>
no setter
capabilities WebGLCapabilities
getter/setter pair
colorBuffer ColorBuffer
getter/setter pair
currentBlendDst int?
getter/setter pair
currentBlendDstAlpha int?
getter/setter pair
currentBlendEquation int?
getter/setter pair
currentBlendEquationAlpha int?
getter/setter pair
currentBlending int?
getter/setter pair
currentBlendingEnabled bool
getter/setter pair
currentBlendSrc int?
getter/setter pair
currentBlendSrcAlpha int?
getter/setter pair
currentBoundFramebuffers Map
getter/setter pair
currentBoundTextures Map<int, BoundTexture>
getter/setter pair
currentCullFace int?
getter/setter pair
currentDrawbuffers WeakMap
getter/setter pair
currentFlipSided bool?
getter/setter pair
currentLineWidth num?
getter/setter pair
currentPolygonOffsetFactor num?
getter/setter pair
currentPolygonOffsetUnits num?
getter/setter pair
currentPremultipledAlpha bool?
getter/setter pair
currentProgram ↔ dynamic
getter/setter pair
currentScissor Vector4
getter/setter pair
currentTextureSlot int?
getter/setter pair
currentViewport Vector4
getter/setter pair
defaultDrawbuffers List
getter/setter pair
depthBuffer DepthBuffer
getter/setter pair
emptyTextures Map<int, dynamic>
getter/setter pair
enabledCapabilities Map<int, bool>
getter/setter pair
equationToGL Map<int, int>
getter/setter pair
extensions WebGLExtensions
getter/setter pair
factorToGL Map<int, int>
getter/setter pair
gl ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isWebGL2 bool
getter/setter pair
lineWidthAvailable bool
getter/setter pair
maxTextures int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scissorParam ↔ dynamic
getter/setter pair
stencilBuffer StencilBuffer
getter/setter pair
viewportParam ↔ dynamic
getter/setter pair
xrFramebuffer ↔ dynamic
getter/setter pair

Methods

activeTexture(int? webglSlot) → dynamic
bindFramebuffer(dynamic target, dynamic framebuffer) → dynamic
bindTexture(dynamic webglType, dynamic webglTexture) → dynamic
bindXRFramebuffer(dynamic framebuffer) → dynamic
compressedTexImage2D(dynamic target, dynamic level, dynamic internalformat, dynamic width, dynamic height, dynamic border, dynamic pixels) → dynamic
compressedTexSubImage2D(dynamic target, dynamic level, dynamic xoffset, dynamic yoffset, dynamic width, dynamic height, dynamic format, dynamic pixels) → void
createTexture(int type, int target, int count) → dynamic
disable(dynamic id) → dynamic
drawBuffers(dynamic renderTarget, dynamic framebuffer) → dynamic
enable(dynamic id) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
scissor(Vector4 scissor) → void
setBlending(int blending, [int? blendEquation, int? blendSrc, int? blendDst, int? blendEquationAlpha, int? blendSrcAlpha, int? blendDstAlpha, bool? premultipliedAlpha]) → dynamic
setCullFace(int cullFace) → dynamic
setFlipSided(bool flipSided) → dynamic
setLineWidth(dynamic width) → dynamic
setMaterial(Material material, bool frontFaceCW) → void
setPolygonOffset(bool polygonOffset, num? factor, num? units) → dynamic
setScissorTest(bool scissorTest) → dynamic
texImage2D(int target, int level, int internalformat, int width, int height, dynamic border, int format, int type, dynamic data) → void
texImage2DIf(int target, int level, int internalformat, int format, int type, dynamic image) → void
texImage2DNoSize(int target, int level, int internalformat, int format, int type, dynamic data) → void
texImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, dynamic offset) → void
texStorage2D(int type, int levels, int glInternalFormat, int width, int height) → void
texStorage3D(dynamic target, dynamic levels, dynamic internalformat, dynamic width, dynamic height, dynamic depth) → void
texSubImage2D(int target, int level, int x, int y, dynamic width, dynamic height, int glFormat, int glType, NativeArray<num> data) → dynamic
texSubImage2DIf(dynamic target, dynamic level, dynamic x, dynamic y, dynamic glFormat, dynamic glType, dynamic image) → void
texSubImage2DNoSize(dynamic target, dynamic level, dynamic x, dynamic y, dynamic glFormat, dynamic glType, dynamic data) → void
texSubImage3D(dynamic target, dynamic level, dynamic xoffset, dynamic yoffset, dynamic zoffset, dynamic width, dynamic height, dynamic depth, dynamic format, dynamic type, dynamic pixels) → void
toString() String
A string representation of this object.
inherited
unbindTexture() → dynamic
useProgram(dynamic program) → dynamic
viewport(Vector4 viewport) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited