From 04f409aa1f6e6ab48b336bdb661ff9223e9e3bcc Mon Sep 17 00:00:00 2001 From: ousttrue Date: Thu, 26 Jan 2023 15:24:25 +0900 Subject: [PATCH] (Texture2D Texture, bool IsDisposable) --- .../GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {