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 of the main image

Width of the main image

How many levels of mipmaps there are

Compression type used

The pixel format used

Raw header that byte-matches the DDS header format

Methods

impl Header
[src]

Returns raw header

Trait Implementations

impl Debug for Header
[src]

Formats the value using the given formatter.