Open LPGhatguy opened 2 years ago
Currently, yakui assumes that UI is drawn in one coordinate space, on a subset of one contiguous rectangular surface.
It's often useful to draw UI in multiple different places, like projected in the world, in a separate window, or in a scrollable and zoomable canvas.
The PaintLayer API introduced in 92e0b270e728cb9a20a55065bdd525b5b7533155 might be a good step in this direction. We could add a window or surface ID to a layer and use that to dispatch calls to the right places.
PaintLayer
Currently, yakui assumes that UI is drawn in one coordinate space, on a subset of one contiguous rectangular surface.
It's often useful to draw UI in multiple different places, like projected in the world, in a separate window, or in a scrollable and zoomable canvas.