ttfDestroyRendererTextEngine function
Destroy a text engine created for drawing text on an SDL renderer.
All text created by this engine should be destroyed before calling this function.
\param engine a TTF_TextEngine object created with TTF_CreateRendererTextEngine().
\threadsafety This function should be called on the thread that created the engine.
\since This function is available since SDL_ttf 3.0.0.
\sa TTF_CreateRendererTextEngine
extern SDL_DECLSPEC void SDLCALL TTF_DestroyRendererTextEngine(TTF_TextEngine *engine)
Implementation
void ttfDestroyRendererTextEngine(Pointer<TtfTextEngine> engine) {
final ttfDestroyRendererTextEngineLookupFunction = libSdl3Ttf.lookupFunction<
Void Function(Pointer<TtfTextEngine> engine),
void Function(
Pointer<TtfTextEngine> engine)>('TTF_DestroyRendererTextEngine');
return ttfDestroyRendererTextEngineLookupFunction(engine);
}