Enum gltf_json::texture::MagFilter [−][src]
pub enum MagFilter {
Nearest,
Linear,
}Magnification filter.
Variants
NearestCorresponds to GL_NEAREST.
LinearCorresponds to GL_LINEAR.
Methods
impl MagFilter[src]
impl MagFilterpub fn as_gl_enum(&self) -> u32[src]
pub fn as_gl_enum(&self) -> u32OpenGL enum
Trait Implementations
impl Clone for MagFilter[src]
impl Clone for MagFilterfn clone(&self) -> MagFilter[src]
fn clone(&self) -> MagFilterReturns 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 MagFilter[src]
impl Copy for MagFilterimpl Debug for MagFilter[src]
impl Debug for MagFilterfn 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 MagFilter[src]
impl Eq for MagFilterimpl PartialEq for MagFilter[src]
impl PartialEq for MagFilterfn eq(&self, other: &MagFilter) -> bool[src]
fn eq(&self, other: &MagFilter) -> 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 MagFilter[src]
impl Serialize for MagFilter