* @internal
(pass: PostProcessPass)
| 430 | * @internal |
| 431 | */ |
| 432 | _removePostProcessPass(pass: PostProcessPass): void { |
| 433 | const passes = this._postProcessPasses; |
| 434 | const index = passes.indexOf(pass); |
| 435 | if (index !== -1) { |
| 436 | passes.splice(index, 1); |
| 437 | |
| 438 | pass.isActive && (this._postProcessPassNeedRefresh = true); |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * @internal |