Advertisement

colors

Started by April 28, 2002 07:08 PM
0 comments, last by flucknugget 22 years, 7 months ago
With DirectDraw in high color modes, how do you create colors? Is there any function that you can give a red, a green, a blue, and a color depth to and it''ll return a DWORD that''s a color? Or do you have to program your own code to figure out what bits go where to make the color? - f l u c k y p o o - the geek inside
- f l u c k y p o o
D3DCOLR_<format>

where <format> is one of XRGB, ARGB, etc. Look it up.

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ ]
[ MS RTFM [MSDN] | SGI STL Docs | Boost ]
[ Google! | Asking Smart Questions | Jargon File ]
Thanks to Kylotan for the idea!

This topic is closed to new replies.

Advertisement