summaryrefslogtreecommitdiff
path: root/servers/visual_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/visual_server.h')
-rw-r--r--servers/visual_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h
index 6f759dcf05..5edf333e65 100644
--- a/servers/visual_server.h
+++ b/servers/visual_server.h
@@ -992,6 +992,8 @@ public:
virtual void canvas_item_set_shader(RID p_item, RID p_shader)=0;
virtual RID canvas_item_get_shader(RID p_item) const=0;
+ virtual void canvas_item_set_use_parent_shader(RID p_item, bool p_enable)=0;
+
virtual void canvas_item_set_shader_param(RID p_canvas_item, const StringName& p_param, const Variant& p_value)=0;
virtual Variant canvas_item_get_shader_param(RID p_canvas_item, const StringName& p_param) const=0;