ttfDestroyGpuTextEngine function ttf
Destroy a text engine created for drawing text with the SDL GPU API.
All text created by this engine should be destroyed before calling this function.
\param engine a TTF_TextEngine object created with TTF_CreateGPUTextEngine().
\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_CreateGPUTextEngine
extern SDL_DECLSPEC void SDLCALL TTF_DestroyGPUTextEngine(TTF_TextEngine *engine)
Implementation
void ttfDestroyGpuTextEngine(Pointer<TtfTextEngine> engine) {
final ttfDestroyGpuTextEngineLookupFunction = _libTtf
.lookupFunction<
Void Function(Pointer<TtfTextEngine> engine),
void Function(Pointer<TtfTextEngine> engine)
>('TTF_DestroyGPUTextEngine');
return ttfDestroyGpuTextEngineLookupFunction(engine);
}