summaryrefslogtreecommitdiff
path: root/servers/rendering/rendering_server_wrap_mt.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-10-19 14:15:44 -0300
committerGitHub <noreply@github.com>2020-10-19 14:15:44 -0300
commit85ebf40b6c2c08ea692b574d6221bce5e8021a31 (patch)
treef08104462d24394b4aa418b609c7b155a9b83761 /servers/rendering/rendering_server_wrap_mt.h
parent5f65eba5c45e97b670a5b02bede10ee8cf085d2c (diff)
parent88915790681c7a76c4b6b76aca6b811b17055a33 (diff)
Merge pull request #38097 from Calinou/add-viewport-debanding
Add a debanding property to Viewport
Diffstat (limited to 'servers/rendering/rendering_server_wrap_mt.h')
-rw-r--r--servers/rendering/rendering_server_wrap_mt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/rendering_server_wrap_mt.h b/servers/rendering/rendering_server_wrap_mt.h
index 305a3aaee7..c2337f8c9e 100644
--- a/servers/rendering/rendering_server_wrap_mt.h
+++ b/servers/rendering/rendering_server_wrap_mt.h
@@ -438,6 +438,7 @@ public:
FUNC3(viewport_set_shadow_atlas_quadrant_subdivision, RID, int, int)
FUNC2(viewport_set_msaa, RID, ViewportMSAA)
FUNC2(viewport_set_screen_space_aa, RID, ViewportScreenSpaceAA)
+ FUNC2(viewport_set_use_debanding, RID, bool)
//this passes directly to avoid stalling, but it's pretty dangerous, so don't call after freeing a viewport
virtual int viewport_get_render_info(RID p_viewport, ViewportRenderInfo p_info) {