* A method that will be called when recreating textures. If the framebuffer * is auto-sized, it will update its width, height, and density properties. * * @private
()
| 491 | * @private |
| 492 | */ |
| 493 | _updateSize() { |
| 494 | if (this._autoSized) { |
| 495 | this.width = this.renderer.width; |
| 496 | this.height = this.renderer.height; |
| 497 | this.density = this.renderer._pixelDensity; |
| 498 | } |
| 499 | } |
| 500 | |
| 501 | /** |
| 502 | * Called when the canvas that the framebuffer is attached to resizes. If the |