FlutterAngleTexture class
Constructors
- FlutterAngleTexture(int textureId, int rboId, int metalAsGLTextureId, int androidSurface, CanvasElement? element, int fboId, AngleOptions options)
Properties
- androidSurface ↔ int
-
latefinal
- element → CanvasElement?
-
final
- fboId → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metalAsGLTextureId → 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
- 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
Static Methods
-
fromMap(
dynamic map, CanvasElement? element, int fboId, AngleOptions options) → FlutterAngleTexture