TTF_DestroyGPUTextEngine(3)
π TTF_DestroyGPUTextEngine(3) β¨
okay bestie, welcome to the SDL_ttf3 FUNCTIONS corner of the manual, where we say goodbye to things on purpose π«Ά
πΈ NAME πΈ
TTF_DestroyGPUTextEngine β destroy a text engine that you made for drawing text with the SDL GPU API πβ¨
π HEADER FILE π
It lives in SDL3_ttf/SDL_ttf.h, no cap π
β SYNOPSIS β
#include "SDL3_ttf/SDL_ttf.h"
void TTF_DestroyGPUTextEngine(TTF_TextEngine *engine);
π¦ DESCRIPTION π¦
So here's the tea, bestie: all text created by this engine should be destroyed before calling this function. Like, clean up your text first, then come for the engine. That's the order, periodt π
not me showing up to destroy the engine while the text is still out here living its best life π don't do that
π FUNCTION PARAMETERS π
engineβ aTTF_TextEngineobject that you created withTTF_CreateGPUTextEngine() π
π₯ THREAD SAFETY π₯
This function should be called on the thread that created the engine. Same thread, same vibe, don't be switching up on it fr fr π§΅β¨
π AVAILABILITY π
This function has been available since SDL_ttf 3.0.0, iconic behavior honestly π
π SEE ALSO π
β’(3)TTF_CreateGPUTextEngine(3)
k byeeee, go forth and free your GPU text engine responsibly π«Άπ
β mwah, this page was brought to you by SDL_ttf, version SDL_ttf 3.2.2 πΈβ¨π
π¦ where this page comes from
- debian trixie: libsdl3-ttf-doc 3.2.2+ds-1 Β· Zlib
- fedora 43: SDL3_ttf-devel 3.2.2-2.fc43 Β· Zlib AND MIT
- fedora 43: SDL3_ttf-devel 3.2.2-2.fc43 Β· Zlib AND MIT
- fedora 44: SDL3_ttf-devel 3.2.2-4.fc44 Β· Zlib AND MIT
- fedora 44: SDL3_ttf-devel 3.2.2-4.fc44 Β· Zlib AND MIT
- ubuntu questing: libsdl3-ttf-doc 3.2.2+ds-1
- ubuntu resolute: libsdl3-ttf-doc 3.2.2+ds-1build1 Β· Zlib
- ubuntu stonking: libsdl3-ttf-doc 3.2.2+ds-2 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms