Enum vulkano::sampler::MipmapMode [−][src]
#[repr(i32)] pub enum MipmapMode { Nearest, Linear, }
Expand description
Describes which mipmap from the source to use.
Variants
Use the mipmap whose dimensions are the nearest to the dimensions of the destination.
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MipmapMode
impl Send for MipmapMode
impl Sync for MipmapMode
impl Unpin for MipmapMode
impl UnwindSafe for MipmapMode
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.