summaryrefslogtreecommitdiff
path: root/servers/visual_server.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2018-04-30 22:30:11 +1000
committerBastiaan Olij <mux213@gmail.com>2018-05-06 19:28:09 +1000
commit6f7fefa489bb303301850befc9ea8eb573d33774 (patch)
tree29324e63ecae168d168b86f2b375c2fa29e98477 /servers/visual_server.h
parent2bf71d0eeadbd2e497b1555bf1f04993f7f3d63a (diff)
Added option to viewport to keep linear color
Diffstat (limited to 'servers/visual_server.h')
-rw-r--r--servers/visual_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h
index a92480f81b..e1bbf9f8eb 100644
--- a/servers/visual_server.h
+++ b/servers/visual_server.h
@@ -592,6 +592,7 @@ public:
virtual void viewport_set_hide_canvas(RID p_viewport, bool p_hide) = 0;
virtual void viewport_set_disable_environment(RID p_viewport, bool p_disable) = 0;
virtual void viewport_set_disable_3d(RID p_viewport, bool p_disable) = 0;
+ virtual void viewport_set_keep_3d_linear(RID p_viewport, bool p_disable) = 0;
virtual void viewport_attach_camera(RID p_viewport, RID p_camera) = 0;
virtual void viewport_set_scenario(RID p_viewport, RID p_scenario) = 0;