()
| 464 | } |
| 465 | |
| 466 | _resetBuffersBeforeDraw() { |
| 467 | this.GL.clearStencil(0); |
| 468 | this.GL.clear(this.GL.DEPTH_BUFFER_BIT | this.GL.STENCIL_BUFFER_BIT); |
| 469 | if (!this._userEnabledStencil) { |
| 470 | this._internalDisable.call(this.GL, this.GL.STENCIL_TEST); |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | _applyClip() { |
| 475 | const gl = this.GL; |