다음을 통해 공유


D3DMCOLORVALUE (Windows CE 5.0)

Send Feedback

This structure describes color values. It is used for lighting parameters that may be over or under saturated. The values of the members can be either fixed point or floating point.

typedef struct _D3DMCOLORVALUE {  D3DMVALUE r;  D3DMVALUE g;  D3DMVALUE b;  D3DMVALUE a;} D3DMCOLORVALUE;

Members

  • r
    A D3DMVALUE value specifying the color's red component.
  • g
    A D3DMVALUE value specifying the color's green component.
  • b
    A D3DMVALUE value specifying the color's blue component.
  • a
    A D3DMVALUE value specifying the color's alpha value, transparency.

Remarks

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.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: D3dmtypes.h.

See Also

Direct3D Mobile Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.