pub struct PipelineColorBlendAttachmentStateBuilder { /* private fields */ }
Expand description
A builder for VkPipelineColorBlendAttachmentState
.
Implementations§
Source§impl PipelineColorBlendAttachmentStateBuilder
impl PipelineColorBlendAttachmentStateBuilder
pub fn new() -> PipelineColorBlendAttachmentStateBuilder
pub fn blend_enable<'m>( self, blend_enable: bool, ) -> PipelineColorBlendAttachmentStateBuilder
pub fn src_color_blend_factor<'m>( self, src_color_blend_factor: BlendFactor, ) -> PipelineColorBlendAttachmentStateBuilder
pub fn dst_color_blend_factor<'m>( self, dst_color_blend_factor: BlendFactor, ) -> PipelineColorBlendAttachmentStateBuilder
pub fn color_blend_op<'m>( self, color_blend_op: BlendOp, ) -> PipelineColorBlendAttachmentStateBuilder
pub fn src_alpha_blend_factor<'m>( self, src_alpha_blend_factor: BlendFactor, ) -> PipelineColorBlendAttachmentStateBuilder
pub fn dst_alpha_blend_factor<'m>( self, dst_alpha_blend_factor: BlendFactor, ) -> PipelineColorBlendAttachmentStateBuilder
pub fn alpha_blend_op<'m>( self, alpha_blend_op: BlendOp, ) -> PipelineColorBlendAttachmentStateBuilder
pub fn color_write_mask<'m>( self, color_write_mask: ColorComponentFlags, ) -> PipelineColorBlendAttachmentStateBuilder
pub fn get_blend_enable<'a>(&'a self) -> bool
pub fn get_src_color_blend_factor<'a>(&'a self) -> BlendFactor
pub fn get_dst_color_blend_factor<'a>(&'a self) -> BlendFactor
pub fn get_color_blend_op<'a>(&'a self) -> BlendOp
pub fn get_src_alpha_blend_factor<'a>(&'a self) -> BlendFactor
pub fn get_dst_alpha_blend_factor<'a>(&'a self) -> BlendFactor
pub fn get_alpha_blend_op<'a>(&'a self) -> BlendOp
pub fn get_color_write_mask<'a>(&'a self) -> ColorComponentFlags
pub fn build(self) -> PipelineColorBlendAttachmentState
Trait Implementations§
Source§impl Clone for PipelineColorBlendAttachmentStateBuilder
impl Clone for PipelineColorBlendAttachmentStateBuilder
Source§fn clone(&self) -> PipelineColorBlendAttachmentStateBuilder
fn clone(&self) -> PipelineColorBlendAttachmentStateBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for PipelineColorBlendAttachmentStateBuilder
impl Default for PipelineColorBlendAttachmentStateBuilder
Source§fn default() -> PipelineColorBlendAttachmentStateBuilder
fn default() -> PipelineColorBlendAttachmentStateBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PipelineColorBlendAttachmentStateBuilder
impl RefUnwindSafe for PipelineColorBlendAttachmentStateBuilder
impl Send for PipelineColorBlendAttachmentStateBuilder
impl Sync for PipelineColorBlendAttachmentStateBuilder
impl Unpin for PipelineColorBlendAttachmentStateBuilder
impl UnwindSafe for PipelineColorBlendAttachmentStateBuilder
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