diff options
author | bitsawer <sawerduster@gmail.com> | 2023-08-30 16:25:27 +0300 |
---|---|---|
committer | bitsawer <sawerduster@gmail.com> | 2023-08-30 19:50:05 +0300 |
commit | 836705d7a98e57a4ec9d315636785d9e9ef11361 (patch) | |
tree | 9b130690857e1bf6f93ee74389d951c169e21659 /servers/rendering/environment | |
parent | bc88dca176cef6b8943ded58c68a60f7c127baea (diff) | |
download | redot-engine-836705d7a98e57a4ec9d315636785d9e9ef11361.tar.gz |
Reset SDFGI when changing editor scene tabs
Diffstat (limited to 'servers/rendering/environment')
-rw-r--r-- | servers/rendering/environment/renderer_gi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/environment/renderer_gi.h b/servers/rendering/environment/renderer_gi.h index 6eff319882..94e2c1afda 100644 --- a/servers/rendering/environment/renderer_gi.h +++ b/servers/rendering/environment/renderer_gi.h @@ -79,6 +79,8 @@ public: virtual bool voxel_gi_is_using_two_bounces(RID p_voxel_gi) const = 0; virtual uint32_t voxel_gi_get_version(RID p_probe) const = 0; + + virtual void sdfgi_reset() = 0; }; #endif // RENDERER_GI_H |