Variable Dds.Header.linear_size

The pitch or number of bytes per scan line in an uncompressed texture; the total number of bytes in the top level texture for a compressed texture.

struct Dds.Header
{
  // ...
  uint linear_size ;
  // ...
}