Struct dds::RawHeader
[−]
[src]
#[repr(C)]pub struct RawHeader { pub size: u32, pub flags: u32, pub height: u32, pub width: u32, pub pitch_or_linear_size: u32, pub depth: u32, pub mipmap_count: u32, pub reserved: [u32; 11], pub pixel_format: RawPixelFormat, pub caps: u32, pub caps2: u32, pub caps3: u32, pub caps4: u32, pub reserved2: u32, }
Header as represented in the DDS file
Direct translation of struct found here: https://msdn.microsoft.com/en-us/library/bb943982.aspx
Fields
size: u32
flags: u32
height: u32
width: u32
pitch_or_linear_size: u32
depth: u32
mipmap_count: u32
reserved: [u32; 11]
pixel_format: RawPixelFormat
caps: u32
caps2: u32
caps3: u32
caps4: u32
reserved2: u32
Trait Implementations
impl PartialEq for RawHeader
[src]
fn eq(&self, __arg_0: &RawHeader) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RawHeader) -> bool
[src]
This method tests for !=
.