Closed zedseven closed 3 years ago
It was my opinion that the draw caching logic should have been a separate crate in rusttype, so it is for _abglyph have a look at glyph_brush_draw_cache.
This crate is focussed on the _glyphbrush use case, which is where I use it. However, it currently still has a very similar API to rusttype's gpu_cache module. You also may find _glyphbrush itself useful for text rendering.
That does make sense.
Thank you for your prompt response!
I was originally looking at going with rusttype, but I found this and it looks like it might suit my needs better (it's also actively maintained).
The one thing that concerns me is GPU caching - this seems to be something this crate is missing compared to rusttype, and I was wondering a couple of things:
My use case involves potentially rendering new text every frame, which is why it's a feature I'm interested in.
Thanks for your work on this crate as well as your work maintaining rusttype - I appreciate it.