[][src]Struct 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,
}

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkSamplerCreateInfo.html

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]

pub fn builder<'a>() -> SamplerCreateInfoBuilder<'a>[src]

Trait Implementations

impl Copy for SamplerCreateInfo[src]

impl Default for SamplerCreateInfo[src]

impl Clone for SamplerCreateInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SamplerCreateInfo[src]

Auto Trait Implementations

impl Unpin for SamplerCreateInfo

impl !Sync for SamplerCreateInfo

impl !Send for SamplerCreateInfo

impl UnwindSafe for SamplerCreateInfo

impl RefUnwindSafe for SamplerCreateInfo

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<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> Borrow<T> for T where
    T: ?Sized
[src]

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

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