Describes color values.
typedef struct D3DXCOLOR {
FLOAT r;
FLOAT g;
FLOAT b;
FLOAT a;
} D3DXCOLOR, *LPD3DXCOLOR;
C++ programmers can take advantage of operator overloading and type casting with the D3DXCOLOR Extensions, which implement overloaded constructors, as well as assignment, unary, and binary (including equality) operators.