Enum ParticleBlend
pub enum ParticleBlend {
Opaque,
Translucent,
}Expand description
How a ParticleGroup’s particles blend: the layer they draw on, which decides their order
against the translucent terrain (SingleQuadParticle.Layer).
Variants§
Opaque
SingleQuadParticle.Layer.OPAQUE: drawn with the terrain, writing depth; the sprite’s
transparent texels are cut out.
Translucent
SingleQuadParticle.Layer.TRANSLUCENT: drawn after the translucent terrain, blended by
each particle’s alpha.
Trait Implementations§
§impl Clone for ParticleBlend
impl Clone for ParticleBlend
§fn clone(&self) -> ParticleBlend
fn clone(&self) -> ParticleBlend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParticleBlend
§impl Debug for ParticleBlend
impl Debug for ParticleBlend
impl Eq for ParticleBlend
§impl PartialEq for ParticleBlend
impl PartialEq for ParticleBlend
impl StructuralPartialEq for ParticleBlend
Auto Trait Implementations§
impl Freeze for ParticleBlend
impl RefUnwindSafe for ParticleBlend
impl Send for ParticleBlend
impl Sync for ParticleBlend
impl Unpin for ParticleBlend
impl UnsafeUnpin for ParticleBlend
impl UnwindSafe for ParticleBlend
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