Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Stores color and alpha channel information.
Syntax
struct D3DCOLORVALUE {
FLOAT r;
FLOAT g;
FLOAT b;
FLOAT a;
};
Members
r
Type: FLOATThe red value of the current color.
g
Type: FLOATThe green value of the current color.
b
Type: FLOATThe blue value of the current color.
a
Type: FLOATThe alpha channel value of the current color.
Remarks
These values generally are in the range from 0.0 through 1.0. A value of 0.0 indicates fully transparent, while a value of 1.0 indicates fully opaque.
Requirements
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
Header |
D2DBaseTypes.h (include D2d1.h) |