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

#[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,
}
Expand description

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.