예제 #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;
 }