Func<(Texture2D, bool IsDisposable)>

This commit is contained in:
ousttrue 2023-02-09 19:01:29 +09:00
parent 04f409aa1f
commit 7572ce5ded

View File

@ -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;