From abccbc96314a28f9a9510184c5095bd2826ecc48 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Mon, 2 Sep 2024 14:19:49 +0100 Subject: [PATCH] Update CHANGELOG-v3.85.md --- changelog/3.85/CHANGELOG-v3.85.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog/3.85/CHANGELOG-v3.85.md b/changelog/3.85/CHANGELOG-v3.85.md index 576264d94..67cd307fe 100644 --- a/changelog/3.85/CHANGELOG-v3.85.md +++ b/changelog/3.85/CHANGELOG-v3.85.md @@ -55,6 +55,7 @@ The Loader now has a new feature called `maxRetries`. This specifies the number * The Game `Events#RESUME` event now contains a new parameter `pauseDuration` which is the duration, in ms, that the game was paused for (thanks @samme) * Added `Phaser.Loader.LoaderPlugin#removePack` method to `LoaderPlugin` that removes resources listed in an Asset Pack.(thanks @samme) * When using `Scene.switch` you can now optionally specify a `data` argument, just like with Scene start, which will be passed along to the Scene that was switched to (thanks @wooseok123) +* `PRE_RENDER_CLEAR` is a new event dispatched by the WebGL and Canvas Renderer. It's dispatched at the start of the render step, immediately before the canvas is cleared. This allows you to toggle the `clearBeforeRender` property as required, to have fine-grained control over when the canvas is cleared during render. # WebGL Rendering Updates