pub enum Transfer {
Stored,
SrgbColour,
}Expand description
A texel channel’s value before filtering.
Variants§
Stored
x / 255.
SrgbColour
Red, green and blue decoded from sRGB to linear (as a GPU’s sRGB view), alpha x / 255.
Implementations§
Trait Implementations§
impl Copy for Transfer
impl Eq for Transfer
impl StructuralPartialEq for Transfer
Auto Trait Implementations§
impl Forget for Transfer
impl Freeze for Transfer
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnsafeUnpin for Transfer
impl UnwindSafe for Transfer
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