pub enum Sampling {
Nearest,
Bilinear,
Trilinear,
}Expand description
Texture reconstruction requested by a drawing command.
Variants§
Nearest
Nearest base-level texel.
Bilinear
Bilinear base-level reconstruction.
Trilinear
Bilinear reconstruction between adjacent mip levels.
Trait Implementations§
impl Copy for Sampling
impl Eq for Sampling
impl StructuralPartialEq for Sampling
Auto Trait Implementations§
impl Forget for Sampling
impl Freeze for Sampling
impl Move for Sampling
impl RefUnwindSafe for Sampling
impl Send for Sampling
impl Sync for Sampling
impl Unpin for Sampling
impl UnsafeUnpin for Sampling
impl UnwindSafe for Sampling
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