RenderTextureResource class

An offscreen render target a serialized render view draws into and materials sample by id (the runtime RenderTexture).

Inheritance

Constructors

RenderTextureResource(LocalId id, {required int width, required int height, String update = 'everyFrame', int? intervalMilliseconds, String filter = 'linear', String wrap = 'clampToEdge'})
Creates a render-texture resource.

Properties

filter → String
The sampling filter name (linear, nearest).
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
Target height in physical pixels.
final
id → LocalId
This resource's stable, document-scoped id.
finalinherited
intervalMilliseconds → int?
The interval for the interval policy, in milliseconds.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
update → String
The update policy name (everyFrame, interval, manual), mapped to the runtime RenderTextureUpdate at realization.
final
width → int
Target width in physical pixels.
final
wrap → String
The sampling wrap-mode name (clampToEdge, repeat, mirror).
final

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