addPass method

dynamic addPass(
  1. dynamic pass
)

Implementation

addPass(pass) {
  passes.add(pass);
  pass.setSize(_width * _pixelRatio, _height * _pixelRatio);
}