?/TD> |
Microsoft DirectX 9.0 |
Initializes a color with the supplied red, green, and blue values.
Syntax
#define D3DCOLOR_XRGB(r,g,b) D3DCOLOR_ARGB(0xff,r,g,b)
Parameters
- r
- Red component of the color. This value must be in the range 0 through 255.
- g
- Green component of the color. This value must be in the range 0 through 255.
- b
- Blue component of the color. This value must be in the range 0 through 255.
Return Value
Returns the D3DCOLOR value that corresponds to the supplied RGB values.
Macro Information
Header d3d9types.h Minimum operating systems Windows 98
See Also
D3DCOLOR_ARGB, D3DCOLOR_RGBA