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
sourceimpl Clone for SamplerCreateInfo
impl Clone for SamplerCreateInfo
sourcefn clone(&self) -> SamplerCreateInfo
fn clone(&self) -> SamplerCreateInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for SamplerCreateInfo
Auto Trait Implementations
impl RefUnwindSafe for SamplerCreateInfo
impl !Send for SamplerCreateInfo
impl !Sync for SamplerCreateInfo
impl Unpin for SamplerCreateInfo
impl UnwindSafe for SamplerCreateInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more