D3DRMCreateColorRGBA

D3DCOLOR D3DRMCreateColorRGBA(D3DVALUE red, D3DVALUE green,

D3DVALUE blue, D3DVALUE alpha);

Creates an RGBA color from supplied red, green, blue, and alpha components.

·Returns the new RGBA value if successful, or zero otherwise.

red, green, blue, and alpha

Components of the RGBA color.