include/SDL_render.h
changeset 6493 6801ced90deb
parent 6414 df50b0d6c1c3
child 6528 e978048ced60
equal deleted inserted replaced
6492:0732954fa8ef 6493:6801ced90deb
   371 extern DECLSPEC int SDLCALL SDL_UpdateTexture(SDL_Texture * texture,
   371 extern DECLSPEC int SDLCALL SDL_UpdateTexture(SDL_Texture * texture,
   372                                               const SDL_Rect * rect,
   372                                               const SDL_Rect * rect,
   373                                               const void *pixels, int pitch);
   373                                               const void *pixels, int pitch);
   374 
   374 
   375 /**
   375 /**
   376  *  \brief Lock a portion of the texture for pixel access.
   376  *  \brief Lock a portion of the texture for write-only pixel access.
   377  *  
   377  *  
   378  *  \param texture   The texture to lock for access, which was created with 
   378  *  \param texture   The texture to lock for access, which was created with 
   379  *                   ::SDL_TEXTUREACCESS_STREAMING.
   379  *                   ::SDL_TEXTUREACCESS_STREAMING.
   380  *  \param rect      A pointer to the rectangle to lock for access. If the rect 
   380  *  \param rect      A pointer to the rectangle to lock for access. If the rect 
   381  *                   is NULL, the entire texture will be locked.
   381  *                   is NULL, the entire texture will be locked.