pub struct SamplerCreateInfoBuilder<'a> { /* private fields */ }Expand description
Builder for SamplerCreateInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> SamplerCreateInfoBuilder<'a>
impl<'a> SamplerCreateInfoBuilder<'a>
pub fn flags(self, value: SamplerCreateFlags) -> Self
pub fn mag_filter(self, value: Filter) -> Self
pub fn min_filter(self, value: Filter) -> Self
pub fn mipmap_mode(self, value: SamplerMipmapMode) -> Self
pub fn address_mode_u(self, value: SamplerAddressMode) -> Self
pub fn address_mode_v(self, value: SamplerAddressMode) -> Self
pub fn address_mode_w(self, value: SamplerAddressMode) -> Self
pub fn mip_lod_bias(self, value: f32) -> Self
pub fn anisotropy_enable(self, value: bool) -> Self
pub fn max_anisotropy(self, value: f32) -> Self
pub fn compare_enable(self, value: bool) -> Self
pub fn compare_op(self, value: CompareOp) -> Self
pub fn min_lod(self, value: f32) -> Self
pub fn max_lod(self, value: f32) -> Self
pub fn border_color(self, value: BorderColor) -> Self
pub fn unnormalized_coordinates(self, value: bool) -> Self
Sourcepub fn push_next<T: ExtendsSamplerCreateInfo>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsSamplerCreateInfo>(self, next: &'a mut T) -> Self
Prepend a struct to the pNext chain. See SamplerCreateInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for SamplerCreateInfoBuilder<'a>
impl<'a> Deref for SamplerCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SamplerCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for SamplerCreateInfoBuilder<'a>
impl<'a> !Send for SamplerCreateInfoBuilder<'a>
impl<'a> !Sync for SamplerCreateInfoBuilder<'a>
impl<'a> Unpin for SamplerCreateInfoBuilder<'a>
impl<'a> UnsafeUnpin for SamplerCreateInfoBuilder<'a>
impl<'a> UnwindSafe for SamplerCreateInfoBuilder<'a>
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