RGBA_SETALPHA(rgba, x) (((x) << 24) | ((rgba) & 0x00ffffff))
Sets the alpha component of an RGBA D3DCOLOR value.
·Returns the RGBA color whose alpha component has been set.
rgba
RGBA color for which the alpha component will be set.
x
Value of alpha component to be set.