Variable Dds.Header.DDPF.rgb_bit_count

Number of bits in an RGB (possibly including alpha) format. Valid when dwFlags includes DDPF_RGB, DDPF_LUMINANCE, or DDPF_YUV.

struct Dds.Header.DDPF
{
  // ...
  uint rgb_bit_count ;
  // ...
}