Reprocess, load and hot swap changed assets using new asset pipeline

This commit is contained in:
Simon Lübeß
2024-06-02 00:39:22 +02:00
parent 9e7e7f0d76
commit b2806d9460
10 changed files with 153 additions and 56 deletions
@@ -222,6 +222,7 @@ class TextureImporter : IAssetImporter
}
}
[BonTarget]
enum GenerateMipMaps
{
No,
@@ -717,7 +718,10 @@ class TextureLoader : IProcessedAssetLoader
Runtime.NotImplemented();
}
result.SamplerState = SamplerStateManager.GetSampler(sampler);
using (SamplerState samplerState = SamplerStateManager.GetSampler(sampler))
{
result.SamplerState = samplerState;
}
return result;
}