pub struct TextureFilter { /* private fields */ }Expand description
Wraps the corresponding Model I/O texture filter counterpart.
Implementations§
Source§impl TextureFilter
impl TextureFilter
Sourcepub fn new() -> Result<Self>
pub fn new() -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O texture filter counterpart.
Sourcepub fn info(&self) -> Result<TextureFilterInfo>
pub fn info(&self) -> Result<TextureFilterInfo>
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter counterpart.
Sourcepub fn set_s_wrap_mode(&self, value: MaterialTextureWrapMode)
pub fn set_s_wrap_mode(&self, value: MaterialTextureWrapMode)
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter counterpart.
Sourcepub fn set_t_wrap_mode(&self, value: MaterialTextureWrapMode)
pub fn set_t_wrap_mode(&self, value: MaterialTextureWrapMode)
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter counterpart.
Sourcepub fn set_r_wrap_mode(&self, value: MaterialTextureWrapMode)
pub fn set_r_wrap_mode(&self, value: MaterialTextureWrapMode)
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter counterpart.
Sourcepub fn set_min_filter(&self, value: MaterialTextureFilterMode)
pub fn set_min_filter(&self, value: MaterialTextureFilterMode)
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter counterpart.
Sourcepub fn set_mag_filter(&self, value: MaterialTextureFilterMode)
pub fn set_mag_filter(&self, value: MaterialTextureFilterMode)
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter counterpart.
Sourcepub fn set_mip_filter(&self, value: MaterialMipMapFilterMode)
pub fn set_mip_filter(&self, value: MaterialMipMapFilterMode)
Calls the corresponding Model I/O method on the wrapped Model I/O texture filter counterpart.
Trait Implementations§
Source§impl Clone for TextureFilter
impl Clone for TextureFilter
Source§fn clone(&self) -> TextureFilter
fn clone(&self) -> TextureFilter
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more