Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2010-09-23 05:34:02
Size: 906
Editor: SheenaSmith
Comment: update content - rectangle
Revision 7 as of 2010-10-08 22:47:00
Size: 913
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
||'''texture'''||the texture to mark dirty, which was created with SDL_TEXTUREACCESS_STREAMING|| ||'''texture'''||the SDL_Texture to mark dirty, which was created with SDL_TEXTUREACCESS_STREAMING||
Line 19: Line 19:
||'''rects'''||a pointer to an array of dirty rectangles of type [[SDL_Rect]]|| ||'''rects'''||an array of [[SDL_Rect]] structures representing dirty rectangles||

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 SDL_Texture to mark dirty, which was created with SDL_TEXTUREACCESS_STREAMING

numrects

the number of rectangles pointed to by rects

rects

an array of SDL_Rect structures representing 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