#[repr(u8)]pub enum AlphaCtrl {
EMBEDDED = 0,
OVERRIDE = 1,
MULTIPLY = 2,
ROPS = 3,
}Variants§
EMBEDDED = 0
Indicates that the AS pixel alpha value will be used to blend the AS with PS. The ALPHA field is ignored.
OVERRIDE = 1
Indicates that the value in the ALPHA field should be used instead of the alpha values present in the input pixels.
MULTIPLY = 2
Indicates that the value in the ALPHA field should be used to scale all pixel alpha values. Each pixel alpha is multiplied by the value in the ALPHA field.
ROPS = 3
Enable ROPs. The ROP field indicates an operation to be performed on the alpha surface and PS pixels.
Implementations§
Trait Implementations§
Source§impl Ord for AlphaCtrl
impl Ord for AlphaCtrl
Source§impl PartialOrd for AlphaCtrl
impl PartialOrd for AlphaCtrl
impl Copy for AlphaCtrl
impl Eq for AlphaCtrl
impl StructuralPartialEq for AlphaCtrl
Auto Trait Implementations§
impl Freeze for AlphaCtrl
impl RefUnwindSafe for AlphaCtrl
impl Send for AlphaCtrl
impl Sync for AlphaCtrl
impl Unpin for AlphaCtrl
impl UnwindSafe for AlphaCtrl
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