summaryrefslogtreecommitdiff
path: root/servers/visual_server.h
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2019-05-08 11:25:34 -0700
committerclayjohn <claynjohn@gmail.com>2019-05-13 15:20:15 -0700
commit65c211d30325b4d4573cb049508d3d59ecff6214 (patch)
tree61469243f98fb2aabb4dda74b237132839b29df5 /servers/visual_server.h
parent86a74e2cb3f22b1d7f84f41cce673679d1b08a18 (diff)
Implement ability to render viewports directly to screen
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 5146ca47f1..01be996bfc 100644
--- a/servers/visual_server.h
+++ b/servers/visual_server.h
@@ -610,6 +610,7 @@ public:
virtual void viewport_set_parent_viewport(RID p_viewport, RID p_parent_viewport) = 0;
virtual void viewport_attach_to_screen(RID p_viewport, const Rect2 &p_rect = Rect2(), int p_screen = 0) = 0;
+ virtual void viewport_set_render_direct_to_screen(RID p_viewport, bool p_enable) = 0;
virtual void viewport_detach(RID p_viewport) = 0;
enum ViewportUpdateMode {