RenderTextureUpdate class sealed Rendering
When a RenderTexture re-renders.
The same shape as WidgetUpdatePolicy (the widget-to-texture
direction), so both capture pipelines share one mental model.
Constructors
- RenderTextureUpdate.interval(Duration duration)
-
Re-render at most once per
duration(a minimap or telemetry view that doesn't need every frame).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 RenderTextureUpdate
- Re-render every frame the owning scene renders (the default). Use for mirrors and live monitors; each enabled target adds a full render pass per frame, so prefer interval or manual for content that changes rarely.
- manual → const RenderTextureUpdate
- Render once when first wired, then only when RenderTexture.requestUpdate is called.