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

Trait Implementations

impl PartialEq for RawPixelFormat
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for RawPixelFormat
[src]

[src]

Formats the value using the given formatter.