Update CHANGELOG-v3.85.md

This commit is contained in:
Richard Davey 2024-06-10 11:56:08 +01:00
parent 3212f6ff33
commit ea78ec7822
No known key found for this signature in database

View file

@ -3,7 +3,8 @@
# New Features
* `BaseSoundManager.isPlaying` is a new method that will return a boolean if the given sound key is playing. If you don't provide a key, it will return a boolean if any sound is playing (thanks @samme)
* Added `dispatchContextLost` and `dispatchContextRestored` internal methods called by `contextLostHandler` and `contextRestoredHandler` for custom context overrides and error tracking. (@yaustar)
* `WebGLRenderer.dispatchContextLost` is a new internal method that is called when the WebGL context is lost. By default this is bound to the property `WebGLRenderer.contextLostHandler`. If you override the context loss handler, be sure to invoke this method in due course.
* `WebGLRenderer.dispatchContextRestore` is a new internal method that is called when the WebGL context is restored. By default this is bound to the property `WebGLRenderer.contextRestoreHandler`. If you override the context restore handler, be sure to invoke this method in due course (thanks @yaustar)
# WebGL Rendering Updates