Enum gfx::device::tex::Compression [] [src]

pub enum Compression {
    ETC2_RGB,
    ETC2_SRGB,
    ETC2_EAC_RGBA8,
}

Codec used to compress image data.

Variants

ETC2_RGB

Use the EXT2 algorithm on 3 components.

ETC2_SRGB

Use the EXT2 algorithm on 4 components (RGBA) in the sRGB color space.

ETC2_EAC_RGBA8

Use the EXT2 EAC algorithm on 4 components.

Trait Implementations

Derived Implementations

impl Debug for Compression

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Compression

fn clone(&self) -> Compression

fn clone_from(&mut self, source: &Self)

impl Copy for Compression

impl Hash for Compression

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialOrd for Compression

fn partial_cmp(&self, __arg_0: &Compression) -> Option<Ordering>

fn lt(&self, __arg_0: &Compression) -> bool

fn le(&self, __arg_0: &Compression) -> bool

fn gt(&self, __arg_0: &Compression) -> bool

fn ge(&self, __arg_0: &Compression) -> bool

impl PartialEq for Compression

fn eq(&self, __arg_0: &Compression) -> bool

fn ne(&self, __arg_0: &Compression) -> bool

impl Ord for Compression

fn cmp(&self, __arg_0: &Compression) -> Ordering

impl Eq for Compression