1
Graphics / Any way to decrease text rendering time ?
« on: February 16, 2018, 04:01:35 am »
Seems to take anywhere from 50-150 microseconds to render a text object with SFML. Changing to a simpler font did help but i I'm wondering if there is any way to speed it up somehow.
CPU: 6600k @ 4.5GHz
CPU: 6600k @ 4.5GHz
MyClock.restart();
renderWindow->draw(text1);
std::cout << "Took: " << MyClock.getElapsedTime().asMicroseconds() << "microS" << std::endl;
renderWindow->draw(text1);
std::cout << "Took: " << MyClock.getElapsedTime().asMicroseconds() << "microS" << std::endl;