Struct ash::vk::SamplerCreateInfo

source ·
#[repr(C)]
pub struct SamplerCreateInfo {
Show 18 fields 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

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.