Destroy a text engine created for drawing text with the SDL GPU API.
Defined in <SDL3_ttf/SDL_ttf.h>
void TTF_DestroyGPUTextEngine(TTF_TextEngine *engine);
TTF_TextEngine * | engine | a TTF_TextEngine object created with TTF_CreateGPUTextEngine(). |
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.