pub enum SurfacePrecision {
Low,
Mid,
High,
}
Expand description
The precision of the texel channel value.
Each channel of the texel has a precision. Typically, channels have the same precision. An exact format may lower the precision of an individual channel but applying a higher precision by linking the channels may still convey the same information.
Variants§
Low
For integers, this typically represents 8 bits. For floats, typically 16 bits.
Mid
For integers, this typically represents 8 to 24 bits. For floats, typically 16 to 32 bits.
High
For integers, this typically represents 16 to 32 bits. For floats, typically 24 to 32 bits.
Implementations§
Trait Implementations§
Source§impl Clone for SurfacePrecision
impl Clone for SurfacePrecision
Source§fn clone(&self) -> SurfacePrecision
fn clone(&self) -> SurfacePrecision
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 SurfacePrecision
impl Debug for SurfacePrecision
Source§impl Display for SurfacePrecision
impl Display for SurfacePrecision
Source§impl FromStr for SurfacePrecision
impl FromStr for SurfacePrecision
Source§impl PartialEq for SurfacePrecision
impl PartialEq for SurfacePrecision
impl Copy for SurfacePrecision
impl Eq for SurfacePrecision
impl StructuralPartialEq for SurfacePrecision
Auto Trait Implementations§
impl Freeze for SurfacePrecision
impl RefUnwindSafe for SurfacePrecision
impl Send for SurfacePrecision
impl Sync for SurfacePrecision
impl Unpin for SurfacePrecision
impl UnwindSafe for SurfacePrecision
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