Wiki Page Content

Differences between revisions 8 and 9
Revision 8 as of 2010-10-16 04:49:34
Size: 909
Editor: SheenaSmith
Comment: update content - pointers, structs
Revision 9 as of 2011-02-15 19:28:41
Size: 910
Editor: SheenaSmith
Comment: update content - 2/14 changeset 5295 (as of 5145); moved to render.h
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
[[CategoryAPI]], [[CategoryVideo]] [[CategoryAPI]], [[CategoryRender]]

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

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, CategoryRender

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