Enum vulkano::sampler::MipmapMode [] [src]

#[repr(u32)]
pub enum MipmapMode { Nearest, Linear, }

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 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]

[src]

Formats the value using the given formatter.

impl Copy for MipmapMode
[src]

impl Clone for MipmapMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for MipmapMode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for MipmapMode
[src]

impl Hash for MipmapMode
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more