You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +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:
@@ -682,6 +682,7 @@ public:
|
||||
|
||||
BIND0R(RID, canvas_item_create)
|
||||
BIND2(canvas_item_set_parent, RID, RID)
|
||||
BIND2(canvas_item_set_name, RID, String)
|
||||
|
||||
BIND2(canvas_item_set_visible, RID, bool)
|
||||
BIND2(canvas_item_set_light_mask, RID, int)
|
||||
|
||||
Reference in New Issue
Block a user