Enum gltf::texture::MagFilter[][src]

pub enum MagFilter {
    Nearest,
    Linear,
}

Magnification filter.

Variants

Corresponds to GL_NEAREST.

Corresponds to GL_LINEAR.

Methods

impl MagFilter
[src]

OpenGL enum

Trait Implementations

impl Clone for MagFilter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MagFilter
[src]

Formats the value using the given formatter. Read more

impl Copy for MagFilter
[src]

impl Eq for MagFilter
[src]

impl PartialEq<MagFilter> for MagFilter
[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 MagFilter
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for MagFilter
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for MagFilter

impl Sync for MagFilter