Wiki Page Content

Differences between revisions 2 and 8 (spanning 6 versions)
Revision 2 as of 2009-11-24 21:55:45
Size: 592
Editor: SheenaSmith
Comment: add categories
Revision 8 as of 2014-12-12 00:33:33
Size: 653
Editor: ChrisBush
Comment: Per wiki feedback, added remark regarding what happens if users pass NULL
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
void SDL_DestroyTexture(SDL_TextureID textureID) void SDL_DestroyTexture(SDL_Texture* texture)
Line 15: Line 15:
||'''textureID'''||the texture to destroy|| ||'''texture'''||the texture to destroy||
Line 23: Line 23:
You can add useful comments here Passing NULL or an otherwise invalid texture will set the SDL error message to "Invalid texture".
Line 30: Line 30:
[[CategoryAPI]], [[CategoryVideo]] [[CategoryAPI]], [[CategoryRender]]

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)

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