Add support for swizzled Switch textures

Co-Authored-By: nesrak1 <[email protected]>
This commit is contained in:
VaDiM
2024-03-09 02:35:23 +03:00
co-authored by nesrak1
parent 4cd246592b
commit ae4548f1c3
5 changed files with 233 additions and 27 deletions
+2
View File
@@ -932,6 +932,8 @@ namespace AssetStudioGUI
}
}
}
var switchSwizzled = m_Texture2D.m_PlatformBlob.Length != 0;
assetItem.InfoText += assetItem.Asset.platform == BuildTarget.Switch ? $"\nUses texture swizzling: {switchSwizzled}" : "";
PreviewTexture(bitmap);
StatusStripUpdate("'Ctrl'+'R'/'G'/'B'/'A' for Channel Toggle");