From 65c211d30325b4d4573cb049508d3d59ecff6214 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Wed, 8 May 2019 11:25:34 -0700 Subject: Implement ability to render viewports directly to screen --- servers/visual_server.h | 1 + 1 file changed, 1 insertion(+) (limited to 'servers/visual_server.h') 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 { -- cgit v1.2.3