DirectX SDK |
The D3DX_DEVICEDESC structure 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.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Version: Requires DirectX 7.0.
Header: Declared in d3dxmath.h.
D3DXColorNegative, D3DXColorAdd, D3DXColorSubtract, D3DXColorScale, D3DXColorModulate, D3DXColorLerp