1 2 3 4 5 6 7 8 9 10 11 12 13
pub use gfx::preset::blend::{ALPHA, REPLACE}; pub use gfx_core::state::{Blend, BlendChannel, BlendValue, ColorMask, Equation, Factor}; use amethyst_core::specs::prelude::Component; use amethyst_core::specs::storage::NullStorage; /// Transparent mesh component #[derive(Clone, Debug, Default)] pub struct Transparent; impl Component for Transparent { type Storage = NullStorage<Self>; }