pub enum MinFilter {
Nearest = 1,
Linear = 2,
NearestMipmapNearest = 3,
LinearMipmapNearest = 4,
NearestMipmapLinear = 5,
LinearMipmapLinear = 6,
}
Expand description
Minification filter.
Variants§
Nearest = 1
Corresponds to GL_NEAREST
.
Linear = 2
Corresponds to GL_LINEAR
.
NearestMipmapNearest = 3
Corresponds to GL_NEAREST_MIPMAP_NEAREST
.
LinearMipmapNearest = 4
Corresponds to GL_LINEAR_MIPMAP_NEAREST
.
NearestMipmapLinear = 5
Corresponds to GL_NEAREST_MIPMAP_LINEAR
.
LinearMipmapLinear = 6
Corresponds to GL_LINEAR_MIPMAP_LINEAR
.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for MinFilter
impl<'de> Deserialize<'de> for MinFilter
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MinFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MinFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MinFilter
impl PartialEq for MinFilter
source§impl Serialize for MinFilter
impl Serialize for MinFilter
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for MinFilter
impl Eq for MinFilter
impl StructuralEq for MinFilter
impl StructuralPartialEq for MinFilter
Auto Trait Implementations§
impl RefUnwindSafe for MinFilter
impl Send for MinFilter
impl Sync for MinFilter
impl Unpin for MinFilter
impl UnwindSafe for MinFilter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more