engine icon indicating copy to clipboard operation
engine copied to clipboard

Batching UI elements should easier to do correctly

Open yaustar opened this issue 4 years ago • 2 comments

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.

yaustar avatar Jan 26 '21 10:01 yaustar

are there any updated on this? batching ui elements is still very hard to do, especially with complicated UI systems.

khudiiash avatar Jan 04 '24 14:01 khudiiash

There was no update on this yet unfortunately.

mvaligursky avatar Jan 08 '24 09:01 mvaligursky