pub unsafe extern "C" fn SDL_DestroyTexture(texture: *mut SDL_Texture)
Expand description

Destroy the specified texture.

Passing NULL or an otherwise invalid texture will set the SDL error message to “Invalid texture”.

\param texture the texture to destroy

\since This function is available since SDL 2.0.0.

\sa SDL_CreateTexture \sa SDL_CreateTextureFromSurface