TTF_DestroyText - Destroy a text object created by a text engine.
Contents
Availability
This function is available since SDL_ttf 3.0.0.
Function Parameters
text the text to destroy.
Header File
Defined in SDL3_ttf/SDL_ttf.h
Name
TTF_DestroyText - Destroy a text object created by a text engine.
See Also
•(3), TTF_CreateText(3) SDL_ttf SDL_ttf 3.2.2 TTF_DestroyText(3)
Synopsis
#include"SDL3_ttf/SDL_ttf.h"voidTTF_DestroyText(TTF_Text*text);
Thread Safety
This function should be called on the thread that created the text.
