DVSceneCanvasRenderer class abstract interface

A renderer that draws onto a Flutter canvas: the shape a Flutter GPU adapter takes, rendering to a texture and drawing it here.

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
For reports, e.g. flutter_gpu.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Called once, after every resource has been released.
inherited
initialize() → FutureOr<DV3DDegradation>
Starts the renderer. DV3DDegradation.none when it can draw; a renderer that throws is treated as DV3DDegradation.gpuInitFailed.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Size size, DVSceneFrame frame) → void
release(DVSceneResource resource) → void
Frees resource. Called exactly once per upload.
inherited
render(DVSceneFrame frame) → void
inherited
toString() → String
A string representation of this object.
inherited
upload(String assetKey, DVSceneAsset asset, DVSceneAssetState loaded) → DVSceneResource
Makes a resource from a loaded asset.
inherited

Operators

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