pub struct ColorBlendAttachmentState {
pub blend_enable: bool,
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,
}Fields§
§blend_enable: bool§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: ColorComponentFlagsImplementations§
Source§impl ColorBlendAttachmentState
impl ColorBlendAttachmentState
pub fn default() -> Self
pub fn with_blend_enable(self, enable: bool) -> Self
pub fn with_src_color_blend_factor(self, factor: BlendFactor) -> Self
pub fn with_dst_color_blend_factor(self, factor: BlendFactor) -> Self
pub fn with_color_blend_op(self, op: BlendOp) -> Self
pub fn with_src_alpha_blend_factor(self, factor: BlendFactor) -> Self
pub fn with_dst_alpha_blend_factor(self, factor: BlendFactor) -> Self
pub fn with_alpha_blend_op(self, op: BlendOp) -> Self
pub fn with_color_write_mask(self, mask: ColorComponentFlags) -> Self
Auto Trait Implementations§
impl Freeze for ColorBlendAttachmentState
impl RefUnwindSafe for ColorBlendAttachmentState
impl Send for ColorBlendAttachmentState
impl Sync for ColorBlendAttachmentState
impl Unpin for ColorBlendAttachmentState
impl UnsafeUnpin for ColorBlendAttachmentState
impl UnwindSafe for ColorBlendAttachmentState
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