Destroy a text engine created for drawing text on an SDL renderer.
Defined in <SDL3_ttf/SDL_ttf.h>
void TTF_DestroyRendererTextEngine(TTF_TextEngine *engine);
TTF_TextEngine * | engine | a TTF_TextEngine object created with TTF_CreateRendererTextEngine(). |
All text created by this engine should be destroyed before calling this function.
This function should be called on the thread that created the engine.
This function is available since SDL_ttf 3.0.0.