mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Canvas item hierarchical culling
Adds optional hierarchical culling to the 2D rendering (within VisualServer). Each canvas item maintains a bound in local space of the item itself and all child / grandchild items. This allows branches to be culled at once when they don't intersect a viewport.
This commit is contained in:
parent
15c729e1d9
commit
b777a9e5f9
19 changed files with 858 additions and 20 deletions
|
@ -583,6 +583,7 @@ public:
|
|||
|
||||
FUNCRID(canvas_item)
|
||||
FUNC2(canvas_item_set_parent, RID, RID)
|
||||
FUNC2(canvas_item_set_name, RID, String)
|
||||
|
||||
FUNC2(canvas_item_set_visible, RID, bool)
|
||||
FUNC2(canvas_item_set_light_mask, RID, int)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue