Enum gltf::texture::MinFilter [] [src]

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
[src]

[src]

Returns the corresponding OpenGL enum value.

Trait Implementations

impl<'de> Deserialize<'de> for MinFilter
[src]

[src]

impl Clone for MinFilter
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MinFilter
[src]

impl Debug for MinFilter
[src]

[src]

Formats the value using the given formatter.