Enum vulkano::sampler::MipmapMode
[−]
[src]
#[repr(u32)]pub enum MipmapMode { Nearest, Linear, }
Describes which mipmap from the source to use.
Variants
Nearest
Use the mipmap whose dimensions are the nearest to the dimensions of the destination.
Linear
Take the two mipmaps whose dimensions are immediately inferior and superior to the dimensions of the destination, calculate the value for both, and interpolate them.
Trait Implementations
impl Debug for MipmapMode
[src]
impl Copy for MipmapMode
[src]
impl Clone for MipmapMode
[src]
fn clone(&self) -> MipmapMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for MipmapMode
[src]
fn eq(&self, __arg_0: &MipmapMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.