?/TD>
Microsoft DirectX 9.0

D3DXCOLOR Structure


Describes color values.

Syntax

typedef struct D3DXCOLOR {
    FLOAT r;
    FLOAT g;
    FLOAT b;
    FLOAT a;
} D3DXCOLOR;

Members

r
Red component of the color.
g
Green component of the color.
b
Blue component of the color.
a
Alpha component of the color.

Remarks

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.

Structure Information

Headerd3dx9math.h
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.