setRenderTarget method

dynamic setRenderTarget(
  1. dynamic renderTarget
)

Implementation

setRenderTarget(renderTarget) {
  this._renderTarget = renderTarget;

  if (renderTarget != null) {
    this._textures.initRenderTarget(renderTarget);
  }
}