diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-01-12 20:44:02 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-01-12 20:44:02 -0300 |
commit | 30d36581100f0bf71c6d2502be9a03443bdf8708 (patch) | |
tree | 2ac0ce5967e150269a71bece0ea0bd16c3eb1054 /servers/visual/visual_server_wrap_mt.h | |
parent | 544ce2a1dbaa5548490c975c2f6f6ed7c21377b9 (diff) |
-fixed issue with shader not being reset on layers, closes #1199
-ability for shader to use parent shader and params, closes #1198
Diffstat (limited to 'servers/visual/visual_server_wrap_mt.h')
-rw-r--r-- | servers/visual/visual_server_wrap_mt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/visual/visual_server_wrap_mt.h b/servers/visual/visual_server_wrap_mt.h index 300aba4551..c344161445 100644 --- a/servers/visual/visual_server_wrap_mt.h +++ b/servers/visual/visual_server_wrap_mt.h @@ -1136,6 +1136,9 @@ public: FUNC2(canvas_item_set_shader,RID, RID ); FUNC1RC(RID,canvas_item_get_shader,RID ); + FUNC2(canvas_item_set_use_parent_shader,RID, bool ); + + FUNC3(canvas_item_set_shader_param,RID,const StringName&,const Variant&); FUNC2RC(Variant,canvas_item_get_shader_param,RID,const StringName&); |