#[repr(C)]pub enum CrnFormat {
Show 15 variants
FirstValid = -2,
Invalid = -1,
Dxt1 = 0,
Dxt3 = 1,
Dxt5 = 2,
Dxt5cCxY = 3,
Dxt5xGxR = 4,
Dxt5xGBR = 5,
Dxt5Agbr = 6,
DxNXy = 7,
DxNYx = 8,
Dxt5A = 9,
Etc1 = 10,
Total = 11,
ForceDWORD = 4_294_967_295,
}Variants§
FirstValid = -2
Invalid = -1
Dxt1 = 0
Dxt3 = 1
cCRNFmtDXT3 is not currently supported when writing to CRN - only DDS.
Dxt5 = 2
Dxt5cCxY = 3
Luma-chroma
Dxt5xGxR = 4
Swizzled 2-component
Dxt5xGBR = 5
Swizzled 3-component
Dxt5Agbr = 6
Swizzled 4-component
DxNXy = 7
ATI 3DC and X360 DXN
DxNYx = 8
Dxt5A = 9
DXT5 alpha blocks only
Etc1 = 10
Total = 11
ForceDWORD = 4_294_967_295
Trait Implementations§
impl Copy for CrnFormat
impl StructuralPartialEq for CrnFormat
Auto Trait Implementations§
impl Freeze for CrnFormat
impl RefUnwindSafe for CrnFormat
impl Send for CrnFormat
impl Sync for CrnFormat
impl Unpin for CrnFormat
impl UnwindSafe for CrnFormat
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