Struct dds::Header
[−]
[src]
pub struct Header {
pub height: u32,
pub width: u32,
pub mipmap_count: u32,
pub compression: Compression,
pub pixel_format: PixelFormat,
pub raw_header: RawHeader,
}Represents a parsed DDS header. Has several convenience attributes, as well as a reference to the raw header.
Fields
height: u32
Height of the main image
width: u32
Width of the main image
mipmap_count: u32
How many levels of mipmaps there are
compression: Compression
Compression type used
pixel_format: PixelFormat
The pixel format used
raw_header: RawHeader
Raw header that byte-matches the DDS header format