public void WriteEffect(XGEffect effect)
        {
            int v = effect.EffectValue;

            EffectType.WriteValue(v & 0x7f | v >> 1 & 0x3f80);
            ReLink();
            for (int i = 0; i < 16; i++)
            {
                efctParams[i].WriteValue(effect.InitialValues[i]);
            }
        }