reading pixels from a TARGET texture
Sanette <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
Hi I'm using a texture with SDL_TEXTUREACCESS_TARGET flag and I blit onto this one (with SDL_RenderCopy) a number of other textures to finally get my image. Then I would like to get the final pixel array of that texture in order to do more image processing by hand. What is the best way to obtain this pixel array ? thx S.