pub enum AtcCompression {
Rgb,
RgbaExplicit,
RgbaInterpolated,
Unknown,
}Expand description
Compression formats for ATC containers
Adaptive Texture Compression (ATC) is used primarily on Adreno GPUs.
Variants§
Rgb
ATC RGB (no alpha)
RgbaExplicit
ATC RGBA with explicit alpha
RgbaInterpolated
ATC RGBA with interpolated alpha
Unknown
Other/Unknown ATC format
Trait Implementations§
Source§impl Clone for AtcCompression
impl Clone for AtcCompression
Source§fn clone(&self) -> AtcCompression
fn clone(&self) -> AtcCompression
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 AtcCompression
impl Debug for AtcCompression
Source§impl Hash for AtcCompression
impl Hash for AtcCompression
Source§impl Ord for AtcCompression
impl Ord for AtcCompression
Source§fn cmp(&self, other: &AtcCompression) -> Ordering
fn cmp(&self, other: &AtcCompression) -> 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 AtcCompression
impl PartialEq for AtcCompression
Source§impl PartialOrd for AtcCompression
impl PartialOrd for AtcCompression
impl Copy for AtcCompression
impl Eq for AtcCompression
impl StructuralPartialEq for AtcCompression
Auto Trait Implementations§
impl Freeze for AtcCompression
impl RefUnwindSafe for AtcCompression
impl Send for AtcCompression
impl Sync for AtcCompression
impl Unpin for AtcCompression
impl UnsafeUnpin for AtcCompression
impl UnwindSafe for AtcCompression
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