#[repr(C)]pub struct ColorBlendEquationEXT {
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,
}Expand description
Native structure VkColorBlendEquationEXT.
Fields§
§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.
Implementations§
Source§impl ColorBlendEquationEXT
impl ColorBlendEquationEXT
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.
Trait Implementations§
Source§impl Clone for ColorBlendEquationEXT
impl Clone for ColorBlendEquationEXT
impl Copy for ColorBlendEquationEXT
Auto Trait Implementations§
impl Forget for ColorBlendEquationEXT
impl Freeze for ColorBlendEquationEXT
impl Move for ColorBlendEquationEXT
impl RefUnwindSafe for ColorBlendEquationEXT
impl Send for ColorBlendEquationEXT
impl Sync for ColorBlendEquationEXT
impl Unpin for ColorBlendEquationEXT
impl UnsafeUnpin for ColorBlendEquationEXT
impl UnwindSafe for ColorBlendEquationEXT
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