This PR introduces scissors support and fixes indexed drawing. I didn't want to shove several fixes into one PR, but it turned out to be this way because I tested the changes on my https://github.com/mvlabat/bevy_megaui project and I needed all of them at once to make it work.
I could still divide this into several PRs, but I was a bit lazy, I hope it won't be a problem to merge all of them in one batch if you're ok with the fixes themselves. :)
This PR introduces scissors support and fixes indexed drawing. I didn't want to shove several fixes into one PR, but it turned out to be this way because I tested the changes on my https://github.com/mvlabat/bevy_megaui project and I needed all of them at once to make it work.
I could still divide this into several PRs, but I was a bit lazy, I hope it won't be a problem to merge all of them in one batch if you're ok with the fixes themselves. :)