From 0cac32910a1026517b9fc782d72824c80baf676e Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 24 Jun 2017 08:58:27 -0300 Subject: -Restored support for Canvas BG mode on Environment -Improved ease of use of WorldEnvironment (no longer extends Spatial) -2D editor viewport can now work in HDR! --- servers/visual/rasterizer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'servers/visual/rasterizer.h') diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index 43452b714c..2ce83e6c64 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -75,6 +75,10 @@ public: virtual void environment_set_fog_depth(RID p_env, bool p_enable, float p_depth_begin, float p_depth_curve, bool p_transmit, float p_transmit_curve) = 0; virtual void environment_set_fog_height(RID p_env, bool p_enable, float p_min_height, float p_max_height, float p_height_curve) = 0; + virtual bool is_environment(RID p_env) = 0; + virtual VS::EnvironmentBG environment_get_background(RID p_env) = 0; + virtual int environment_get_canvas_max_layer(RID p_env) = 0; + struct InstanceBase : RID_Data { VS::InstanceType base_type; -- cgit v1.2.3