[][src]Struct ash_tray::ash::vk::SamplerCreateInfo

#[repr(C)]
pub struct SamplerCreateInfo {
    pub s_type: StructureType,
    pub p_next: *const c_void,
    pub flags: SamplerCreateFlags,
    pub mag_filter: Filter,
    pub min_filter: Filter,
    pub mipmap_mode: SamplerMipmapMode,
    pub address_mode_u: SamplerAddressMode,
    pub address_mode_v: SamplerAddressMode,
    pub address_mode_w: SamplerAddressMode,
    pub mip_lod_bias: f32,
    pub anisotropy_enable: Bool32,
    pub max_anisotropy: f32,
    pub compare_enable: Bool32,
    pub compare_op: CompareOp,
    pub min_lod: f32,
    pub max_lod: f32,
    pub border_color: BorderColor,
    pub unnormalized_coordinates: Bool32,
}

Fields

s_type: StructureTypep_next: *const c_voidflags: SamplerCreateFlagsmag_filter: Filtermin_filter: Filtermipmap_mode: SamplerMipmapModeaddress_mode_u: SamplerAddressModeaddress_mode_v: SamplerAddressModeaddress_mode_w: SamplerAddressModemip_lod_bias: f32anisotropy_enable: Bool32max_anisotropy: f32compare_enable: Bool32compare_op: CompareOpmin_lod: f32max_lod: f32border_color: BorderColorunnormalized_coordinates: Bool32

Methods

impl SamplerCreateInfo[src]

Trait Implementations

impl Default for SamplerCreateInfo[src]

impl Clone for SamplerCreateInfo[src]

impl Copy for SamplerCreateInfo[src]

impl Debug for SamplerCreateInfo[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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