TextureLayer constructor
- required Rect rect,
- required int textureId,
- bool freeze = false,
- FilterQuality filterQuality = ui.FilterQuality.low,
Creates a texture layer bounded by rect
and with backend texture
identified by textureId
, if freeze
is true new texture frames will not be
populated to the texture, and use filterQuality
to set layer's FilterQuality.
Implementation
TextureLayer({
required this.rect,
required this.textureId,
this.freeze = false,
this.filterQuality = ui.FilterQuality.low,
});