[SDL] pixel from SDL_Texture
slouken at libsdl.org
Wed Sep 10 09:15:53 PDT 2014
On Wed, Sep 10, 2014 at 9:15 AM, Sam Lantinga <slouken at libsdl.org> wrote:
> There is, it's called SDL_RendererReadPixels() :)
> On Fri, Sep 5, 2014 at 6:02 AM, Jonathan Dearborn <grimfang4 at gmail.com>
>> Well, there *should* be some API to pull the texture data back from the
>> GPU. With render targets, you can manipulate texture data on the GPU, so
>> it is important to be able to read the changed data later, even if it
>> causes a GPU flush, block, and data transfer as necessary costs.
>> Jonny D
>> SDL mailing list
>> SDL at lists.libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL