summaryrefslogtreecommitdiff
path: root/servers/visual/visual_server_viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/visual/visual_server_viewport.h')
-rw-r--r--servers/visual/visual_server_viewport.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/servers/visual/visual_server_viewport.h b/servers/visual/visual_server_viewport.h
index f701e3612a..eecbe0d1db 100644
--- a/servers/visual/visual_server_viewport.h
+++ b/servers/visual/visual_server_viewport.h
@@ -56,6 +56,9 @@ public:
VS::ViewportUpdateMode update_mode;
RID render_target;
RID render_target_texture;
+ RID render_buffers;
+
+ VS::ViewportMSAA msaa;
int viewport_to_screen;
Rect2 viewport_to_screen_rect;
@@ -64,7 +67,6 @@ public:
bool hide_scenario;
bool hide_canvas;
bool disable_environment;
- bool disable_3d;
bool disable_3d_by_usage;
bool keep_3d_linear;
@@ -117,10 +119,9 @@ public:
disable_environment = false;
viewport_to_screen = 0;
shadow_atlas_size = 0;
- disable_3d = false;
- disable_3d_by_usage = false;
keep_3d_linear = false;
debug_draw = VS::VIEWPORT_DEBUG_DRAW_DISABLED;
+ msaa = VS::VIEWPORT_MSAA_DISABLED;
for (int i = 0; i < VS::VIEWPORT_RENDER_INFO_MAX; i++) {
render_info[i] = 0;
}
@@ -174,8 +175,6 @@ public:
void viewport_set_hide_scenario(RID p_viewport, bool p_hide);
void viewport_set_hide_canvas(RID p_viewport, bool p_hide);
void viewport_set_disable_environment(RID p_viewport, bool p_disable);
- void viewport_set_disable_3d(RID p_viewport, bool p_disable);
- void viewport_set_keep_3d_linear(RID p_viewport, bool p_keep_3d_linear);
void viewport_attach_camera(RID p_viewport, RID p_camera);
void viewport_set_scenario(RID p_viewport, RID p_scenario);
@@ -191,8 +190,6 @@ public:
void viewport_set_shadow_atlas_quadrant_subdivision(RID p_viewport, int p_quadrant, int p_subdiv);
void viewport_set_msaa(RID p_viewport, VS::ViewportMSAA p_msaa);
- void viewport_set_hdr(RID p_viewport, bool p_enabled);
- void viewport_set_usage(RID p_viewport, VS::ViewportUsage p_usage);
virtual int viewport_get_render_info(RID p_viewport, VS::ViewportRenderInfo p_info);
virtual void viewport_set_debug_draw(RID p_viewport, VS::ViewportDebugDraw p_draw);