Microsoft DirectX 8.1 (C++) |
Describes color values.
typedef struct D3DXCOLOR { FLOAT r, g, b, a; } D3DXCOLOR;
C++ programmers can take advantage of operator overloading and type casting. The C++ implementation of the D3DXCOLOR structure implements overloaded constructors and overloaded assignment, unary, and binary (including equality) operators. For more information, see C++ Specific Features.
Header: Declared in D3dx8math.h.