[SDL2]-Change Texture's Color Hue(RGB) & Transparency(A)?

[SDL2]-Change Texture’s Color Hue(RGB) & Transparency(A)?

Hi,

How would I change a texture’s color hue(RGB) & transparency(A)?
I think I saw it mentioned some time ago, but can’t find the SDL2 function.

Thanks!------------------------
JeZ+Lee
JessePalser <AT> Gmail <DOT> com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com

Have a look at the SDL_SetTextureColorMod and SDL_SetTextureAlphaMod functions…________________________________
From: JeZ-l-Lee
To: sdl at lists.libsdl.org
Sent: Tuesday, August 13, 2013 7:37 AM
Subject: [SDL] [SDL2]-Change Texture’s Color Hue(RGB) & Transparency(A)?

[SDL2]-Change Texture’s Color Hue(RGB) & Transparency(A)?

Hi,

How would I change a texture’s color hue(RGB) & transparency(A)?
I think I saw it mentioned some time ago, but can’t find the SDL2 function.

Thanks!


JeZ+Lee
JessePalser Gmail com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

The wiki is a very good reference for what SDL2 can do. Look at the
categorized APIs here: http://wiki.libsdl.org/moin.fcg/APIByCategory

Each category (e.g. http://wiki.libsdl.org/moin.fcg/CategoryRender) has a
list of functions that you should browse to get a feel for what is possible.

Jonny DOn Tue, Aug 13, 2013 at 10:39 AM, Mason Wheeler wrote:

Have a look at the SDL_SetTextureColorMod and SDL_SetTextureAlphaMod
functions…


From: JeZ-l-Lee
To: sdl at lists.libsdl.org
Sent: Tuesday, August 13, 2013 7:37 AM
Subject: [SDL] [SDL2]-Change Texture’s Color Hue(RGB) & Transparency(A)?

[SDL2]-Change Texture’s Color Hue(RGB) & Transparency(A)?

Hi,

How would I change a texture’s color hue(RGB) & transparency(A)?
I think I saw it mentioned some time ago, but can’t find the SDL2 function.

Thanks!


JeZ+Lee
JessePalser Gmail com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com http://www.16bitsoft.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org