insertPass method

dynamic insertPass(
  1. dynamic pass,
  2. dynamic index
)

Implementation

insertPass(pass, index) {
  splice(this.passes, index, 0, pass);
  pass.setSize(
      this._width * this._pixelRatio, this._height * this._pixelRatio);
}