Enum spirv_utils::desc::ImageFormat [] [src]

pub enum ImageFormat {
    Unknown,
    Rgba32f,
    Rgba16f,
    R32f,
    Rgba8,
    Rgba8Snorm,
    Rg32f,
    Rg16f,
    R11fG11fB10f,
    R16f,
    Rgba16,
    Rgb10A2,
    Rg16,
    Rg8,
    R16,
    R8,
    Rgba16Snorm,
    Rg16Snorm,
    Rg8Snorm,
    R16Snorm,
    R8Snorm,
    Rgba32i,
    Rgba16i,
    Rgba8i,
    R32i,
    Rg32i,
    Rg16i,
    Rg8i,
    R16i,
    R8i,
    Rgba32ui,
    Rgba16ui,
    Rgba8ui,
    R32ui,
    Rgb10a2ui,
    Rg32ui,
    Rg16ui,
    Rg8ui,
    R16ui,
    R8ui,
}

Variants

Unknown
Rgba32f
Rgba16f
R32f
Rgba8
Rgba8Snorm
Rg32f
Rg16f
R11fG11fB10f
R16f
Rgba16
Rgb10A2
Rg16
Rg8
R16
R8
Rgba16Snorm
Rg16Snorm
Rg8Snorm
R16Snorm
R8Snorm
Rgba32i
Rgba16i
Rgba8i
R32i
Rg32i
Rg16i
Rg8i
R16i
R8i
Rgba32ui
Rgba16ui
Rgba8ui
R32ui
Rgb10a2ui
Rg32ui
Rg16ui
Rg8ui
R16ui
R8ui

Methods

impl ImageFormat

fn from(val: u32) -> Option<ImageFormat>

Trait Implementations

Derived Implementations

impl Hash for ImageFormat

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

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

impl PartialEq for ImageFormat

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

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

impl Debug for ImageFormat

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

impl Clone for ImageFormat

fn clone(&self) -> ImageFormat

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

impl Copy for ImageFormat