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

UnknownRgba32fRgba16fR32fRgba8Rgba8SnormRg32fRg16fR11fG11fB10fR16fRgba16Rgb10A2Rg16Rg8R16R8Rgba16SnormRg16SnormRg8SnormR16SnormR8SnormRgba32iRgba16iRgba8iR32iRg32iRg16iRg8iR16iR8iRgba32uiRgba16uiRgba8uiR32uiRgb10a2uiRg32uiRg16uiRg8uiR16uiR8ui

Methods

impl ImageFormat
[src]

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

Trait Implementations

impl Hash for ImageFormat
[src]

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

Feeds this value into the state given, updating the hasher as necessary.

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

Feeds a slice of this type into the state provided.

impl PartialEq for ImageFormat
[src]

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

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for ImageFormat
[src]

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

Formats the value using the given formatter.

impl Clone for ImageFormat
[src]

fn clone(&self) -> ImageFormat

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for ImageFormat
[src]