Enum gltf_json::texture::MagFilter [−][src]
pub enum MagFilter { Nearest, Linear, }
Magnification filter.
Variants
Nearest
Corresponds to GL_NEAREST
.
Linear
Corresponds to GL_LINEAR
.
Methods
impl MagFilter
[src]
impl MagFilter
pub fn as_gl_enum(&self) -> u32
[src]
pub fn as_gl_enum(&self) -> u32
OpenGL enum
Trait Implementations
impl Clone for MagFilter
[src]
impl Clone for MagFilter
fn clone(&self) -> MagFilter
[src]
fn clone(&self) -> MagFilter
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 Copy for MagFilter
[src]
impl Copy for MagFilter
impl Debug for MagFilter
[src]
impl Debug for MagFilter
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 Serialize for MagFilter
[src]
impl Serialize for MagFilter