NAME
TTF_DestroyGPUTextEngine - 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.