#[repr(u32)]pub enum TiFormat {
Show 44 variants
Unknown = 0,
R8 = 1,
Rg8 = 2,
Rgba8 = 3,
Rgba8Srgb = 4,
Bgra8 = 5,
Bgra8Srgb = 6,
R8U = 7,
Rg8U = 8,
Rgba8U = 9,
R8I = 10,
Rg8I = 11,
Rgba8I = 12,
R16 = 13,
Rg16 = 14,
Rgb16 = 15,
Rgba16 = 16,
R16U = 17,
Rg16U = 18,
Rgb16U = 19,
Rgba16U = 20,
R16I = 21,
Rg16I = 22,
Rgb16I = 23,
Rgba16I = 24,
R16F = 25,
Rg16F = 26,
Rgb16F = 27,
Rgba16F = 28,
R32U = 29,
Rg32U = 30,
Rgb32U = 31,
Rgba32U = 32,
R32I = 33,
Rg32I = 34,
Rgb32I = 35,
Rgba32I = 36,
R32F = 37,
Rg32F = 38,
Rgb32F = 39,
Rgba32F = 40,
Depth16 = 41,
Depth24Stencil8 = 42,
Depth32F = 43,
}Expand description
Enumeration TiFormat
Texture formats. The availability of texture formats depends on runtime support.
Variants§
Unknown = 0
R8 = 1
Rg8 = 2
Rgba8 = 3
Rgba8Srgb = 4
Bgra8 = 5
Bgra8Srgb = 6
R8U = 7
Rg8U = 8
Rgba8U = 9
R8I = 10
Rg8I = 11
Rgba8I = 12
R16 = 13
Rg16 = 14
Rgb16 = 15
Rgba16 = 16
R16U = 17
Rg16U = 18
Rgb16U = 19
Rgba16U = 20
R16I = 21
Rg16I = 22
Rgb16I = 23
Rgba16I = 24
R16F = 25
Rg16F = 26
Rgb16F = 27
Rgba16F = 28
R32U = 29
Rg32U = 30
Rgb32U = 31
Rgba32U = 32
R32I = 33
Rg32I = 34
Rgb32I = 35
Rgba32I = 36
R32F = 37
Rg32F = 38
Rgb32F = 39
Rgba32F = 40
Depth16 = 41
Depth24Stencil8 = 42
Depth32F = 43
Trait Implementations§
Source§impl Ord for TiFormat
impl Ord for TiFormat
Source§impl PartialOrd for TiFormat
impl PartialOrd for TiFormat
impl Copy for TiFormat
impl Eq for TiFormat
impl StructuralPartialEq for TiFormat
Auto Trait Implementations§
impl Freeze for TiFormat
impl RefUnwindSafe for TiFormat
impl Send for TiFormat
impl Sync for TiFormat
impl Unpin for TiFormat
impl UnwindSafe for TiFormat
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