Struct ash::vk::PipelineColorBlendAttachmentStateBuilder
source · pub struct PipelineColorBlendAttachmentStateBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn blend_enable(self, blend_enable: bool) -> Self
pub fn src_color_blend_factor(self, src_color_blend_factor: BlendFactor) -> Self
pub fn dst_color_blend_factor(self, dst_color_blend_factor: BlendFactor) -> Self
pub fn color_blend_op(self, color_blend_op: BlendOp) -> Self
pub fn src_alpha_blend_factor(self, src_alpha_blend_factor: BlendFactor) -> Self
pub fn dst_alpha_blend_factor(self, dst_alpha_blend_factor: BlendFactor) -> Self
pub fn alpha_blend_op(self, alpha_blend_op: BlendOp) -> Self
pub fn color_write_mask(self, color_write_mask: ColorComponentFlags) -> Self
sourcepub fn build(self) -> PipelineColorBlendAttachmentState
pub fn build(self) -> PipelineColorBlendAttachmentState
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.
Trait Implementations§
source§impl<'a> Deref for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> Deref for PipelineColorBlendAttachmentStateBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> Send for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> Sync for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> Unpin for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> UnwindSafe for PipelineColorBlendAttachmentStateBuilder<'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