diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-06-24 08:58:27 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-06-24 08:58:27 -0300 |
commit | 0cac32910a1026517b9fc782d72824c80baf676e (patch) | |
tree | 67b03361c481f24eefabfdc2eb55ab0cdf86b3e9 /servers/visual/rasterizer.h | |
parent | 6ba1e4677ba15992c750bddffcb9f1eacd1558a1 (diff) |
-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!
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r-- | servers/visual/rasterizer.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |