2021-10-23 16:51:17 +00:00
|
|
|
namespace Wabbajack.DTOs.Texture;
|
|
|
|
|
|
|
|
public class ImageState
|
2021-09-27 12:42:46 +00:00
|
|
|
{
|
2021-10-23 16:51:17 +00:00
|
|
|
public int Width { get; set; }
|
|
|
|
public int Height { get; set; }
|
|
|
|
public DXGI_FORMAT Format { get; set; }
|
|
|
|
public PHash PerceptualHash { get; set; }
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2023-01-28 21:42:23 +00:00
|
|
|
public int MipLevels { get; set; }
|
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
public override string ToString()
|
|
|
|
{
|
2023-01-28 21:42:23 +00:00
|
|
|
return $"ImageState<{Width}, {Height}, {Format}, {MipLevels} levels>";
|
2021-09-27 12:42:46 +00:00
|
|
|
}
|
|
|
|
}
|