[][src]Struct ash::vk::PipelineColorBlendAttachmentStateBuilder

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

Methods

impl<'a> PipelineColorBlendAttachmentStateBuilder<'a>[src]

pub fn blend_enable(
    self,
    blend_enable: bool
) -> PipelineColorBlendAttachmentStateBuilder<'a>
[src]

pub fn src_color_blend_factor(
    self,
    src_color_blend_factor: BlendFactor
) -> PipelineColorBlendAttachmentStateBuilder<'a>
[src]

pub fn dst_color_blend_factor(
    self,
    dst_color_blend_factor: BlendFactor
) -> PipelineColorBlendAttachmentStateBuilder<'a>
[src]

pub fn color_blend_op(
    self,
    color_blend_op: BlendOp
) -> PipelineColorBlendAttachmentStateBuilder<'a>
[src]

pub fn src_alpha_blend_factor(
    self,
    src_alpha_blend_factor: BlendFactor
) -> PipelineColorBlendAttachmentStateBuilder<'a>
[src]

pub fn dst_alpha_blend_factor(
    self,
    dst_alpha_blend_factor: BlendFactor
) -> PipelineColorBlendAttachmentStateBuilder<'a>
[src]

pub fn alpha_blend_op(
    self,
    alpha_blend_op: BlendOp
) -> PipelineColorBlendAttachmentStateBuilder<'a>
[src]

pub fn color_write_mask(
    self,
    color_write_mask: ColorComponentFlags
) -> PipelineColorBlendAttachmentStateBuilder<'a>
[src]

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

Calling build will discard all the lifetime information. Only call this if necessary! Builders implement Deref targeting their corresponding Vulkan struct, so references to builders can be passed directly to Vulkan functions.

Methods from Deref<Target = PipelineColorBlendAttachmentState>

Trait Implementations

impl<'a> Deref for PipelineColorBlendAttachmentStateBuilder<'a>[src]

type Target = PipelineColorBlendAttachmentState

The resulting type after dereferencing.

impl<'a> DerefMut for PipelineColorBlendAttachmentStateBuilder<'a>[src]

Auto Trait Implementations

impl<'a> Unpin for PipelineColorBlendAttachmentStateBuilder<'a>

impl<'a> Sync for PipelineColorBlendAttachmentStateBuilder<'a>

impl<'a> Send for PipelineColorBlendAttachmentStateBuilder<'a>

impl<'a> UnwindSafe for PipelineColorBlendAttachmentStateBuilder<'a>

impl<'a> RefUnwindSafe for PipelineColorBlendAttachmentStateBuilder<'a>

Blanket Implementations

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

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

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.

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

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

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