pub enum OutputAlphaMode {
Straight,
Premultiplied,
}Expand description
Output alpha encoding emitted by CompositeFinalizePipeline.
Variants§
Straight
Emit straight (unpremultiplied) RGB + A, zeroing RGB when alpha <= 1e-5.
Premultiplied
Emit premultiplied RGB + A directly into the destination attachment.
Trait Implementations§
Source§impl Clone for OutputAlphaMode
impl Clone for OutputAlphaMode
impl Copy for OutputAlphaMode
Source§impl Debug for OutputAlphaMode
impl Debug for OutputAlphaMode
Source§impl Default for OutputAlphaMode
impl Default for OutputAlphaMode
impl Eq for OutputAlphaMode
Source§impl PartialEq for OutputAlphaMode
impl PartialEq for OutputAlphaMode
impl StructuralPartialEq for OutputAlphaMode
Auto Trait Implementations§
impl Forget for OutputAlphaMode
impl Freeze for OutputAlphaMode
impl Move for OutputAlphaMode
impl RefUnwindSafe for OutputAlphaMode
impl Send for OutputAlphaMode
impl Sync for OutputAlphaMode
impl Unpin for OutputAlphaMode
impl UnsafeUnpin for OutputAlphaMode
impl UnwindSafe for OutputAlphaMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.