pub struct PipelineColorBlendAttachmentStateBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn blend_enable( self, blend_enable: bool ) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn src_color_blend_factor( self, src_color_blend_factor: BlendFactor ) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn dst_color_blend_factor( self, dst_color_blend_factor: BlendFactor ) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn color_blend_op( self, color_blend_op: BlendOp ) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn src_alpha_blend_factor( self, src_alpha_blend_factor: BlendFactor ) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn dst_alpha_blend_factor( self, dst_alpha_blend_factor: BlendFactor ) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn alpha_blend_op( self, alpha_blend_op: BlendOp ) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn color_write_mask( self, color_write_mask: ColorComponentFlags ) -> PipelineColorBlendAttachmentStateBuilder<'a>
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>
§type Target = PipelineColorBlendAttachmentState
type Target = PipelineColorBlendAttachmentState
The resulting type after dereferencing.
source§impl<'a> DerefMut for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> DerefMut 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