summaryrefslogtreecommitdiff
path: root/servers/visual/visual_server_wrap_mt.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-01-13 15:37:24 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:15:03 +0100
commitf14defb6f9713a4adf1b7565d2bcbe13393f3f81 (patch)
treec7cb38a1d9857e543fef12db34edf4ed589b04cb /servers/visual/visual_server_wrap_mt.h
parentbd364d1447ea3b745299c6460d6d90acd8637ab5 (diff)
WIP CameraEffects implementation (bokeh not working for now)
Diffstat (limited to 'servers/visual/visual_server_wrap_mt.h')
-rw-r--r--servers/visual/visual_server_wrap_mt.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/servers/visual/visual_server_wrap_mt.h b/servers/visual/visual_server_wrap_mt.h
index 201d60cb40..0d40a4e1ea 100644
--- a/servers/visual/visual_server_wrap_mt.h
+++ b/servers/visual/visual_server_wrap_mt.h
@@ -363,6 +363,7 @@ public:
FUNC2(camera_set_transform, RID, const Transform &)
FUNC2(camera_set_cull_mask, RID, uint32_t)
FUNC2(camera_set_environment, RID, RID)
+ FUNC2(camera_set_camera_effects, RID, RID)
FUNC2(camera_set_use_vertical_aspect, RID, bool)
/* VIEWPORT TARGET API */
@@ -440,8 +441,6 @@ public:
FUNC7(environment_set_ssr, RID, bool, int, float, float, float, bool)
FUNC13(environment_set_ssao, RID, bool, float, float, float, float, float, float, float, const Color &, EnvironmentSSAOQuality, EnvironmentSSAOBlur, float)
- FUNC6(environment_set_dof_blur_near, RID, bool, float, float, float, EnvironmentDOFBlurQuality)
- FUNC6(environment_set_dof_blur_far, RID, bool, float, float, float, EnvironmentDOFBlurQuality)
FUNC12(environment_set_glow, RID, bool, int, float, float, float, float, EnvironmentGlowBlendMode, float, float, float, bool)
FUNC9(environment_set_tonemap, RID, EnvironmentToneMapper, float, float, bool, float, float, float, float)
@@ -452,10 +451,16 @@ public:
FUNC7(environment_set_fog_depth, RID, bool, float, float, float, bool, float)
FUNC5(environment_set_fog_height, RID, bool, float, float, float)
+ FUNCRID(camera_effects)
+
+ FUNC9(camera_effects_set_dof_blur, RID, bool, float, float, bool, float, float, float, DOFBlurQuality)
+ FUNC3(camera_effects_set_custom_exposure, RID, bool, float)
+
FUNCRID(scenario)
FUNC2(scenario_set_debug, RID, ScenarioDebugMode)
FUNC2(scenario_set_environment, RID, RID)
+ FUNC2(scenario_set_camera_effects, RID, RID)
FUNC2(scenario_set_fallback_environment, RID, RID)
/* INSTANCING API */
@@ -624,8 +629,12 @@ public:
FUNC1(set_debug_generate_wireframes, bool)
- virtual bool has_feature(Features p_feature) const { return visual_server->has_feature(p_feature); }
- virtual bool has_os_feature(const String &p_feature) const { return visual_server->has_os_feature(p_feature); }
+ virtual bool has_feature(Features p_feature) const {
+ return visual_server->has_feature(p_feature);
+ }
+ virtual bool has_os_feature(const String &p_feature) const {
+ return visual_server->has_os_feature(p_feature);
+ }
FUNC1(call_set_use_vsync, bool)