Hi,
As the topic stated, how are the texts in OpenFL legacy rendered in native targets? Is it software renderer? or OpenGL?
Thanks
Hi,
As the topic stated, how are the texts in OpenFL legacy rendered in native targets? Is it software renderer? or OpenGL?
Thanks
You can see https://github.com/openfl/lime/blob/master/legacy/project/src/common/TextField.cpp
TextField::Render
Some tiles are prepared and then they are drawn similar to drawTiles
Thanks. I was just worried that it would be really inefficient if it was a software renderer. So I guess the current method is fast enough for displaying some game item stats right?
It is enough. If you are scaling the text or adding some effect, maybe its better to draw it first to a BitmapData.