Enum vulkano::sampler::Filter [−][src]
#[repr(u32)]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 Debug for Filter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Filter
[src]
impl Copy for Filter
impl Clone for Filter
[src]
impl Clone for Filter
fn clone(&self) -> Filter
[src]
fn clone(&self) -> Filter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Filter
[src]
impl PartialEq for Filter
fn eq(&self, other: &Filter) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Filter
[src]
impl Eq for Filter
impl Hash for Filter
[src]
impl Hash for Filter