* Toggles the framebuffer's autosizing mode or returns the current mode. * * By default, the framebuffer automatically resizes to match the canvas * that created it. Calling `myBuffer.autoSized(false)` disables this * behavior and calling `myBuffer.autoSized(true)` re-enables it. *
(autoSized)
| 334 | * } |
| 335 | */ |
| 336 | autoSized(autoSized) { |
| 337 | if (autoSized === undefined) { |
| 338 | return this._autoSized; |
| 339 | } else { |
| 340 | this._autoSized = autoSized; |
| 341 | this._handleResize(); |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | /** |
| 346 | * Checks the capabilities of the current WebGL environment to see if the |
no test coverage detected