Exemplo n.º 1
0
        /// <summary>
        /// reload an effect including resources
        /// </summary>
        public unsafe void Reload(bool isResourceReloaded)
        {
            if (isResourceReloaded)
            {
                native.InvalidateTextureCache();
            }

            native.StopEffect();

            native.RemoveEffect();

            Export();

            SetRandomSeed(random_seed);
            native.PlayEffect();
            StepEffectFrame((int)Current);
        }
Exemplo n.º 2
0
 public void InvalidateTextureCache()
 {
     native.InvalidateTextureCache();
 }