TTF_DestroyRendererTextEngine - Destroy a text engine created for drawing text on an SDL renderer.
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_CreateRendererTextEngine ().
Header File
Defined in SDL3_ttf/SDL_ttf.h
Name
TTF_DestroyRendererTextEngine - Destroy a text engine created for drawing text on an SDL renderer.
See Also
•(3), TTF_CreateRendererTextEngine(3) SDL_ttf SDL_ttf 3.2.2 TTF_DestroyRendererTextEngine(3)
Synopsis
#include"SDL3_ttf/SDL_ttf.h"voidTTF_DestroyRendererTextEngine(TTF_TextEngine*engine);
Thread Safety
This function should be called on the thread that created the engine.
