Enum vulkano::sampler::Filter [] [src]

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

Describes how the color of each pixel should be determined.

Variants

The four pixels whose center surround the requested coordinates are taken, then their values are interpolated.

The pixel whose center is nearest to the requested coordinates is taken from the source and its value is returned as-is.

Trait Implementations

impl Debug for Filter
[src]

Formats the value using the given formatter.

impl Copy for Filter
[src]

impl Clone for Filter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Filter
[src]

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

This method tests for !=.

impl Eq for Filter
[src]

impl Hash for Filter
[src]

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

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