RenderContextWebGL class

Inheritance

Constructors

RenderContextWebGL(CanvasElement canvasElement, { bool alpha: false bool antialias: false })

Properties

activeBlendMode BlendMode
read-only
activeProjectionMatrix Matrix3D
read-only
activeRenderFrameBuffer RenderFrameBuffer
read-only
activeRenderProgram RenderProgram
read-only
activeRenderTexture RenderTexture
read-only
contextIdentifier → int
read-only
contextValid → bool
read-only
rawContext RenderingContext
read-only
renderBufferIndex RenderBufferIndex
final
renderBufferVertex RenderBufferVertex
final
renderEngine RenderEngine
read-only, override
renderProgramSimple RenderProgramSimple
final
renderProgramTinted RenderProgramTinted
final
renderProgramTriangle RenderProgramTriangle
final
hashCode → int
The hash code for this object.
read-only, inherited
onContextLost → Stream<RenderContextEvent>
read-only, inherited
onContextRestored → Stream<RenderContextEvent>
read-only, inherited
renderStatistics RenderStatistics
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

activateBlendMode(BlendMode blendMode) → void
activateProjectionMatrix(Matrix3D matrix) → void
activateRenderFrameBuffer(RenderFrameBuffer renderFrameBuffer) → void
activateRenderProgram(RenderProgram renderProgram) → void
activateRenderStencilBuffer(RenderStencilBuffer renderStencilBuffer) → void
activateRenderTexture(RenderTexture renderTexture) → void
activateRenderTextureAt(RenderTexture renderTexture, int index) → void
beginRenderMask(RenderState renderState, RenderMask mask) → void
override
clear(int color) → void
override
endRenderMask(RenderState renderState, RenderMask mask) → void
override
flush() → void
override
getRenderFrameBuffer(int width int height) RenderFrameBuffer
getRenderProgram<T extends RenderProgram>(String name, T ifAbsent()) → T
releaseRenderFrameBuffer(RenderFrameBuffer renderFrameBuffer) → void
releaseRenderTexture(RenderTexture renderTexture) → void
renderObjectFiltered(RenderState renderState, RenderObject renderObject) → void
override
renderTextureMapping(RenderState renderState, RenderTexture renderTexture, Matrix mappingMatrix, Int16List ixList, Float32List vxList) → void
override
renderTextureMesh(RenderState renderState, RenderTexture renderTexture, Int16List ixList, Float32List vxList) → void
override
renderTextureQuad(RenderState renderState, RenderTextureQuad renderTextureQuad) → void
override
renderTextureQuadFiltered(RenderState renderState, RenderTextureQuad renderTextureQuad, List<RenderFilter> renderFilters) → void
override
renderTriangle(RenderState renderState, num x1, num y1, num x2, num y2, num x3, num y3, int color) → void
override
renderTriangleMesh(RenderState renderState, Int16List ixList, Float32List vxList, int color) → void
override
reset() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited