pub enum AlphaMode {
Opaque,
Mask,
Blend,
}Expand description
glTF alpha composition mode.
Variants§
Opaque
Draws fully opaque without alpha testing or blending.
Mask
Discards fragments below Material::alpha_cutoff.
Blend
Uses alpha blending for translucent fragments.
Trait Implementations§
impl Copy for AlphaMode
impl Eq for AlphaMode
impl StructuralPartialEq for AlphaMode
Auto Trait Implementations§
impl Freeze for AlphaMode
impl RefUnwindSafe for AlphaMode
impl Send for AlphaMode
impl Sync for AlphaMode
impl Unpin for AlphaMode
impl UnsafeUnpin 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