What's the enum in the UI namespace called CanvasUpdate? It links to the Canvas clas but doesn't appear to be used there.
It's used by the CanvasUpdateRegistry. We don't have this extensively covered in documentation yet, but feel free to play with it. Basically when we are about to render canvases we do: Layout Rebuild Canvas Graphics During normal update ect we don't actually update verts / materials we just register them with the UpdateRegistry, deferring the work till the last moment. You can register things with the UpdateRegistry and receive callbacks, only register things that have changed
@Tim-C Is this still true? And is there a way to listen for the "rebuild canvas graphics"? Because - despite extensive googling, and reading the (largely non-existent) docs for Canvas*, and reading the source code as bst I could (all the stuff in C#, but the extern stuff obviously I don't have access to) I can't seem to find a reliable callback for "canvas finished doing layout".
e.g. this wordpress blog by what appears to be a student has more documentation in a single blog post - on a blog that was then abandoned - than I've been able to find in total across all the official Unity docs: https://weijiayu.net/2017/07/31/unity-uiugui-part-1-overview/