Enum gltf_json::texture::MinFilter
[−]
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
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