FlutterAngleTexture class

Constructors

FlutterAngleTexture.new(FlutterAngle flutterAngle, int textureId, int rboId, int surfaceId, HTMLCanvasElement? element, int fboId, int loc, AngleOptions options)

Properties

element → HTMLCanvasElement?
final
fboId int
final
hashCode int
The hash code for this object.
no setterinherited
loc int
final
options AngleOptions
getter/setter pair
rawOpenGl LibOpenGLES
no setter
rboId int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surfaceId int
final
textureId int
final

Methods

activate() → void
As you can have multiple Texture objects, but WebGL allways draws in the currently active one you have to call this function if you use more than one Textureobject before you can start rendering on it. If you forget it you will render into the wrong Texture.
getContext() RenderingContext
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signalNewFrameAvailable() Future<void>
Whenever you finished your rendering you have to call this function to signal the Flutterengine that it can display the rendering Despite this being an asyc function it probably doesn't make sense to await it
toMap() Map<String, int>
toString() String
A string representation of this object.
inherited

Operators

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