diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs b/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs index df584c6a6..d15f1a4a3 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs @@ -12,7 +12,7 @@ namespace VRMShaders public float OptionFactor { get; } public bool NeedsAlpha { get; set; } - public Func<(Texture2D, bool)> Creator { get; set; } + public Func<(Texture2D Texture, bool IsDisposable)> Creator { get; set; } public TextureExportParam(TextureExportTypes exportType, ColorSpace exportColorSpace, Texture primaryTexture, Texture secondaryTexture, float optionFactor, bool needsAlpha, Func<(Texture2D, bool)> creator) {