Exemple #1
0
 public void DetachOutPut(Geometry3D Geometry, bool IsPing)
 {
     if (IsPing)
     {
         if (OutputGeometries3DPing.ContainsKey(Geometry))
         {
             OutputGeometries3DPing.Remove(Geometry);
         }
     }
     else
     {
         if (OutputGeometries3DPong.ContainsKey(Geometry))
         {
             OutputGeometries3DPong.Remove(Geometry);
         }
     }
 }
Exemple #2
0
 public void AttachOutPut(string ShaderParameterName, Geometry3D Geometry, bool IsPing)
 {
     if (IsPing)
     {
         if (!OutputGeometries3DPing.ContainsKey(Geometry))
         {
             OutputGeometries3DPing.Add(Geometry, ShaderParameterName);
         }
     }
     else
     {
         if (!OutputGeometries3DPong.ContainsKey(Geometry))
         {
             OutputGeometries3DPong.Add(Geometry, ShaderParameterName);
         }
     }
 }