TTF_DestroyRendererTextEngine - Man Page

Destroy a text engine created for drawing text on an SDL renderer.

Header File

Defined in SDL3_ttf/SDL_ttf.h

Synopsis

#include "SDL3_ttf/SDL_ttf.h"

void TTF_DestroyRendererTextEngine(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_CreateRendererTextEngine ().

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.

See Also

·(3), TTF_CreateRendererTextEngine(3)

Referenced By

TTF_CreateRendererTextEngine(3), TTF_CreateRendererTextEngineWithProperties(3).

SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS