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