TTF_DestroyGPUTextEngine - Man Page
Destroy a text engine created for drawing text with the SDL GPU API.
Header File
Defined in SDL3_ttf/SDL_ttf.h
Synopsis
#include "SDL3_ttf/SDL_ttf.h" void TTF_DestroyGPUTextEngine(TTF_TextEngine *engine);
Description
All text created by this engine should be destroyed before calling this function.
Function Parameters
- engine
a TTF_TextEngine
object created with TTF_CreateGPUTextEngine ().
Thread Safety
This function should be called on the thread that created the engine.
Availability
This function is available since SDL_ttf 3.0.0.
See Also
Referenced By
TTF_CreateGPUTextEngine(3), TTF_CreateGPUTextEngineWithProperties(3).
SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS