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 /drivers/gles3/rasterizer_scene_gles3.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 'drivers/gles3/rasterizer_scene_gles3.h')
-rw-r--r-- | drivers/gles3/rasterizer_scene_gles3.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gles3/rasterizer_scene_gles3.h b/drivers/gles3/rasterizer_scene_gles3.h index 3e15da52ab..c52a00bf17 100644 --- a/drivers/gles3/rasterizer_scene_gles3.h +++ b/drivers/gles3/rasterizer_scene_gles3.h @@ -536,6 +536,11 @@ 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); virtual void environment_set_fog_height(RID p_env, bool p_enable, float p_min_height, float p_max_height, float p_height_curve); + virtual bool is_environment(RID p_env); + + virtual VS::EnvironmentBG environment_get_background(RID p_env); + virtual int environment_get_canvas_max_layer(RID p_env); + /* LIGHT INSTANCE */ struct LightDataUBO { |