Struct dds::DDS [] [src]

pub struct DDS {
    pub header: Header,
    pub layers: Vec<Vec<[u8; 4]>>,
}

Represents a parsed DDS file

Fields

The parsed DDS header

Mipmap layers

Methods

impl DDS
[src]

Parses a Header object from a raw u8 buffer.

Decodes a buffer into a header and a series of mipmap images. Handles uncompressed and DXT1-5 compressed images.