wabbajack/Wabbajack.Compression.BSA/BA2Archive/TextureChunk.cs

23 lines
536 B
C#
Raw Permalink Normal View History

2021-09-27 12:42:46 +00:00
using System.IO;
namespace Wabbajack.Compression.BSA.BA2Archive;
2021-10-23 16:51:17 +00:00
public class TextureChunk
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
internal uint _align;
internal ushort _endMip;
internal uint _fullSz;
internal ulong _offset;
internal uint _packSz;
internal ushort _startMip;
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
public TextureChunk(BinaryReader rdr)
{
_offset = rdr.ReadUInt64();
_packSz = rdr.ReadUInt32();
_fullSz = rdr.ReadUInt32();
_startMip = rdr.ReadUInt16();
_endMip = rdr.ReadUInt16();
_align = rdr.ReadUInt32();
2021-09-27 12:42:46 +00:00
}
}