#[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
Auto Trait Implementations§
impl Freeze for SamplerCreateInfo
impl RefUnwindSafe for SamplerCreateInfo
impl !Send for SamplerCreateInfo
impl !Sync for SamplerCreateInfo
impl Unpin for SamplerCreateInfo
impl UnwindSafe for SamplerCreateInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more