* Updates the size of this pass. * * @param {Number} width - The width. * @param {Number} height - The height.
(width, height)
| 186 | */ |
| 187 | |
| 188 | setSize(width, height) { |
| 189 | |
| 190 | const resolution = this.resolution; |
| 191 | resolution.setBaseSize(width, height); |
| 192 | this.renderTarget.setSize(resolution.width, resolution.height); |
| 193 | |
| 194 | } |
| 195 | |
| 196 | } |
no test coverage detected