RGB_TORGBA

RGB_TORGBA(rgb) ((D3DCOLOR) ((rgb) | 0xff000000))

Creates an RGBA color from a supplied RGB color.

·Returns the RGBA color.

rgb

RGB color to be converted to an RGBA color.