D3DCOLOR_RGBA

Initializes a color with the supplied red, green, blue, and alpha values.

#define D3DCOLOR_RGBA(r,g,b,a) D3DCOLOR_ARGB(a,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.
a
Alpha component of the color. This value must be in the range 0 through 255.

Return Values

Returns the D3DCOLOR value that corresponds to the supplied RGBA values.

See Also

D3DCOLOR_ARGB, D3DCOLOR_XRGB