D3DCOLORVALUE structure
Stores color and alpha channel information.
Syntax
struct D3DCOLORVALUE {
FLOAT r;
FLOAT g;
FLOAT b;
FLOAT a;
};
Members
- r
-
Type: FLOAT
-
The red value of the current color.
- g
-
Type: FLOAT
-
The green value of the current color.
- b
-
Type: FLOAT
-
The blue value of the current color.
- a
-
Type: FLOAT
-
The 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 | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|