/// <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); }
public void InvalidateTextureCache() { native.InvalidateTextureCache(); }