diff options
author | David Snopek <dsnopek@gmail.com> | 2022-11-03 08:47:28 -0500 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2022-11-03 13:03:30 -0500 |
commit | 7fb8b931d7547fe1f02febc9cca636ef187d2942 (patch) | |
tree | 922df3a645c87ee6fb6aa09b23e9db1cfd1404fb /servers/rendering/dummy | |
parent | c0de8d32d51d579e6dc1a5aac3fbcd6c7104eb61 (diff) |
Collapse three seperate texture storage methods into render_target_set_override()
Diffstat (limited to 'servers/rendering/dummy')
-rw-r--r-- | servers/rendering/dummy/storage/texture_storage.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/servers/rendering/dummy/storage/texture_storage.h b/servers/rendering/dummy/storage/texture_storage.h index 98acd5ad74..ad28dd68c3 100644 --- a/servers/rendering/dummy/storage/texture_storage.h +++ b/servers/rendering/dummy/storage/texture_storage.h @@ -184,11 +184,9 @@ public: virtual void render_target_set_vrs_texture(RID p_render_target, RID p_texture) override {} virtual RID render_target_get_vrs_texture(RID p_render_target) const override { return RID(); } - virtual void render_target_set_override_color(RID p_render_target, RID p_texture) override {} + virtual void render_target_set_override(RID p_render_target, RID p_color_texture, RID p_depth_texture, RID p_velocity_texture) override {} virtual RID render_target_get_override_color(RID p_render_target) const override { return RID(); } - virtual void render_target_set_override_depth(RID p_render_target, RID p_texture) override {} virtual RID render_target_get_override_depth(RID p_render_target) const override { return RID(); } - virtual void render_target_set_override_velocity(RID p_render_target, RID p_texture) override {} virtual RID render_target_get_override_velocity(RID p_render_target) const override { return RID(); } virtual RID render_target_get_texture(RID p_render_target) override { return RID(); } |