dispose method

dynamic dispose()

Implementation

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

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

  renderTargetBright.dispose();
}