Enum gltf_json::texture::MinFilter []

pub enum MinFilter {
    Nearest,
    Linear,
    NearestMipmapNearest,
    LinearMipmapNearest,
    NearestMipmapLinear,
    LinearMipmapLinear,
}

Minification filter.

Variants

Corresponds to GL_NEAREST.

Corresponds to GL_LINEAR.

Corresponds to GL_NEAREST_MIPMAP_NEAREST.

Corresponds to GL_LINEAR_MIPMAP_NEAREST.

Corresponds to GL_NEAREST_MIPMAP_LINEAR.

Corresponds to GL_LINEAR_MIPMAP_LINEAR.

Methods

impl MinFilter

Returns the corresponding OpenGL enum value.

Trait Implementations

impl Clone for MinFilter

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MinFilter

impl Debug for MinFilter

Formats the value using the given formatter.