public override void ToResource(ErpResource resource)
        {
            Fragment0.ToFragment(resource.GetFragment("temp", 0));
            Fragment1.ToFragment(resource.GetFragment("temp", 1));

            ErpFragment mipsFragment = resource.TryGetFragment("mips", 0);

            if (mipsFragment != null)
            {
                Frag2.ToFragment(mipsFragment);
            }
        }
 public override void ToResource(ErpResource resource)
 {
     Fragment0.ToFragment(resource.GetFragment("temp", 0));
     SurfaceRes.ToResource(resource.ParentFile.FindResource(Fragment0.SurfaceResourceName));
 }