예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="propertyName"></param>
 public static void RemoveShaderProperty(string propertyName)
 {
     if (ShaderPropertys.ContainsKey(propertyName))
     {
         ShaderPropertys.Remove(propertyName);
     }
 }
예제 #2
0
        //private Dictionary<int,Mesh> _meshes = new Dictionary<int, Mesh>();
        //private delegate byte[] EncoderComponentFunction(object data);

        #region Methods

        /// <summary>
        ///
        /// </summary>
        /// <param name="propertyName"></param>
        /// <param name="propertyType"></param>
        public static void AddShaderProperty(string propertyName, string propertyType)
        {
            if (!ShaderPropertys.ContainsKey(propertyName))
            {
                ShaderPropertys.Add(propertyName, propertyType);
            }
        }