colors

Started by
0 comments, last by flucknugget 21 years, 11 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
Advertisement
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