How to render fonts and text with SDL2 efficiently?
问题 Saw this post here about using SDL_ttf to render text in a game. However that approach requires calling SDL_CreateTextureFromSurface(), along with the SDL_FreeSurface() and SDL_DestroyTexture() every single frame. Is creating textures (and probably subsequently having to send them to the GPU) every frame something that can significally impact my performance? would it be wiser to use SDL_ttf only to create a texture with my whole rendered charset and then to blit from there myself, character