mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-07-19 08:41:49 -05:00
Remove unused
This commit is contained in:
parent
3ac8d19b86
commit
95dd4fd2fc
|
|
@ -9,7 +9,6 @@ namespace VRMShaders
|
|||
public class TextureFactory : IResponsibilityForDestroyObjects
|
||||
{
|
||||
private readonly IReadOnlyDictionary<SubAssetKey, Texture> _externalMap;
|
||||
private readonly Dictionary<SubAssetKey, Texture> _temporaryTextures = new Dictionary<SubAssetKey, Texture>();
|
||||
private readonly Dictionary<SubAssetKey, Texture> _textureCache = new Dictionary<SubAssetKey, Texture>();
|
||||
|
||||
public ITextureDeserializer TextureDeserializer { get; }
|
||||
|
|
@ -32,11 +31,6 @@ namespace VRMShaders
|
|||
|
||||
public void Dispose()
|
||||
{
|
||||
foreach (var kv in _temporaryTextures)
|
||||
{
|
||||
UnityObjectDestoyer.DestroyRuntimeOrEditor(kv.Value);
|
||||
}
|
||||
_temporaryTextures.Clear();
|
||||
_textureCache.Clear();
|
||||
}
|
||||
|
||||
|
|
@ -134,8 +128,6 @@ namespace VRMShaders
|
|||
default:
|
||||
throw new ArgumentOutOfRangeException();
|
||||
}
|
||||
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user