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]
pub fn as_gl_enum(&self) -> i32[src]
Returns the corresponding OpenGL enum value.
Trait Implementations
impl Clone for MinFilter[src]
fn clone(&self) -> MinFilter[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more