PALETTEENTRY

DirectX8

 
Microsoft DirectX 8.1 (C++)

PALETTEENTRY

Specifies the color and usage of an entry in a logical palette.

typedef struct tagPALETTEENTRY {
  BYTE peRed; 
  BYTE peGreen; 
  BYTE peBlue; 
  BYTE peFlags; 
} PALETTEENTRY;

Members

peRed
The red intensity value for the palette entry.
peGreen
The green intensity value for the palette entry.
peBlue
The blue intensity value for the palette entry.
peFlags
The alpha intensity value for the palette entry. Note that as of Microsoft® DirectX® 8.0, this member is treated differently than documented in the Microsoft® Platform Software Development Kit (SDK).

Requirements

  Header: Declared in Wingdi.h; include Windows.h.