FlutterAngleTexture class
Constructors
- FlutterAngleTexture.new(FlutterAngle flutterAngle, int textureId, int rboId, int fboId, int depth, AngleOptions options)
-
FlutterAngleTexture.fromSurface(FlutterAngle flutterAngle, int textureId, Pointer<
Void> ? surfaceId, AngleOptions options)
Properties
- depth ↔ int
-
getter/setter pair
- fboId ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- options ↔ AngleOptions
-
getter/setter pair
- rawOpenGl → LibOpenGLES
-
no setter
- rboId ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
surfaceId
↔ Pointer<
Void> ? -
getter/setter pair
- 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