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]

Returns the corresponding OpenGL enum value.

Trait Implementations

impl Clone for MinFilter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MinFilter
[src]

Formats the value using the given formatter. Read more

impl Copy for MinFilter
[src]

impl Eq for MinFilter
[src]

impl PartialEq<MinFilter> for MinFilter
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for MinFilter
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for MinFilter

impl Sync for MinFilter