From 7572ce5dedb04c193f8fcc0c00945d45ddbfa64a Mon Sep 17 00:00:00 2001 From: ousttrue Date: Thu, 9 Feb 2023 19:01:29 +0900 Subject: [PATCH] Func<(Texture2D, bool IsDisposable)> --- .../GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs b/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs index d15f1a4a3..45aeac9a4 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/Texture/Exporter/TextureExportParam.cs @@ -12,9 +12,11 @@ namespace VRMShaders public float OptionFactor { get; } public bool NeedsAlpha { get; set; } - public Func<(Texture2D Texture, bool IsDisposable)> Creator { get; set; } + public Func<(Texture2D, bool IsDisposable)> Creator { get; set; } - public TextureExportParam(TextureExportTypes exportType, ColorSpace exportColorSpace, Texture primaryTexture, Texture secondaryTexture, float optionFactor, bool needsAlpha, Func<(Texture2D, bool)> creator) + public TextureExportParam(TextureExportTypes exportType, ColorSpace exportColorSpace, + Texture primaryTexture, Texture secondaryTexture, float optionFactor, bool needsAlpha, + Func<(Texture2D, bool IsDisposable)> creator) { ExportType = exportType; ExportColorSpace = exportColorSpace;