Enum gltf_json::texture::MinFilter [−][src]
pub enum MinFilter {
Nearest,
Linear,
NearestMipmapNearest,
LinearMipmapNearest,
NearestMipmapLinear,
LinearMipmapLinear,
}
Expand description
Minification filter.
Variants
Nearest
Corresponds to GL_NEAREST
.
Linear
Corresponds to GL_LINEAR
.
NearestMipmapNearest
Corresponds to GL_NEAREST_MIPMAP_NEAREST
.
LinearMipmapNearest
Corresponds to GL_LINEAR_MIPMAP_NEAREST
.
NearestMipmapLinear
Corresponds to GL_NEAREST_MIPMAP_LINEAR
.
LinearMipmapLinear
Corresponds to GL_LINEAR_MIPMAP_LINEAR
.
Implementations
Returns the corresponding OpenGL enum value.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MinFilter
impl UnwindSafe for MinFilter
Blanket Implementations
Mutably borrows from an owned value. Read more