summaryrefslogtreecommitdiff
path: root/servers/rendering/rendering_server_canvas.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-10-28 22:29:59 -0300
committerGitHub <noreply@github.com>2020-10-28 22:29:59 -0300
commit50da616eeb9e3566058983bcb29f36e36a45e9df (patch)
tree78db1fcd329a1f74a2f84f687fd4a5405a9fdf2c /servers/rendering/rendering_server_canvas.h
parent2eaedcf14e515eb589885025b46d0aedc492830a (diff)
parenta65481dd35615a4371ca63a4661742abe182cb23 (diff)
Merge pull request #43167 from reduz/canvas-group
Implement CanvasGroup and CanvasItem clipping
Diffstat (limited to 'servers/rendering/rendering_server_canvas.h')
-rw-r--r--servers/rendering/rendering_server_canvas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/rendering_server_canvas.h b/servers/rendering/rendering_server_canvas.h
index 16edfd54e1..8eed6e72d9 100644
--- a/servers/rendering/rendering_server_canvas.h
+++ b/servers/rendering/rendering_server_canvas.h
@@ -216,6 +216,8 @@ public:
void canvas_item_set_use_parent_material(RID p_item, bool p_enable);
+ void canvas_item_set_canvas_group_mode(RID p_item, RS::CanvasGroupMode p_mode, float p_clear_margin = 5.0, bool p_fit_empty = false, float p_fit_margin = 0.0, bool p_blur_mipmaps = false);
+
RID canvas_light_create();
void canvas_light_attach_to_canvas(RID p_light, RID p_canvas);
void canvas_light_set_enabled(RID p_light, bool p_enabled);