Struct ddsfile::Header [] [src]

pub struct Header {
    pub height: u32,
    pub width: u32,
    pub pitch: Option<u32>,
    pub linear_size: Option<u32>,
    pub depth: Option<u32>,
    pub mip_map_count: Option<u32>,
    pub spf: PixelFormat,
    pub caps: Caps,
    pub caps2: Caps2,
    // some fields omitted
}

Fields

Surface height (in pixels)

Surface width (in pixels)

The pitch or number of bytes per scan line in an uncompressed texture;

The total number of bytes in a top level texture for a compressed texture

Depth of a volume texture (in pixels)

Number of mipmap levels

The pixel format

Specifies the complexity of the surfaces stored.

Additional detail about the surfaces stored

Methods

impl Header
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for Header
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Header
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for Header
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Header

impl Sync for Header