Microsoft DirectX 8.1 (C++) |
Describes color values.
typedef struct _D3DCOLORVALUE { float r; float g; float b; float a; } D3DCOLORVALUE;
You can set the members of this structure to values outside the range of 0 through 1 to implement some unusual effects. Values greater than 1 produce strong lights that tend to wash out a scene. Negative values produce dark lights that actually remove light from a scene.
Header: Declared in D3d8types.h.