#[repr(u8)]pub enum ProceduralTextureFilter {
Nearest = 0,
Linear = 1,
NearestMipNearest = 2,
LinearMipNearest = 3,
NearestMipLinear = 4,
LinearMipLinear = 5,
}Expand description
Procedural texture filter values.
Variants§
Nearest = 0
Nearest-neighbor
Linear = 1
Linear interpolation
NearestMipNearest = 2
Nearest-neighbor with mipmap using nearest-neighbor
LinearMipNearest = 3
Linear interpolation with mipmap using nearest-neighbor
NearestMipLinear = 4
Nearest-neighbor with mipmap using linear interpolation
LinearMipLinear = 5
Linear interpolation with mipmap using linear interpolation
Trait Implementations§
Source§impl Clone for ProceduralTextureFilter
impl Clone for ProceduralTextureFilter
Source§fn clone(&self) -> ProceduralTextureFilter
fn clone(&self) -> ProceduralTextureFilter
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProceduralTextureFilter
impl Debug for ProceduralTextureFilter
Source§impl PartialEq for ProceduralTextureFilter
impl PartialEq for ProceduralTextureFilter
Source§impl TryFrom<u8> for ProceduralTextureFilter
impl TryFrom<u8> for ProceduralTextureFilter
impl Copy for ProceduralTextureFilter
impl Eq for ProceduralTextureFilter
impl StructuralPartialEq for ProceduralTextureFilter
Auto Trait Implementations§
impl Freeze for ProceduralTextureFilter
impl RefUnwindSafe for ProceduralTextureFilter
impl Send for ProceduralTextureFilter
impl Sync for ProceduralTextureFilter
impl Unpin for ProceduralTextureFilter
impl UnwindSafe for ProceduralTextureFilter
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)