[−][src]Struct fna3d::SamplerState
Specifies texture sampling method
Wrap, mirror, etc.
Implementations
impl SamplerState[src]
pub fn raw_mut(&mut self) -> &mut FNA3D_SamplerState[src]
pub fn filter(&self) -> TextureFilter[src]
pub fn set_filter(&mut self, filter: TextureFilter)[src]
pub fn address_u(&self) -> TextureAddressMode[src]
pub fn set_address_u(&mut self, address: TextureAddressMode)[src]
pub fn address_v(&self) -> TextureAddressMode[src]
pub fn set_address_v(&mut self, address: TextureAddressMode)[src]
pub fn address_w(&self) -> TextureAddressMode[src]
pub fn set_address_w(&mut self, address: TextureAddressMode)[src]
pub fn mip_map_level_of_detail_bias(&self) -> f32[src]
pub fn set_mip_map_level_of_detail_bias(&mut self, value: f32)[src]
pub fn max_anisotropy(&self) -> i32[src]
pub fn set_max_anisotropy(&mut self, value: i32)[src]
pub fn max_mip_level(&self) -> i32[src]
pub fn set_max_mip_level(&mut self, value: i32)[src]
impl SamplerState[src]
Preset values
pub fn anisotropic_clamp() -> Self[src]
pub fn anisotropic_wrap() -> Self[src]
pub fn linear_clamp() -> Self[src]
pub fn linear_wrap() -> Self[src]
pub fn point_clamp() -> Self[src]
pub fn point_wrap() -> Self[src]
Trait Implementations
impl Clone for SamplerState[src]
pub fn clone(&self) -> SamplerState[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SamplerState[src]
impl Default for SamplerState[src]
Auto Trait Implementations
impl RefUnwindSafe for SamplerState
impl Send for SamplerState
impl Sync for SamplerState
impl Unpin for SamplerState
impl UnwindSafe for SamplerState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,