diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-04 10:06:50 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-04 10:06:50 +0100 |
commit | c1fd7a0c8b02c813b428d1d81144f3ab5a8246a4 (patch) | |
tree | 44a47c901424b7ee1556548484e3acb6a657a02f /drivers | |
parent | 21675625a02a10c0b00b2826161d6382364cbc69 (diff) | |
parent | 7fb8b931d7547fe1f02febc9cca636ef187d2942 (diff) |
Merge pull request #68212 from dsnopek/rt-override-one-method
Collapse three seperate texture storage methods into render_target_set_override()
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles3/storage/texture_storage.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gles3/storage/texture_storage.h b/drivers/gles3/storage/texture_storage.h index 0b025c4370..35fa16c894 100644 --- a/drivers/gles3/storage/texture_storage.h +++ b/drivers/gles3/storage/texture_storage.h @@ -593,11 +593,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; |