pub struct TextureFilterInfo {
pub s_wrap_mode: u32,
pub t_wrap_mode: u32,
pub r_wrap_mode: u32,
pub min_filter: u32,
pub mag_filter: u32,
pub mip_filter: u32,
}Expand description
Wraps the corresponding Model I/O texture filter info counterpart.
Fields§
§s_wrap_mode: u32§t_wrap_mode: u32§r_wrap_mode: u32§min_filter: u32§mag_filter: u32§mip_filter: u32Implementations§
Source§impl TextureFilterInfo
impl TextureFilterInfo
Sourcepub fn s_wrap_mode_enum(&self) -> Option<MaterialTextureWrapMode>
pub fn s_wrap_mode_enum(&self) -> Option<MaterialTextureWrapMode>
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter info counterpart.
Sourcepub fn t_wrap_mode_enum(&self) -> Option<MaterialTextureWrapMode>
pub fn t_wrap_mode_enum(&self) -> Option<MaterialTextureWrapMode>
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter info counterpart.
Sourcepub fn r_wrap_mode_enum(&self) -> Option<MaterialTextureWrapMode>
pub fn r_wrap_mode_enum(&self) -> Option<MaterialTextureWrapMode>
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter info counterpart.
Sourcepub fn min_filter_enum(&self) -> Option<MaterialTextureFilterMode>
pub fn min_filter_enum(&self) -> Option<MaterialTextureFilterMode>
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter info counterpart.
Sourcepub fn mag_filter_enum(&self) -> Option<MaterialTextureFilterMode>
pub fn mag_filter_enum(&self) -> Option<MaterialTextureFilterMode>
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter info counterpart.
Sourcepub fn mip_filter_enum(&self) -> Option<MaterialMipMapFilterMode>
pub fn mip_filter_enum(&self) -> Option<MaterialMipMapFilterMode>
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter info counterpart.
Trait Implementations§
Source§impl Clone for TextureFilterInfo
impl Clone for TextureFilterInfo
Source§fn clone(&self) -> TextureFilterInfo
fn clone(&self) -> TextureFilterInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextureFilterInfo
impl Debug for TextureFilterInfo
Source§impl<'de> Deserialize<'de> for TextureFilterInfo
impl<'de> Deserialize<'de> for TextureFilterInfo
Source§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 Freeze for TextureFilterInfo
impl RefUnwindSafe for TextureFilterInfo
impl Send for TextureFilterInfo
impl Sync for TextureFilterInfo
impl Unpin for TextureFilterInfo
impl UnsafeUnpin for TextureFilterInfo
impl UnwindSafe for TextureFilterInfo
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