Пример #1
0
        public static void RemovePostProcess(string Name)
        {
            RenderEffect RE = PostProcess[Name];

            PostProcess.Remove(Name);
            RE.Dispose();
        }
Пример #2
0
        public static void RemoveRendererEffect(string Name)
        {
            RenderEffect RE = RenderEffects[Name];

            RenderEffects.Remove(Name);
            RE.Dispose();
        }
Пример #3
0
 public static void AddPostProcess(RenderEffect RE, string Name)
 {
     if (!PostProcess.ContainsKey(Name))
     {
         PostProcess.Add(Name, RE);
     }
     else
     {
         PostProcess[Name] = RE;
     }
 }
Пример #4
0
 public static void AddRendererEffect(RenderEffect RE, string Name)
 {
     if (!RenderEffects.ContainsKey(Name))
     {
         RenderEffects.Add(Name, RE);
     }
     else
     {
         RenderEffects[Name] = RE;
     }
 }
Пример #5
0
 public static void AddPostProcess(RenderEffect RE, string Name)
 {
     if (!PostProcess.ContainsKey(Name))
         PostProcess.Add(Name, RE);
     else
         PostProcess[Name] = RE;
 }
Пример #6
0
 public static void AddRendererEffect(RenderEffect RE, string Name)
 {
     if(!RenderEffects.ContainsKey(Name))
         RenderEffects.Add(Name, RE);
     else
         RenderEffects[Name] = RE;
 }