[][src]Struct wgpu::SamplerDescriptor

#[repr(C)]
pub struct SamplerDescriptor { pub r_address_mode: AddressMode, pub s_address_mode: AddressMode, pub t_address_mode: AddressMode, pub mag_filter: FilterMode, pub min_filter: FilterMode, pub mipmap_filter: FilterMode, pub lod_min_clamp: f32, pub lod_max_clamp: f32, pub max_anisotropy: u32, pub compare_function: CompareFunction, pub border_color: BorderColor, }

Fields

r_address_mode: AddressModes_address_mode: AddressModet_address_mode: AddressModemag_filter: FilterModemin_filter: FilterModemipmap_filter: FilterModelod_min_clamp: f32lod_max_clamp: f32max_anisotropy: u32compare_function: CompareFunctionborder_color: BorderColor

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> Supports for T

impl<T> Erased for T