Struct vulkanalia::vk::SamplerCreateInfoBuilder[][src]

#[repr(transparent)]pub struct SamplerCreateInfoBuilder<'b> { /* fields omitted */ }

A builder for a SamplerCreateInfo.

Implementations

impl<'b> SamplerCreateInfoBuilder<'b>[src]

pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Self where
    T: ExtendsSamplerCreateInfo
[src]

pub fn flags(self, flags: SamplerCreateFlags) -> Self[src]

pub fn mag_filter(self, mag_filter: Filter) -> Self[src]

pub fn min_filter(self, min_filter: Filter) -> Self[src]

pub fn mipmap_mode(self, mipmap_mode: SamplerMipmapMode) -> Self[src]

pub fn address_mode_u(self, address_mode_u: SamplerAddressMode) -> Self[src]

pub fn address_mode_v(self, address_mode_v: SamplerAddressMode) -> Self[src]

pub fn address_mode_w(self, address_mode_w: SamplerAddressMode) -> Self[src]

pub fn mip_lod_bias(self, mip_lod_bias: f32) -> Self[src]

pub fn anisotropy_enable(self, anisotropy_enable: bool) -> Self[src]

pub fn max_anisotropy(self, max_anisotropy: f32) -> Self[src]

pub fn compare_enable(self, compare_enable: bool) -> Self[src]

pub fn compare_op(self, compare_op: CompareOp) -> Self[src]

pub fn min_lod(self, min_lod: f32) -> Self[src]

pub fn max_lod(self, max_lod: f32) -> Self[src]

pub fn border_color(self, border_color: BorderColor) -> Self[src]

pub fn unnormalized_coordinates(self, unnormalized_coordinates: bool) -> Self[src]

pub fn build(self) -> SamplerCreateInfo[src]

Trait Implementations

impl<'b> Cast for SamplerCreateInfoBuilder<'b>[src]

type Target = SamplerCreateInfo

The other type this type type can be used interchangeably with in FFI.

impl<'b> Clone for SamplerCreateInfoBuilder<'b>[src]

impl<'b> Copy for SamplerCreateInfoBuilder<'b>[src]

impl<'b> Debug for SamplerCreateInfoBuilder<'b>[src]

impl<'b> Default for SamplerCreateInfoBuilder<'b>[src]

impl<'b> Deref for SamplerCreateInfoBuilder<'b>[src]

type Target = SamplerCreateInfo

The resulting type after dereferencing.

impl<'b> DerefMut for SamplerCreateInfoBuilder<'b>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.