pub struct ColorBlendAdvancedEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ColorBlendAdvancedEXTBuilder<'a>
impl<'a> ColorBlendAdvancedEXTBuilder<'a>
pub fn advanced_blend_op(self, advanced_blend_op: BlendOp) -> Self
pub fn src_premultiplied(self, src_premultiplied: bool) -> Self
pub fn dst_premultiplied(self, dst_premultiplied: bool) -> Self
pub fn blend_overlap(self, blend_overlap: BlendOverlapEXT) -> Self
pub fn clamp_results(self, clamp_results: bool) -> Self
Sourcepub fn build(self) -> ColorBlendAdvancedEXT
pub fn build(self) -> ColorBlendAdvancedEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for ColorBlendAdvancedEXTBuilder<'a>
impl<'a> Deref for ColorBlendAdvancedEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ColorBlendAdvancedEXTBuilder<'a>
impl<'a> RefUnwindSafe for ColorBlendAdvancedEXTBuilder<'a>
impl<'a> Send for ColorBlendAdvancedEXTBuilder<'a>
impl<'a> Sync for ColorBlendAdvancedEXTBuilder<'a>
impl<'a> Unpin for ColorBlendAdvancedEXTBuilder<'a>
impl<'a> UnwindSafe for ColorBlendAdvancedEXTBuilder<'a>
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