From 8ab9b397070174aab7b20cdcd97506db25fb919d Mon Sep 17 00:00:00 2001 From: reduz Date: Wed, 28 Oct 2020 15:34:27 -0300 Subject: Implement CanvasGroup and CanvasItem clipping -Allows merging several 2D objects into a single draw operation -Use current node to clip children nodes -Further fixes to Vulkan barriers -Changed font texture generation to white, fixes dark eges when blurred -Other small misc fixes to backbuffer code. --- servers/rendering/rendering_server_wrap_mt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'servers/rendering/rendering_server_wrap_mt.h') diff --git a/servers/rendering/rendering_server_wrap_mt.h b/servers/rendering/rendering_server_wrap_mt.h index 1836f99c99..89fd713265 100644 --- a/servers/rendering/rendering_server_wrap_mt.h +++ b/servers/rendering/rendering_server_wrap_mt.h @@ -642,6 +642,8 @@ public: FUNC2(canvas_item_set_use_parent_material, RID, bool) + FUNC6(canvas_item_set_canvas_group_mode, RID, CanvasGroupMode, float, bool, float, bool) + FUNC0R(RID, canvas_light_create) FUNC2(canvas_light_attach_to_canvas, RID, RID) FUNC2(canvas_light_set_enabled, RID, bool) -- cgit v1.2.3