mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
7b46a88fc0
* Fix BA2 compilation errors by implementing mipmap detection and usage during texture recompression * Update CHANGELOG.md * Fix broken mipmap support on Linux/OSX
16 lines
393 B
C#
16 lines
393 B
C#
namespace Wabbajack.DTOs.Texture;
|
|
|
|
public class ImageState
|
|
{
|
|
public int Width { get; set; }
|
|
public int Height { get; set; }
|
|
public DXGI_FORMAT Format { get; set; }
|
|
public PHash PerceptualHash { get; set; }
|
|
|
|
public int MipLevels { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"ImageState<{Width}, {Height}, {Format}, {MipLevels} levels>";
|
|
}
|
|
} |