ExternalTextureUpdate class sealed Assets and loading
When an ExternalTexture re-captures its source.
The same shape as WidgetUpdatePolicy and RenderTextureUpdate, so every
live texture in the engine shares one mental model.
Constructors
- ExternalTextureUpdate.interval(Duration duration)
-
Capture at most once per
duration. Use for a video on a distant billboard, or any source that does not need to be current.constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- everyFrame → const ExternalTextureUpdate
- Capture on every frame that draws this source (the default).
- manual → const ExternalTextureUpdate
- Capture only when ExternalTexture.requestCapture is called.