ExternalRenderTarget.texture constructor

ExternalRenderTarget.texture(
  1. Texture color, {
  2. Color? backgroundColor,
})

Wraps color, a texture the caller created with render-target usage.

Implementation

ExternalRenderTarget.texture(this.color, {this.backgroundColor})
  : surfaceFrame = null;