You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
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!
This commit is contained in:
@@ -86,6 +86,8 @@ public:
|
||||
ARRAY_WEIGHTS_SIZE=4,
|
||||
MAX_PARTICLE_COLOR_PHASES=4,
|
||||
MAX_PARTICLE_ATTRACTORS=4,
|
||||
CANVAS_ITEM_Z_MAX=1024,
|
||||
CANVAS_ITEM_Z_DEFAULT=512,
|
||||
|
||||
|
||||
MAX_CURSORS = 8,
|
||||
@@ -982,6 +984,7 @@ public:
|
||||
virtual void canvas_item_add_set_blend_mode(RID p_item, MaterialBlendMode p_blend)=0;
|
||||
virtual void canvas_item_add_clip_ignore(RID p_item, bool p_ignore)=0;
|
||||
virtual void canvas_item_set_sort_children_by_y(RID p_item, bool p_enable)=0;
|
||||
virtual void canvas_item_set_z(RID p_item, int p_z)=0;
|
||||
|
||||
virtual void canvas_item_clear(RID p_item)=0;
|
||||
virtual void canvas_item_raise(RID p_item)=0;
|
||||
|
||||
Reference in New Issue
Block a user