Enum vulkano::sampler::Filter [−][src]
#[repr(i32)]
pub enum Filter {
Linear,
Nearest,
}
Expand description
Describes how the color of each pixel should be determined.
Variants
Linear
The four pixels whose center surround the requested coordinates are taken, then their values are interpolated.
Nearest
The pixel whose center is nearest to the requested coordinates is taken from the source and its value is returned as-is.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Filter
impl UnwindSafe for Filter
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.