addPass method

dynamic addPass(
  1. dynamic pass
)

Implementation

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