DDPF.Flags

Values

ValueMeaning
DDPF_ALPHAPIXELS0x1

Texture contains alpha data; dwRGBAlphaBitMask contains valid data.

DDPF_ALPHA0x2

Used in some older DDS files for alpha channel only uncompressed data (dwRGBBitCount contains the alpha channel bitcount; dwABitMask contains valid data)

DDPF_FOURCC0x4

Texture contains compressed RGB data; dwFourCC contains valid data.

DDPF_RGB0x40

Texture contains uncompressed RGB data; dwRGBBitCount and the RGB masks (dwRBitMask, dwGBitMask, dwBBitMask) contain valid data.

DDPF_YUV0x200

Used in some older DDS files for YUV uncompressed data (dwRGBBitCount contains the YUV bit count; dwRBitMask contains the Y mask, dwGBitMask contains the U mask, dwBBitMask contains the V mask)

DDPF_LUMINANCE0x20000

Used in some older DDS files for single channel color uncompressed data (dwRGBBitCount contains the luminance channel bit count; dwRBitMask contains the channel mask). Can be combined with DDPF_ALPHAPIXELS for a two channel DDS file.

Meta