engine
engine copied to clipboard
Batching UI elements should easier to do correctly
Related forum thread: https://forum.playcanvas.com/t/batching-of-ui-elements/15946/9
Other issues: https://github.com/playcanvas/engine/issues/2579 https://github.com/playcanvas/engine/issues/2578
Currently, batching UI elements requires using layers to enforce the render order for the batcher and ensure that elements are rendered correctly. If we can make this easier so there's less work on the user to have to construct their UI screens, that could be a big win.
The example in the forum was pretty straight forward to do as there wasn't any real overlapping elements and UI order is clearly defined. (Board, red tiles then text). I can imagine larger projects being more complex and harder to manage globally.
are there any updated on this? batching ui elements is still very hard to do, especially with complicated UI systems.
There was no update on this yet unfortunately.