Struct dds::RawPixelFormat
[−]
[src]
#[repr(C)]pub struct RawPixelFormat { pub size: u32, pub flags: u32, pub four_cc: [u8; 4], pub rgb_bit_count: u32, pub red_bit_mask: u32, pub green_bit_mask: u32, pub blue_bit_mask: u32, pub alpha_bit_mask: u32, }
Pixel information as represented in the DDS file
Direct translation of struct found here: https://msdn.microsoft.com/en-us/library/bb943984.aspx
Fields
size: u32
flags: u32
four_cc: [u8; 4]
rgb_bit_count: u32
red_bit_mask: u32
green_bit_mask: u32
blue_bit_mask: u32
alpha_bit_mask: u32
Trait Implementations
impl PartialEq for RawPixelFormat
[src]
fn eq(&self, __arg_0: &RawPixelFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RawPixelFormat) -> bool
This method tests for !=
.