[SDL] Rendering textures to textures?

Pallav Nawani pallavnawani at gmail.com
Sat Sep 13 22:32:08 PDT 2014


*Pallav Nawani*
*IronCode Gaming Private Limited*
Website: http://www.ironcode.com
Twitter:  http://twitter.com/Ironcode_Gaming
Facebook: http://www.facebook.com/Ironcode.Gaming
Mobile: *9997478768*

On Fri, Sep 12, 2014 at 2:04 AM, Midi <midi at null.net> wrote:

>  Before anyone asks, yes, I have checked Google.
> I've been searching for a way to render a texture onto another texture. My
> problem is I need to be able to draw things to particular layers, and
> textures seem to only be able to draw directly to the screen or to a
> viewport. Whenever I look online, I just find links that lead back to the
> wiki page on rendering a texture to the screen. Is it possible to render a
> texture onto another texture without having to use surfaces and then
> converting to textures (which kinda defeats the point of textures in the
> first place, but I've actually had people tell me to do that).
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20140914/8a91d3e7/attachment-0002.htm>

More information about the SDL mailing list