Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2009-12-12 07:23:24
Size: 891
Editor: SheenaSmith
Comment: format update
Revision 5 as of 2010-01-22 06:05:28
Size: 887
Editor: SheenaSmith
Comment: Update TextureID > Texture*
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
void SDL_DirtyTexture(SDL_TextureID textureID, void SDL_DirtyTexture(SDL_Texture* texture,
Line 17: Line 17:
||'''textureID'''||the texture to mark dirty, which was created with SDL_TEXTUREACCESS_STREAMING|| ||'''texture'''||the texture to mark dirty, which was created with SDL_TEXTUREACCESS_STREAMING||

SDL_DirtyTexture

Use this function to mark the specified rectangles of the texture as dirty.

Syntax

void SDL_DirtyTexture(SDL_Texture*    texture,
                      int             numrects,
                      const SDL_Rect* rects)    

Function Parameters

texture

the texture to mark dirty, which was created with SDL_TEXTUREACCESS_STREAMING

numrects

the number of rectangles pointed to by rects

rects

the pointer to an array of dirty rectangles

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_DirtyTexture (last edited 2013-09-01 19:09:27 by PhilippWiesemann)

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