Stores color and alpha channel information.
typedef struct _D3DCOLORVALUE {
float r;
float g;
float b;
float a;
} D3DCOLORVALUE;
r
The red value of the current color.
g
The green value of the current color.
b
The blue value of the current color.
a
The alpha channel value of the current color.
These values generally are in the range from 0.0 through 1.0. A value of 0.0 indicates fully transparent, while a value of 1.0 indicates fully opaque.
Header: Declared in d3d11_x.h (dxgitype.h on other Windows platforms).