#pragma section-numbers off #pragma disable-camelcase = SDL_DestroyTexture = Use this function to destroy the specified texture. <> == Syntax == {{{#!highlight cpp void SDL_DestroyTexture(SDL_Texture* texture) }}} == Function Parameters == ||'''texture'''||the texture to destroy|| == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == Passing NULL or an otherwise invalid texture will set the SDL error message to "Invalid texture". == Related Functions == .[[SDL_CreateTexture]] .[[SDL_CreateTextureFromSurface]] ---- [[CategoryAPI]], [[CategoryRender]]