Enum gltf_json::texture::MinFilter
[−]
pub enum MinFilter { Nearest, Linear, NearestMipmapNearest, LinearMipmapNearest, NearestMipmapLinear, LinearMipmapLinear, }
Minification filter.
Variants
Nearest
Corresponds to GL_NEAREST
.
Linear
Corresponds to GL_LINEAR
.
NearestMipmapNearest
Corresponds to GL_NEAREST_MIPMAP_NEAREST
.
LinearMipmapNearest
Corresponds to GL_LINEAR_MIPMAP_NEAREST
.
NearestMipmapLinear
Corresponds to GL_NEAREST_MIPMAP_LINEAR
.
LinearMipmapLinear
Corresponds to GL_LINEAR_MIPMAP_LINEAR
.
Methods
impl MinFilter
fn as_gl_enum(&self) -> i32
Returns the corresponding OpenGL enum value.
Trait Implementations
impl Clone for MinFilter
fn clone(&self) -> MinFilter
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