Wiki Page Content

SDL_DestroyTexture

Use this function to destroy the specified texture.

Syntax

void SDL_DestroyTexture(SDL_Texture* texture)

Function Parameters

texture

the texture to destroy

Code Examples

You can add your code example here

Remarks

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


CategoryAPI, CategoryRender

None: SDL_DestroyTexture (last edited 2014-12-12 00:33:33 by ChrisBush)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit