Enum gltf_json::texture::MinFilter [−][src]
pub enum MinFilter {
Nearest,
Linear,
NearestMipmapNearest,
LinearMipmapNearest,
NearestMipmapLinear,
LinearMipmapLinear,
}Minification filter.
Variants
NearestCorresponds to GL_NEAREST.
LinearCorresponds to GL_LINEAR.
NearestMipmapNearestCorresponds to GL_NEAREST_MIPMAP_NEAREST.
LinearMipmapNearestCorresponds to GL_LINEAR_MIPMAP_NEAREST.
NearestMipmapLinearCorresponds to GL_NEAREST_MIPMAP_LINEAR.
LinearMipmapLinearCorresponds to GL_LINEAR_MIPMAP_LINEAR.
Methods
impl MinFilter[src]
impl MinFilterpub fn as_gl_enum(&self) -> u32[src]
pub fn as_gl_enum(&self) -> u32Returns the corresponding OpenGL enum value.
Trait Implementations
impl Clone for MinFilter[src]
impl Clone for MinFilterfn clone(&self) -> MinFilter[src]
fn clone(&self) -> MinFilterReturns 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 Copy for MinFilter[src]
impl Copy for MinFilterimpl Debug for MinFilter[src]
impl Debug for MinFilterfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for MinFilter[src]
impl Eq for MinFilterimpl PartialEq for MinFilter[src]
impl PartialEq for MinFilterfn eq(&self, other: &MinFilter) -> bool[src]
fn eq(&self, other: &MinFilter) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Serialize for MinFilter[src]
impl Serialize for MinFilter