diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/ITextureExporter.cs b/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/ITextureExporter.cs index e6bb6f0a0..bb132fcae 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/ITextureExporter.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/ITextureExporter.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System; using UnityEngine; namespace VRMShaders @@ -8,7 +8,7 @@ namespace VRMShaders /// /// glTF 拡張で Texture の用途を増やす必要がある場合は、この interface を継承して実装すればよい。 /// - public interface ITextureExporter + public interface ITextureExporter: IDisposable { /// /// 指定の Texture を、 sRGB 色空間の値を持つ Texture に出力するように指示する。 diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExporter.cs b/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExporter.cs index 3b4229dc6..d2f1da2df 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExporter.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExporter.cs @@ -8,7 +8,7 @@ namespace VRMShaders /// glTF にエクスポートする変換方式を蓄えて index を確定させる。 /// Exporter の最後で Export() でまとめて変換する。 /// - public sealed class TextureExporter : IDisposable, ITextureExporter + public sealed class TextureExporter : ITextureExporter { private readonly ITextureSerializer _textureSerializer; private readonly List _exportingList = new List();