TTF_DestroyGPUTextEngine - Destroy a text engine created for drawing text with the SDL GPU API.
Contents
Availability
This function is available since SDL_ttf 3.0.0.
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 ().
Header File
Defined in SDL3_ttf/SDL_ttf.h
Name
TTF_DestroyGPUTextEngine - Destroy a text engine created for drawing text with the SDL GPU API.
See Also
•(3), TTF_CreateGPUTextEngine(3) SDL_ttf SDL_ttf 3.2.2 TTF_DestroyGPUTextEngine(3)
Synopsis
#include"SDL3_ttf/SDL_ttf.h"voidTTF_DestroyGPUTextEngine(TTF_TextEngine*engine);
Thread Safety
This function should be called on the thread that created the engine.
