diff options
author | Juan Linietsky <reduzio@gmail.com> | 2020-04-12 11:46:14 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 11:46:14 -0300 |
commit | d160644c88278f55d0bf51560747d88aa0ef59e8 (patch) | |
tree | 7c5a57febf2fb41dd5685295e44ad41f8472be0a /servers/rendering_server.h | |
parent | 1846d33b5f0543eadd29859f2a764e9262af58f8 (diff) | |
parent | 16ae2cc1bf7e29acff36eb00e8503f81a896f897 (diff) |
Merge pull request #37819 from reduz/implement-fxaa
Add screen space AA option, with FXAA implementation.
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r-- | servers/rendering_server.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h index df91fc59bc..820a2332bc 100644 --- a/servers/rendering_server.h +++ b/servers/rendering_server.h @@ -639,6 +639,12 @@ public: virtual void viewport_set_msaa(RID p_viewport, ViewportMSAA p_msaa) = 0; + enum ViewportScreenSpaceAA { + VIEWPORT_SCREEN_SPACE_AA_DISABLED, + VIEWPORT_SCREEN_SPACE_AA_FXAA, + }; + virtual void viewport_set_screen_space_aa(RID p_viewport, ViewportScreenSpaceAA p_mode) = 0; + enum ViewportRenderInfo { VIEWPORT_RENDER_INFO_OBJECTS_IN_FRAME, |