pub enum AlphaMode {
Opaque = 1,
Mask = 2,
Blend = 3,
}
Expand description
The alpha rendering mode of a material.
Variants§
Opaque = 1
The alpha value is ignored and the rendered output is fully opaque.
Mask = 2
The rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alpha cutoff value.
Blend = 3
The alpha value is used, to determine the transparency of the rendered output. The alpha cutoff value is ignored.
Trait Implementations§
source§impl PartialEq for AlphaMode
impl PartialEq for AlphaMode
impl Copy for AlphaMode
impl Eq for AlphaMode
impl StructuralEq for AlphaMode
impl StructuralPartialEq for AlphaMode
Auto Trait Implementations§
impl RefUnwindSafe for AlphaMode
impl Send for AlphaMode
impl Sync for AlphaMode
impl Unpin for AlphaMode
impl UnwindSafe for AlphaMode
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