|
Size: 887
Comment: Update TextureID > Texture*
|
Size: 906
Comment: update content - rectangle
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 19: | Line 19: |
| ||'''rects'''||the pointer to an array of dirty rectangles|| | ||'''rects'''||a pointer to an array of dirty rectangles of type [[SDL_Rect]]|| |
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 |
a pointer to an array of dirty rectangles of type SDL_Rect |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
