Share via


DDARGB (Compact 2013)

3/26/2014

This structure contains a color representation with four channels - red, green, blue, and alpha.

Syntax

typedef struct _DDARGB{
  BYTE blue;
  BYTE green;
  BYTE red;
  BYTE alpha;
} DDARGB, *LPDDARGB;

Members

  • blue
    Byte value indicating the blue intensity of the color.
  • green
    Byte value indicating the green intensity of the color.
  • red
    Byte value indicating the red intensity of the color.
  • alpha
    Byte value indicating the alpha intensity of the color. A value of 0 indicates the color is fully transparent, and a value of 255 indicates the color is fully opaque.

Requirements

Header

ddraw.h

See Also

Reference

DirectDraw Structures
DirectDraw Reference

Other Resources

DirectDraw