示例#1
0
        public void LoadMipMapData(BinaryReaderEx reader)
        {
            this.MipMapData = new List <MipMapData>(this.Header.MipMapCount);

            for (var i = 0; i < this.NumLayers; i++)
            {
                MipMapData mipData = new MipMapData();
                mipData.Offset = reader.ReadUInt32(Endianness.BigEndian);
                mipData.Length = reader.ReadInt32(Endianness.BigEndian);

                this.MipMapData.Add(mipData);
            }
        }
示例#2
0
        public void LoadMipMapData(BinaryReaderEx reader)
        {
            this.MipMapData = new List<MipMapData>(this.Header.MipMapCount);

            for (var i = 0; i < this.NumLayers; i++)
            {
                MipMapData mipData = new MipMapData();
                mipData.Offset = reader.ReadUInt32(Endianness.BigEndian);
                mipData.Length = reader.ReadInt32(Endianness.BigEndian);

                this.MipMapData.Add(mipData);
            }
        }