Stores color and alpha channel information.
typedef struct _DXGI_RGBA {
float r;
float g;
float b;
float a;
} DXGI_RGBA;
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.
This is a typedef alias of D3DCOLORVALUE, declared:
typedef D3DCOLORVALUE DXGI_RGBA;
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).