Groups | Blog | Home
all groups > dotnet drawing api > november 2003 >

dotnet drawing api : ARGB to RGBA


Paul Hetherington
11/29/2003 11:28:29 AM
You can get the individual color values from a color struct.
Color.A = Alpha
Color.R = Red
Color.G= Green
Color.B = Blue
It has been a while since I used OpenGL but I am pretty sure there is a way
to create colors in OpenGL where you can set the individual color values.

Cheers,
Paul

[quoted text, click to view]

Phil Price
11/29/2003 5:46:18 PM
Hi There,

I need to convert the standard ARGB pixel format that .net uses to a
RGBA to use in opengl, any idea how one could go about this?

Cheers

Phil

--
Phil Price
Student at The University Of Hull
http://www.philprice.net
AddThis Social Bookmark Button