public static void RemovePostProcess(string Name) { RenderEffect RE = PostProcess[Name]; PostProcess.Remove(Name); RE.Dispose(); }
public static void RemoveRendererEffect(string Name) { RenderEffect RE = RenderEffects[Name]; RenderEffects.Remove(Name); RE.Dispose(); }
public static void AddPostProcess(RenderEffect RE, string Name) { if (!PostProcess.ContainsKey(Name)) { PostProcess.Add(Name, RE); } else { PostProcess[Name] = RE; } }
public static void AddRendererEffect(RenderEffect RE, string Name) { if (!RenderEffects.ContainsKey(Name)) { RenderEffects.Add(Name, RE); } else { RenderEffects[Name] = RE; } }
public static void AddPostProcess(RenderEffect RE, string Name) { if (!PostProcess.ContainsKey(Name)) PostProcess.Add(Name, RE); else PostProcess[Name] = RE; }
public static void AddRendererEffect(RenderEffect RE, string Name) { if(!RenderEffects.ContainsKey(Name)) RenderEffects.Add(Name, RE); else RenderEffects[Name] = RE; }