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

23 lines
536 B
C#
Raw Normal View History

2021-09-27 12:42:46 +00:00
using System.IO;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.Compression.BSA.FO4Archive;
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
}
}