summaryrefslogtreecommitdiff
path: root/servers/rendering/storage
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2022-08-13 01:02:32 +0200
committerHendrik Brucker <hendrik.brucker@mail.de>2022-08-13 01:09:48 +0200
commite96b1a2c0c46f575454603631e85daf78081764a (patch)
treeba270cb9b65cd6199c05d9c33293c2749355027f /servers/rendering/storage
parentf2a61684143af02a8cbe7002645af817607f9bd6 (diff)
Implement MSAA for 2D [Vulkan only]
Diffstat (limited to 'servers/rendering/storage')
-rw-r--r--servers/rendering/storage/texture_storage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/storage/texture_storage.h b/servers/rendering/storage/texture_storage.h
index 982ab4a958..08ff88d4a5 100644
--- a/servers/rendering/storage/texture_storage.h
+++ b/servers/rendering/storage/texture_storage.h
@@ -133,6 +133,7 @@ public:
virtual void render_target_set_direct_to_screen(RID p_render_target, bool p_direct_to_screen) = 0;
virtual bool render_target_was_used(RID p_render_target) = 0;
virtual void render_target_set_as_unused(RID p_render_target) = 0;
+ virtual void render_target_set_msaa(RID p_render_target, RS::ViewportMSAA p_msaa) = 0;
virtual void render_target_request_clear(RID p_render_target, const Color &p_clear_color) = 0;
virtual bool render_target_is_clear_requested(RID p_render_target) = 0;