insertPass method

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

Implementation

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