Struct vulkan_bindings::SamplerCreateInfo
source · #[repr(C)]pub struct SamplerCreateInfo {Show 18 fields
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: SamplerCreateFlags,
pub magFilter: Filter,
pub minFilter: Filter,
pub mipmapMode: SamplerMipmapMode,
pub addressModeU: SamplerAddressMode,
pub addressModeV: SamplerAddressMode,
pub addressModeW: SamplerAddressMode,
pub mipLodBias: f32,
pub anisotropyEnable: Bool32,
pub maxAnisotropy: f32,
pub compareEnable: Bool32,
pub compareOp: CompareOp,
pub minLod: f32,
pub maxLod: f32,
pub borderColor: BorderColor,
pub unnormalizedCoordinates: Bool32,
}
Fields§
§sType: StructureType
§pNext: *const c_void
§flags: SamplerCreateFlags
§magFilter: Filter
§minFilter: Filter
§mipmapMode: SamplerMipmapMode
§addressModeU: SamplerAddressMode
§addressModeV: SamplerAddressMode
§addressModeW: SamplerAddressMode
§mipLodBias: f32
§anisotropyEnable: Bool32
§maxAnisotropy: f32
§compareEnable: Bool32
§compareOp: CompareOp
§minLod: f32
§maxLod: f32
§borderColor: BorderColor
§unnormalizedCoordinates: Bool32
Trait Implementations§
source§impl Clone for SamplerCreateInfo
impl Clone for SamplerCreateInfo
source§fn clone(&self) -> SamplerCreateInfo
fn clone(&self) -> SamplerCreateInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more