diff options
| author | Juan Linietsky | 2015-01-10 17:35:26 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-01-10 17:35:26 -0300 |
| commit | 89970848311ee2d49040a148a56d80590091877c (patch) | |
| tree | 804834a8c481fff872671c63afbf6bc6a7abf354 /servers/visual/visual_server_wrap_mt.h | |
| parent | 78f4b937034c8bc24c2a871b1fc08ecbe39d0e5e (diff) | |
| download | godot-89970848311ee2d49040a148a56d80590091877c.tar.gz godot-89970848311ee2d49040a148a56d80590091877c.tar.zst godot-89970848311ee2d49040a148a56d80590091877c.zip | |
2D Rewrite Step [1]
-=-=-=-=-=-=-=-=-=-
-Moved drawing code to a single function that takes linked list (should make it easier to optimize in the future).
-Implemented Z ordering of 2D nodes. Node2D and those that inherit have a visibility/Z property that affects drawing order (besides the tree order)
-Removed OpenGL ES 1.x support. Good riddance!
Diffstat (limited to 'servers/visual/visual_server_wrap_mt.h')
| -rw-r--r-- | servers/visual/visual_server_wrap_mt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/visual_server_wrap_mt.h b/servers/visual/visual_server_wrap_mt.h index 7d2b8a376..0aa992564 100644 --- a/servers/visual/visual_server_wrap_mt.h +++ b/servers/visual/visual_server_wrap_mt.h @@ -1131,6 +1131,8 @@ public: FUNC2(canvas_item_add_clip_ignore,RID, bool ); FUNC2(canvas_item_set_sort_children_by_y,RID,bool); + FUNC2(canvas_item_set_z,RID,int); + FUNC1(canvas_item_clear,RID); FUNC1(canvas_item_raise,RID); |
