DXPMSAMPLE Structure

Describes a 32-bit pixel format, consisting of relative intensities of red, green, blue, and alpha. In this structure, the stored color values have been premultiplied by alpha.

Syntax

typedef struct DXPMSAMPLE
{
    BYTE Blue;
    BYTE Green;
    BYTE Red; 
    BYTE Alpha;
} DXPMSAMPLE;

Members

Blue
Amount of blue in the color.
Green
Amount of green in the color.
Red
Amount of red in the color.
Alpha
Alpha channel value for the color.

See Also

DXSAMPLE


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.