//! Transfer Mode type.

impl Default for TransferMode
{
   fn default() -> Self {TransferMode::Normal}
}

c_enum! {
   /// A rendering style for many things.
   #[cfg_attr(feature = "serde_obj", derive(serde::Serialize))]
   #[derive(Debug)]
   pub enum TransferMode: u16
   {
      Normal        = 0,
      FadeBlack     = 1,
      Invisibility  = 2,
      Invisibility2 = 3,
      Pulsate       = 4,
      Wobble        = 5,
      Wobble2       = 6,
      Static        = 7,
      Static2       = 8,
      Sky           = 9,
      Smear         = 10,
      StaticFade    = 11,
      StaticPulse   = 12,
      FoldIn        = 13,
      FoldOut       = 14,
      SlideHorz     = 15,
      SlideHorz2    = 16,
      SlideVert     = 17,
      SlideVert2    = 18,
      Wander        = 19,
      Wander2       = 20,
      BigSky        = 21,
   }
}

// EOF
