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

SDL_DirtyTexture (last edited 2010-10-16 04:49:34 by SheenaSmith)

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