Enum vulkano::sampler::Filter
[−]
[src]
pub enum Filter { Linear, Nearest, }
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
impl Debug for Filter
[src]
impl Copy for Filter
[src]
impl Clone for Filter
[src]
fn clone(&self) -> Filter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Filter
[src]
fn eq(&self, __arg_0: &Filter) -> 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
This method tests for !=
.
impl Eq for Filter
[src]
impl Hash for Filter
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.