SDL_DestroyTexture

Destroy the specified texture.

Passing null or an otherwise invalid texture will set the SDL error message to "Invalid texture".

extern (C) nothrow @nogc extern
void
SDL_DestroyTexture

Parameters

texture SDL_Texture*

The texture to destroy.

Threadsafety: This function should only be called on the main thread.

See Also

Meta