#[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
Native structure VkPipelineColorBlendAttachmentState.
Fields§
§blend_enable: Bool32Native field blendEnable.
src_color_blend_factor: BlendFactorNative field srcColorBlendFactor.
dst_color_blend_factor: BlendFactorNative field dstColorBlendFactor.
color_blend_op: BlendOpNative field colorBlendOp.
src_alpha_blend_factor: BlendFactorNative field srcAlphaBlendFactor.
dst_alpha_blend_factor: BlendFactorNative field dstAlphaBlendFactor.
alpha_blend_op: BlendOpNative field alphaBlendOp.
color_write_mask: ColorComponentFlagsNative field colorWriteMask.
Implementations§
Source§impl PipelineColorBlendAttachmentState
impl PipelineColorBlendAttachmentState
Sourcepub fn set_blend_enable(self, value: Bool32) -> Self
pub fn set_blend_enable(self, value: Bool32) -> Self
Set native field blendEnable without native effects.
Sourcepub fn set_src_color_blend_factor(self, value: BlendFactor) -> Self
pub fn set_src_color_blend_factor(self, value: BlendFactor) -> Self
Set native field srcColorBlendFactor without native effects.
Sourcepub fn set_dst_color_blend_factor(self, value: BlendFactor) -> Self
pub fn set_dst_color_blend_factor(self, value: BlendFactor) -> Self
Set native field dstColorBlendFactor without native effects.
Sourcepub fn set_color_blend_op(self, value: BlendOp) -> Self
pub fn set_color_blend_op(self, value: BlendOp) -> Self
Set native field colorBlendOp without native effects.
Sourcepub fn set_src_alpha_blend_factor(self, value: BlendFactor) -> Self
pub fn set_src_alpha_blend_factor(self, value: BlendFactor) -> Self
Set native field srcAlphaBlendFactor without native effects.
Sourcepub fn set_dst_alpha_blend_factor(self, value: BlendFactor) -> Self
pub fn set_dst_alpha_blend_factor(self, value: BlendFactor) -> Self
Set native field dstAlphaBlendFactor without native effects.
Sourcepub fn set_alpha_blend_op(self, value: BlendOp) -> Self
pub fn set_alpha_blend_op(self, value: BlendOp) -> Self
Set native field alphaBlendOp without native effects.
Sourcepub fn set_color_write_mask(self, value: ColorComponentFlags) -> Self
pub fn set_color_write_mask(self, value: ColorComponentFlags) -> Self
Set native field colorWriteMask without native effects.
Trait Implementations§
impl Copy for PipelineColorBlendAttachmentState
Auto Trait Implementations§
impl Forget for PipelineColorBlendAttachmentState
impl Freeze for PipelineColorBlendAttachmentState
impl Move for PipelineColorBlendAttachmentState
impl RefUnwindSafe for PipelineColorBlendAttachmentState
impl Send for PipelineColorBlendAttachmentState
impl Sync for PipelineColorBlendAttachmentState
impl Unpin for PipelineColorBlendAttachmentState
impl UnsafeUnpin 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