25 ms·
Yes. SDL_RenderCopyEx and SDL_SetTextureAlphaMod is what you want.
by lifthrasiir 13y ago
Yes. SDL_RenderCopyEx and SDL_SetTextureAlphaMod is what you want.
- winter_blue 13y agoAh, thanks. SDL_RenderCopyEx seems like a very versatile function[1]. The 2D Accelerated Rendering doc[2] seems to cover all my basic 2D rendering needs. The wiki[3] is really nice, and I like the page listing APIs by category[4]. I think I'm going to switch to SDL, primarily for the Android/iOS support! [1] http://wiki.libsdl.org/moin.fcg/SDL_RenderCopyEx http://wiki.libsdl.org/moin.fcg/SDL_RenderCopyEx [2] http://wiki.libsdl.org/moin.fcg/CategoryRender http://wiki.libsdl.org/moin.fcg/CategoryRender [3] http://wiki.libsdl.org/moin.fcg/ http://wiki.libsdl.org/moin.fcg/ [4] http://wiki.libsdl.org/moin.fcg/APIByCategory http://wiki.libsdl.org/moin.fcg/APIByCategory