diff options
author | hurikhan <m4r10.5ch14ck@gmail.com> | 2015-01-12 11:30:19 +0800 |
---|---|---|
committer | hurikhan <m4r10.5ch14ck@gmail.com> | 2015-01-12 11:30:19 +0800 |
commit | 6b6c5260488d21c399d389d11e676cce0eba3379 (patch) | |
tree | e0b322c1c293b448e200b40872e9cfdeff1c9230 /servers/visual/visual_server_raster.h | |
parent | c464cd44609e24974cba1cd25315b1e1e1fc8942 (diff) | |
parent | f3dc51fc69ec3a16c6b2a6834ff0a6d933b1ddca (diff) |
Merge branch 'master' into x11-window-management
Diffstat (limited to 'servers/visual/visual_server_raster.h')
-rw-r--r-- | servers/visual/visual_server_raster.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/servers/visual/visual_server_raster.h b/servers/visual/visual_server_raster.h index 81a492611b..098c57480a 100644 --- a/servers/visual/visual_server_raster.h +++ b/servers/visual/visual_server_raster.h @@ -1110,6 +1110,11 @@ public: virtual void canvas_item_set_sort_children_by_y(RID p_item, bool p_enable); virtual void canvas_item_set_z(RID p_item, int p_z); + virtual void canvas_item_set_shader(RID p_item, RID p_shader); + virtual RID canvas_item_get_shader(RID p_item) const; + + virtual void canvas_item_set_shader_param(RID p_canvas_item, const StringName& p_param, const Variant& p_value); + virtual Variant canvas_item_get_shader_param(RID p_canvas_item, const StringName& p_param) const; virtual void canvas_item_clear(RID p_item); virtual void canvas_item_raise(RID p_item); |