D3DXCOLOR structure (D3DX10Math.h)
Note
The D3DX10 utility library is deprecated. We recommend that you use DirectXMath instead.
Describes color values.
Syntax
typedef struct D3DXCOLOR {
FLOAT r;
FLOAT g;
FLOAT b;
FLOAT a;
} D3DXCOLOR, *LPD3DXCOLOR;
Members
-
r
-
Type: FLOAT
-
Red component of the color.
-
g
-
Type: FLOAT
-
Green component of the color.
-
b
-
Type: FLOAT
-
Blue component of the color.
-
a
-
Type: FLOAT
-
Alpha component of the color.
Requirements
Requirement | Value |
---|---|
Header |
|
See also