|
Size: 881
Comment: add categories
|
Size: 887
Comment: format adjustments
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 18: | Line 18: |
| ||'''numrects'''||the number of rectangles pointed to by rects|| | ||'''numrects'''||the number of rectangles pointed to by '''rects'''|| |
SDL_DirtyTexture
Use this function to mark the specified rectangles of the texture as dirty.
Syntax
void SDL_DirtyTexture(SDL_TextureID textureID,
int numrects,
const SDL_Rect* rects)
Function Parameters
textureID |
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
