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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.