Struct ash::vk::PipelineColorBlendAttachmentStateBuilder
source · #[repr(transparent)]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.