Struct vulkanalia::vk::SamplerCreateInfoBuilder
source · #[repr(transparent)]pub struct SamplerCreateInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for a SamplerCreateInfo
.
Implementations§
source§impl<'b> SamplerCreateInfoBuilder<'b>
impl<'b> SamplerCreateInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsSamplerCreateInfo,
pub fn flags(self, flags: SamplerCreateFlags) -> Self
pub fn mag_filter(self, mag_filter: Filter) -> Self
pub fn min_filter(self, min_filter: Filter) -> Self
pub fn mipmap_mode(self, mipmap_mode: SamplerMipmapMode) -> Self
pub fn address_mode_u(self, address_mode_u: SamplerAddressMode) -> Self
pub fn address_mode_v(self, address_mode_v: SamplerAddressMode) -> Self
pub fn address_mode_w(self, address_mode_w: SamplerAddressMode) -> Self
pub fn mip_lod_bias(self, mip_lod_bias: f32) -> Self
pub fn anisotropy_enable(self, anisotropy_enable: bool) -> Self
pub fn max_anisotropy(self, max_anisotropy: f32) -> Self
pub fn compare_enable(self, compare_enable: bool) -> Self
pub fn compare_op(self, compare_op: CompareOp) -> Self
pub fn min_lod(self, min_lod: f32) -> Self
pub fn max_lod(self, max_lod: f32) -> Self
pub fn border_color(self, border_color: BorderColor) -> Self
pub fn unnormalized_coordinates(self, unnormalized_coordinates: bool) -> Self
pub fn build(self) -> SamplerCreateInfo
Trait Implementations§
source§impl<'b> Cast for SamplerCreateInfoBuilder<'b>
impl<'b> Cast for SamplerCreateInfoBuilder<'b>
§type Target = SamplerCreateInfo
type Target = SamplerCreateInfo
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for SamplerCreateInfoBuilder<'b>
impl<'b> Clone for SamplerCreateInfoBuilder<'b>
source§fn clone(&self) -> SamplerCreateInfoBuilder<'b>
fn clone(&self) -> SamplerCreateInfoBuilder<'b>
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 moresource§impl<'b> Debug for SamplerCreateInfoBuilder<'b>
impl<'b> Debug for SamplerCreateInfoBuilder<'b>
source§impl<'b> Default for SamplerCreateInfoBuilder<'b>
impl<'b> Default for SamplerCreateInfoBuilder<'b>
source§fn default() -> SamplerCreateInfoBuilder<'b>
fn default() -> SamplerCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for SamplerCreateInfoBuilder<'b>
impl<'b> Deref for SamplerCreateInfoBuilder<'b>
source§impl<'b> DerefMut for SamplerCreateInfoBuilder<'b>
impl<'b> DerefMut for SamplerCreateInfoBuilder<'b>
impl<'b> Copy for SamplerCreateInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for SamplerCreateInfoBuilder<'b>
impl<'b> !Send for SamplerCreateInfoBuilder<'b>
impl<'b> !Sync for SamplerCreateInfoBuilder<'b>
impl<'b> Unpin for SamplerCreateInfoBuilder<'b>
impl<'b> UnwindSafe for SamplerCreateInfoBuilder<'b>
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