Enum spirv::ImageFormat
source · #[repr(u32)]pub enum ImageFormat {
Show 42 variants
Unknown = 0,
Rgba32f = 1,
Rgba16f = 2,
R32f = 3,
Rgba8 = 4,
Rgba8Snorm = 5,
Rg32f = 6,
Rg16f = 7,
R11fG11fB10f = 8,
R16f = 9,
Rgba16 = 10,
Rgb10A2 = 11,
Rg16 = 12,
Rg8 = 13,
R16 = 14,
R8 = 15,
Rgba16Snorm = 16,
Rg16Snorm = 17,
Rg8Snorm = 18,
R16Snorm = 19,
R8Snorm = 20,
Rgba32i = 21,
Rgba16i = 22,
Rgba8i = 23,
R32i = 24,
Rg32i = 25,
Rg16i = 26,
Rg8i = 27,
R16i = 28,
R8i = 29,
Rgba32ui = 30,
Rgba16ui = 31,
Rgba8ui = 32,
R32ui = 33,
Rgb10a2ui = 34,
Rg32ui = 35,
Rg16ui = 36,
Rg8ui = 37,
R16ui = 38,
R8ui = 39,
R64ui = 40,
R64i = 41,
}
Expand description
SPIR-V operand kind: ImageFormat
Variants§
Unknown = 0
Rgba32f = 1
Rgba16f = 2
R32f = 3
Rgba8 = 4
Rgba8Snorm = 5
Rg32f = 6
Rg16f = 7
R11fG11fB10f = 8
R16f = 9
Rgba16 = 10
Rgb10A2 = 11
Rg16 = 12
Rg8 = 13
R16 = 14
R8 = 15
Rgba16Snorm = 16
Rg16Snorm = 17
Rg8Snorm = 18
R16Snorm = 19
R8Snorm = 20
Rgba32i = 21
Rgba16i = 22
Rgba8i = 23
R32i = 24
Rg32i = 25
Rg16i = 26
Rg8i = 27
R16i = 28
R8i = 29
Rgba32ui = 30
Rgba16ui = 31
Rgba8ui = 32
R32ui = 33
Rgb10a2ui = 34
Rg32ui = 35
Rg16ui = 36
Rg8ui = 37
R16ui = 38
R8ui = 39
R64ui = 40
R64i = 41
Implementations§
Trait Implementations§
source§impl Clone for ImageFormat
impl Clone for ImageFormat
source§fn clone(&self) -> ImageFormat
fn clone(&self) -> ImageFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageFormat
impl Debug for ImageFormat
source§impl FromStr for ImageFormat
impl FromStr for ImageFormat
source§impl Hash for ImageFormat
impl Hash for ImageFormat
source§impl Ord for ImageFormat
impl Ord for ImageFormat
source§fn cmp(&self, other: &ImageFormat) -> Ordering
fn cmp(&self, other: &ImageFormat) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ImageFormat
impl PartialEq for ImageFormat
source§impl PartialOrd for ImageFormat
impl PartialOrd for ImageFormat
impl Copy for ImageFormat
impl Eq for ImageFormat
impl StructuralPartialEq for ImageFormat
Auto Trait Implementations§
impl Freeze for ImageFormat
impl RefUnwindSafe for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Unpin for ImageFormat
impl UnwindSafe for ImageFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)