dispose method

dynamic dispose()

Implementation

dispose() {
  for (var i = 0; i < this.renderTargetsHorizontal.length; i++) {
    this.renderTargetsHorizontal[i].dispose();
  }

  for (var i = 0; i < this.renderTargetsVertical.length; i++) {
    this.renderTargetsVertical[i].dispose();
  }

  this.renderTargetBright.dispose();
}