[][src]Struct fna3d::SamplerState

pub struct SamplerState { /* fields omitted */ }

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]

impl Debug for SamplerState[src]

impl Default for SamplerState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.