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 mipmap whose dimensions are no greater than that of the destination together with the next higher level mipmap, calculate the value for both, and interpolate them.
Trait Implementations
impl Debug for MipmapMode
[src]
impl Debug for MipmapMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for MipmapMode
[src]
impl Copy for MipmapMode
impl Clone for MipmapMode
[src]
impl Clone for MipmapMode
fn clone(&self) -> MipmapMode
[src]
fn clone(&self) -> MipmapMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for MipmapMode
[src]
impl PartialEq for MipmapMode
fn eq(&self, other: &MipmapMode) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for MipmapMode
[src]
impl Eq for MipmapMode
impl Hash for MipmapMode
[src]
impl Hash for MipmapMode
Auto Trait Implementations
impl Send for MipmapMode
impl Send for MipmapMode
impl Sync for MipmapMode
impl Sync for MipmapMode