public void Import(string FileName, ResFile ResFile, ShaderParamAnimType ParamAnimType)
 {
     using (ResFileLoader loader = new ResFileLoader(this, ResFile, FileName))
     {
         loader.ImportSection();
     }
 }
 public void Export(string FileName, ResFile ResFile, ShaderParamAnimType ParamAnimType)
 {
     using (ResFileSaver saver = new ResFileSaver(this, ResFile, FileName))
     {
         saver.ExportSection(ParamAnimType);
     }
 }
 internal void ExportSection(ShaderParamAnimType ParamAnimType)
 {
     if (ParamAnimType == ShaderParamAnimType.ShaderParameter)
     {
         WriteHeader("fresSUB", "FSHUPRMA");
         ((IResData)ExportableData).Save(this);
     }
     else if (ParamAnimType == ShaderParamAnimType.Color)
     {
         WriteHeader("fresSUB", "FSHUCLRA");
         ((IResData)ExportableData).Save(this);
     }
     else if (ParamAnimType == ShaderParamAnimType.TextureSRT)
     {
         WriteHeader("fresSUB", "FSHUSRTA");
         ((IResData)ExportableData).Save(this);
     }
 }