WebGLState class
Methods
-
activeTexture(int? webglSlot)
→ void
-
-
bindFramebuffer(dynamic target, Framebuffer? framebuffer)
→ bool
-
-
bindTexture(int webglType, WebGLTexture? webglTexture, [int? webglSlot])
→ void
-
-
bindXRFramebuffer(Framebuffer? framebuffer)
→ void
-
-
compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, NativeArray<num>? pixels)
→ void
-
-
compressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, NativeArray<num>? data)
→ void
-
-
compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, NativeArray<num>? pixels)
→ void
-
-
compressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, NativeArray<num>? data)
→ void
-
-
createTexture(int type, int target, int count)
→ WebGLTexture
-
-
disable(dynamic id)
→ void
-
-
dispose()
→ void
-
-
drawBuffers(RenderTarget? renderTarget, Framebuffer? framebuffer)
→ void
-
-
enable(dynamic id)
→ void
-
-
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 = false])
→ void
-
-
setCullFace(int cullFace)
→ void
-
-
setFlipSided(bool flipSided)
→ void
-
-
setLineWidth(dynamic width)
→ void
-
-
setMaterial(Material material, bool frontFaceCW)
→ void
-
-
setPolygonOffset(bool polygonOffset, [double? factor, double? units])
→ void
-
-
setScissorTest(bool scissorTest)
→ void
-
-
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, num width, num height, int glFormat, int glType, NativeArray<num> data)
→ void
-
-
texSubImage2DIf(int target, int level, int x, int y, int glFormat, int glType, ImageElement image)
→ void
-
-
texSubImage2DNoSize(int target, int level, int x, int y, int glFormat, int glType, dynamic data)
→ void
-
-
texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, NativeArray<num>? pixels)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
unbindTexture([WebGLTexture? texture])
→ void
-
-
uniformBlockBinding(dynamic uniformsGroup, dynamic program)
→ void
-
-
updateUBOMapping(UniformsGroup uniformsGroup, Program program)
→ void
-
-
useProgram(Program? program)
→ bool
-
-
viewport(Vector4 viewport)
→ void
-