pub enum TextureFormat {
Show 110 variants
Undefined,
R8Unorm,
R8Snorm,
R8Uint,
R8Sint,
R16Unorm,
R16Snorm,
R16Uint,
R16Sint,
R16Float,
Rg8Unorm,
Rg8Snorm,
Rg8Uint,
Rg8Sint,
R32Float,
R32Uint,
R32Sint,
Rg16Unorm,
Rg16Snorm,
Rg16Uint,
Rg16Sint,
Rg16Float,
Rgba8Unorm,
Rgba8UnormSrgb,
Rgba8Snorm,
Rgba8Uint,
Rgba8Sint,
Bgra8Unorm,
Bgra8UnormSrgb,
Rgb10A2Uint,
Rgb10A2Unorm,
Rg11B10Ufloat,
Rgb9E5Ufloat,
Rg32Float,
Rg32Uint,
Rg32Sint,
Rgba16Unorm,
Rgba16Snorm,
Rgba16Uint,
Rgba16Sint,
Rgba16Float,
Rgba32Float,
Rgba32Uint,
Rgba32Sint,
Stencil8,
Depth16Unorm,
Depth24Plus,
Depth24PlusStencil8,
Depth32Float,
Depth32FloatStencil8,
Bc1RgbaUnorm,
Bc1RgbaUnormSrgb,
Bc2RgbaUnorm,
Bc2RgbaUnormSrgb,
Bc3RgbaUnorm,
Bc3RgbaUnormSrgb,
Bc4RUnorm,
Bc4RSnorm,
Bc5RgUnorm,
Bc5RgSnorm,
Bc6HRgbUfloat,
Bc6HRgbFloat,
Bc7RgbaUnorm,
Bc7RgbaUnormSrgb,
Etc2Rgb8Unorm,
Etc2Rgb8UnormSrgb,
Etc2Rgb8A1Unorm,
Etc2Rgb8A1UnormSrgb,
Etc2Rgba8Unorm,
Etc2Rgba8UnormSrgb,
EacR11Unorm,
EacR11Snorm,
EacRg11Unorm,
EacRg11Snorm,
Astc4X4Unorm,
Astc4X4UnormSrgb,
Astc5X4Unorm,
Astc5X4UnormSrgb,
Astc5X5Unorm,
Astc5X5UnormSrgb,
Astc6X5Unorm,
Astc6X5UnormSrgb,
Astc6X6Unorm,
Astc6X6UnormSrgb,
Astc8X5Unorm,
Astc8X5UnormSrgb,
Astc8X6Unorm,
Astc8X6UnormSrgb,
Astc8X8Unorm,
Astc8X8UnormSrgb,
Astc10X5Unorm,
Astc10X5UnormSrgb,
Astc10X6Unorm,
Astc10X6UnormSrgb,
Astc10X8Unorm,
Astc10X8UnormSrgb,
Astc10X10Unorm,
Astc10X10UnormSrgb,
Astc12X10Unorm,
Astc12X10UnormSrgb,
Astc12X12Unorm,
Astc12X12UnormSrgb,
R8Bg8Biplanar420Unorm,
R10X6Bg10X6Biplanar420Unorm,
R8Bg8A8Triplanar420Unorm,
R8Bg8Biplanar422Unorm,
R8Bg8Biplanar444Unorm,
R10X6Bg10X6Biplanar422Unorm,
R10X6Bg10X6Biplanar444Unorm,
OpaqueYCbCrAndroid,
}Variants§
Undefined
R8Unorm
R8Snorm
R8Uint
R8Sint
R16Unorm
R16Snorm
R16Uint
R16Sint
R16Float
Rg8Unorm
Rg8Snorm
Rg8Uint
Rg8Sint
R32Float
R32Uint
R32Sint
Rg16Unorm
Rg16Snorm
Rg16Uint
Rg16Sint
Rg16Float
Rgba8Unorm
Rgba8UnormSrgb
Rgba8Snorm
Rgba8Uint
Rgba8Sint
Bgra8Unorm
Bgra8UnormSrgb
Rgb10A2Uint
Rgb10A2Unorm
Rg11B10Ufloat
Rgb9E5Ufloat
Rg32Float
Rg32Uint
Rg32Sint
Rgba16Unorm
Rgba16Snorm
Rgba16Uint
Rgba16Sint
Rgba16Float
Rgba32Float
Rgba32Uint
Rgba32Sint
Stencil8
Depth16Unorm
Depth24Plus
Depth24PlusStencil8
Depth32Float
Depth32FloatStencil8
Bc1RgbaUnorm
Bc1RgbaUnormSrgb
Bc2RgbaUnorm
Bc2RgbaUnormSrgb
Bc3RgbaUnorm
Bc3RgbaUnormSrgb
Bc4RUnorm
Bc4RSnorm
Bc5RgUnorm
Bc5RgSnorm
Bc6HRgbUfloat
Bc6HRgbFloat
Bc7RgbaUnorm
Bc7RgbaUnormSrgb
Etc2Rgb8Unorm
Etc2Rgb8UnormSrgb
Etc2Rgb8A1Unorm
Etc2Rgb8A1UnormSrgb
Etc2Rgba8Unorm
Etc2Rgba8UnormSrgb
EacR11Unorm
EacR11Snorm
EacRg11Unorm
EacRg11Snorm
Astc4X4Unorm
Astc4X4UnormSrgb
Astc5X4Unorm
Astc5X4UnormSrgb
Astc5X5Unorm
Astc5X5UnormSrgb
Astc6X5Unorm
Astc6X5UnormSrgb
Astc6X6Unorm
Astc6X6UnormSrgb
Astc8X5Unorm
Astc8X5UnormSrgb
Astc8X6Unorm
Astc8X6UnormSrgb
Astc8X8Unorm
Astc8X8UnormSrgb
Astc10X5Unorm
Astc10X5UnormSrgb
Astc10X6Unorm
Astc10X6UnormSrgb
Astc10X8Unorm
Astc10X8UnormSrgb
Astc10X10Unorm
Astc10X10UnormSrgb
Astc12X10Unorm
Astc12X10UnormSrgb
Astc12X12Unorm
Astc12X12UnormSrgb
R8Bg8Biplanar420Unorm
R10X6Bg10X6Biplanar420Unorm
R8Bg8A8Triplanar420Unorm
R8Bg8Biplanar422Unorm
R8Bg8Biplanar444Unorm
R10X6Bg10X6Biplanar422Unorm
R10X6Bg10X6Biplanar444Unorm
OpaqueYCbCrAndroid
Trait Implementations§
Source§impl Clone for TextureFormat
impl Clone for TextureFormat
Source§fn clone(&self) -> TextureFormat
fn clone(&self) -> TextureFormat
Returns a duplicate 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 TextureFormat
impl Debug for TextureFormat
Source§impl From<TextureFormat> for c_uint
impl From<TextureFormat> for c_uint
Source§fn from(value: TextureFormat) -> Self
fn from(value: TextureFormat) -> Self
Converts to this type from the input type.
Source§impl From<u32> for TextureFormat
impl From<u32> for TextureFormat
Source§impl Hash for TextureFormat
impl Hash for TextureFormat
Source§impl PartialEq for TextureFormat
impl PartialEq for TextureFormat
impl Copy for TextureFormat
impl Eq for TextureFormat
impl StructuralPartialEq for TextureFormat
Auto Trait Implementations§
impl Freeze for TextureFormat
impl RefUnwindSafe for TextureFormat
impl Send for TextureFormat
impl Sync for TextureFormat
impl Unpin for TextureFormat
impl UnsafeUnpin for TextureFormat
impl UnwindSafe for TextureFormat
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