Struct ash::vk::definitions::PipelineColorBlendAttachmentState
source · #[repr(C)]pub struct PipelineColorBlendAttachmentState {
pub blend_enable: Bool32,
pub src_color_blend_factor: BlendFactor,
pub dst_color_blend_factor: BlendFactor,
pub color_blend_op: BlendOp,
pub src_alpha_blend_factor: BlendFactor,
pub dst_alpha_blend_factor: BlendFactor,
pub alpha_blend_op: BlendOp,
pub color_write_mask: ColorComponentFlags,
}
Expand description
Fields§
§blend_enable: Bool32
§src_color_blend_factor: BlendFactor
§dst_color_blend_factor: BlendFactor
§color_blend_op: BlendOp
§src_alpha_blend_factor: BlendFactor
§dst_alpha_blend_factor: BlendFactor
§alpha_blend_op: BlendOp
§color_write_mask: ColorComponentFlags
Implementations§
source§impl PipelineColorBlendAttachmentState
impl PipelineColorBlendAttachmentState
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
Trait Implementations§
source§impl Clone for PipelineColorBlendAttachmentState
impl Clone for PipelineColorBlendAttachmentState
source§fn clone(&self) -> PipelineColorBlendAttachmentState
fn clone(&self) -> PipelineColorBlendAttachmentState
Returns a copy 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 PipelineColorBlendAttachmentState
impl Default for PipelineColorBlendAttachmentState
source§fn default() -> PipelineColorBlendAttachmentState
fn default() -> PipelineColorBlendAttachmentState
Returns the “default value” for a type. Read more
impl Copy for PipelineColorBlendAttachmentState
Auto Trait Implementations§
impl Freeze for PipelineColorBlendAttachmentState
impl RefUnwindSafe for PipelineColorBlendAttachmentState
impl Send for PipelineColorBlendAttachmentState
impl Sync for PipelineColorBlendAttachmentState
impl Unpin for PipelineColorBlendAttachmentState
impl UnwindSafe for PipelineColorBlendAttachmentState
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